|
|||||||||
| 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
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, VDomainModelReference)) for creating a suitable
control for with the known widgets.
| Field Summary | |
|---|---|
static ControlFactoryImpl |
INSTANCE
The Singleton for accessing the ControlFactoryImpl. |
| Constructor Summary | |
|---|---|
ControlFactoryImpl()
Constructor which reads the extension points. |
|
| Method Summary | ||
|---|---|---|
|
createControl(Class<T> controlType,
VDomainModelReference domainModelReference)
Creates an ECPAbstractControl based on a Class and the VDomainModelReference. |
|
|
createControl(String controlId)
Creates an ECPAbstractControl based on an id. |
|
Set<ECPControlDescription> |
getControlDescriptors()
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,
VDomainModelReference domainModelReference)
ECPAbstractControl based on a Class and the VDomainModelReference.
createControl in interface ECPControlFactoryT - the type of the control to returncontrolType - the type of the control to returndomainModelReference - the VDomainModelReference to use to identify the control
ECPControlFactory.createControl(java.lang.Class,
org.eclipse.emf.ecp.view.spi.model.VDomainModelReference)public <T> T createControl(String controlId)
ECPAbstractControl based on an id.
createControl in interface ECPControlFactoryT - 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 | ||||||||