|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.internal.edit.ControlFactoryImpl
@Deprecated public final class ControlFactoryImpl
The ControlFactoryImpl is a Singleton which reads the org.eclipse.emf.ecp.editor.widgets ExtensionPoint and provides
a method (createControl(Class, EObject, VDomainModelReference)
) for creating a suitable
control for with the known widgets.
Field Summary | |
---|---|
static ControlFactoryImpl |
INSTANCE
Deprecated. The Singleton for accessing the ControlFactoryImpl. |
Constructor Summary | |
---|---|
ControlFactoryImpl()
Deprecated. Constructor which reads the extension points. |
Method Summary | ||
---|---|---|
|
createControl(Class<T> controlType,
org.eclipse.emf.ecore.EObject domainModel,
VDomainModelReference domainModelReference)
Deprecated. Creates an ECPAbstractControl based on a Class and the VDomainModelReference . |
|
|
createControl(String controlId)
Deprecated. Creates an ECPAbstractControl based on an id. |
|
Set<ECPControlDescription> |
getControlDescriptors()
Deprecated. A copy of all known ECPControlDescription . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ControlFactoryImpl INSTANCE
Constructor Detail |
---|
public ControlFactoryImpl()
Method Detail |
---|
public <T> T createControl(Class<T> controlType, org.eclipse.emf.ecore.EObject domainModel, VDomainModelReference domainModelReference)
ECPAbstractControl
based on a Class
and the VDomainModelReference
.
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 control
ECPControlFactory.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 return
ECPControlFactory.createControl(java.lang.String)
public Set<ECPControlDescription> getControlDescriptors()
ECPControlDescription
.
getControlDescriptors
in interface ECPControlFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |