Package org.eclipse.emf.ecp.edit.spi
Class ECPControlDescription
- java.lang.Object
-
- org.eclipse.emf.ecp.edit.spi.ECPControlDescription
-
@Deprecated public final class ECPControlDescription extends java.lang.Object
Deprecated.This class describes the control extensionpoint. It is used to provide the possibility to access all known controls without reading the extension point.- Author:
- Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description ECPControlDescription(java.lang.String id, java.lang.Class<? extends ECPAbstractControl> controlClass, boolean showLabel, java.util.Set<ECPApplicableTester> tester)
Deprecated.The constructor of the ControlDescription.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Class<? extends ECPAbstractControl>
getControlClass()
Deprecated.The class implementing the Control.java.lang.String
getId()
Deprecated.The id of this control.java.util.Set<ECPApplicableTester>
getTester()
Deprecated.The tester for this control.boolean
isShowLabel()
Deprecated.Whether to show a label for this control or not.
-
-
-
Constructor Detail
-
ECPControlDescription
public ECPControlDescription(java.lang.String id, java.lang.Class<? extends ECPAbstractControl> controlClass, boolean showLabel, java.util.Set<ECPApplicableTester> tester)
Deprecated.The constructor of the ControlDescription.- Parameters:
controlClass
- the class implementing the controlshowLabel
- whether to show a label for this control or nottester
- the class testing whether the control is applicable for the current feature of the current eobjectid
- the id of the control that is being described
-
-
Method Detail
-
getId
public java.lang.String getId()
Deprecated.The id of this control.- Returns:
- the id of the control
-
getControlClass
public java.lang.Class<? extends ECPAbstractControl> getControlClass()
Deprecated.The class implementing the Control. It extends theECPAbstractControl
.- Returns:
- the class implementing this control
-
isShowLabel
public boolean isShowLabel()
Deprecated.Whether to show a label for this control or not.- Returns:
- true if a label should be shown
-
getTester
public java.util.Set<ECPApplicableTester> getTester()
Deprecated.The tester for this control. The tester is used to check whether this control is usable on a specific feature of a specific eobject.- Returns:
- the
ECPApplicableTester
implementation
-
-