Class 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 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 control
        showLabel - whether to show a label for this control or not
        tester - the class testing whether the control is applicable for the current feature of the current eobject
        id - 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 the ECPAbstractControl.
        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