Class BoolPropEditor

    • Field Detail

      • defaultValue

        protected boolean defaultValue
        The default value.
      • button

        protected org.eclipse.swt.widgets.Button button
        The button.
    • Constructor Detail

      • BoolPropEditor

        public BoolPropEditor()
        Default constructor called before createControls.
    • Method Detail

      • create

        protected void create()
        Creates the property editor controls.
        Specified by:
        create in class BaseEditor<BoolProp,​java.lang.Boolean>
      • getToolTipText

        protected java.lang.String getToolTipText()
        Gets the tooltip text to display in the entry fields (not the one for property errors or validator).
        Specified by:
        getToolTipText in class BaseEditor<BoolProp,​java.lang.Boolean>
      • getValue

        protected java.lang.Boolean getValue​(java.lang.String input)
                                      throws java.lang.Exception
        Gets the property value for a user input.
        Specified by:
        getValue in class BaseEditor<BoolProp,​java.lang.Boolean>
        input - The current user input.
        The property value for the input, or null to un-define the property.
        java.lang.Exception - For validation errors.
      • onError

        public void onError​(java.lang.String input,
                            java.lang.String message,
                            int severity,
                            boolean isMultipleValueWarning,
                            boolean isChildError)
        Called when the property is updated due to an error.
        Specified by:
        onError in interface IEditedPropControllerOwner<BoolProp,​java.lang.Boolean>
        onError in class BaseEditor<BoolProp,​java.lang.Boolean>
      • widgetSelected

        public void widgetSelected​( e)
        Checkbox pressed.
        Specified by:
        widgetSelected in interface
      • widgetDefaultSelected

        public void widgetDefaultSelected​( e)
        Not processed.
        Specified by:
        widgetDefaultSelected in interface
      • setColors

        protected void setColors​(org.eclipse.swt.widgets.Control... additional)
        Adds label to color.
        setColors in class BaseEditor<BoolProp,​java.lang.Boolean>