Class ThemesPropEditor

    • Constructor Detail

      • ThemesPropEditor

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

      • setColors

        protected void setColors​(org.eclipse.swt.widgets.Control... additional)
        Sets the colors for the controls depending on error, focus and define state.
        setColors in class BaseEditor<ThemesProp,​GThemes>
      • onDoubleClick

        protected void onDoubleClick​(org.eclipse.swt.widgets.Event e)
        Called when mouse is double-clicked in the text or combobox. Overridden to check if Goto reference is enabled, and if so goes there.
        onDoubleClick in class BaseEditor<ThemesProp,​GThemes>
      • onMore

        public void onMore()
        Called when the "more..." button is pressed. Override to display dialog box.
        onMore in class BaseEditor<ThemesProp,​GThemes>
      • 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<ThemesProp,​GThemes>
      • getValue

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

        public void mouseDoubleClick​( e)
        Double-click on preview or text displays color chooser.
        Specified by:
        mouseDoubleClick in interface
        e -
      • mouseDown

        public void mouseDown​( e)
        Mouse down.
        Specified by:
        mouseDown in interface
      • mouseUp

        public void mouseUp​( e)
        Mouse up, not processed.
        Specified by:
        mouseUp in interface