Class ControlFactoryImpl
- java.lang.Object
-
- org.eclipse.emf.ecp.internal.edit.ControlFactoryImpl
-
- All Implemented Interfaces:
ECPControlFactory
@Deprecated public final class ControlFactoryImpl extends java.lang.Object implements ECPControlFactory
Deprecated.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.- Author:
- Eugen Neufeld
-
-
Field Summary
Fields Modifier and Type Field Description static ControlFactoryImpl
INSTANCE
Deprecated.The Singleton for accessing the ControlFactoryImpl.
-
Constructor Summary
Constructors Constructor Description ControlFactoryImpl()
Deprecated.Constructor which reads the extension points.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> T
createControl(java.lang.Class<T> controlType, org.eclipse.emf.ecore.EObject domainModel, VDomainModelReference domainModelReference)
Deprecated.<T> T
createControl(java.lang.String controlId)
Deprecated.Creates anECPAbstractControl
based on an id.java.util.Set<ECPControlDescription>
getControlDescriptors()
Deprecated.A copy of all knownECPControlDescription
.
-
-
-
Field Detail
-
INSTANCE
public static final ControlFactoryImpl INSTANCE
Deprecated.The Singleton for accessing the ControlFactoryImpl.
-
-
Method Detail
-
createControl
public <T> T createControl(java.lang.Class<T> controlType, org.eclipse.emf.ecore.EObject domainModel, VDomainModelReference domainModelReference)
Deprecated.- Specified by:
createControl
in interfaceECPControlFactory
- Type Parameters:
T
- the type of the control to return- Parameters:
controlType
- the type of the control to returndomainModel
- The domain model object which is the root of the domain model referencedomainModelReference
- theVDomainModelReference
to use to identify the control- Returns:
- the found control or null
- See Also:
ECPControlFactory.createControl(java.lang.Class, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecp.view.spi.model.VDomainModelReference)
-
createControl
public <T> T createControl(java.lang.String controlId)
Deprecated.Creates anECPAbstractControl
based on an id.- Specified by:
createControl
in interfaceECPControlFactory
- Type Parameters:
T
- the type of the control to return- Parameters:
controlId
- the if of the control to return- Returns:
- the found control or null
- See Also:
ECPControlFactory.createControl(java.lang.String)
-
getControlDescriptors
public java.util.Set<ECPControlDescription> getControlDescriptors()
Deprecated.A copy of all knownECPControlDescription
.- Specified by:
getControlDescriptors
in interfaceECPControlFactory
- Returns:
- a copy of the set of all known controlDescriptions
-
-