@Deprecated public final class ControlFactoryImpl extends Object implements ECPControlFactory
createControl(Class, EObject, VDomainModelReference)
) for creating a suitable
control for with the known widgets.Modifier and Type | Field and Description |
---|---|
static ControlFactoryImpl |
INSTANCE
Deprecated.
The Singleton for accessing the ControlFactoryImpl.
|
Constructor and Description |
---|
ControlFactoryImpl()
Deprecated.
Constructor which reads the extension points.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
createControl(Class<T> controlType,
org.eclipse.emf.ecore.EObject domainModel,
VDomainModelReference domainModelReference)
Deprecated.
|
<T> T |
createControl(String controlId)
Deprecated.
Creates an
ECPAbstractControl based on an id. |
Set<ECPControlDescription> |
getControlDescriptors()
Deprecated.
A copy of all known
ECPControlDescription . |
public static final ControlFactoryImpl INSTANCE
public ControlFactoryImpl()
public <T> T createControl(Class<T> controlType, org.eclipse.emf.ecore.EObject domainModel, VDomainModelReference domainModelReference)
createControl
in interface ECPControlFactory
T
- the type of the control to returncontrolType
- the type of the control to returndomainModel
- The domain model object which is the root of the domain model referencedomainModelReference
- the VDomainModelReference
to use to identify the controlECPControlFactory.createControl(java.lang.Class, org.eclipse.emf.ecore.EObject,
org.eclipse.emf.ecp.view.spi.model.VDomainModelReference)
public <T> T createControl(String controlId)
ECPAbstractControl
based on an id.createControl
in interface ECPControlFactory
T
- the type of the control to returncontrolId
- the if of the control to returnECPControlFactory.createControl(java.lang.String)
public Set<ECPControlDescription> getControlDescriptors()
ECPControlDescription
.getControlDescriptors
in interface ECPControlFactory
Copyright © 2016. All rights reserved.