Class StringPropEditor

    • Constructor Detail

      • StringPropEditor

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

      • create

        protected void create()
        Creates the property editor controls.
        Specified by:
        create in class BaseEditor<StringProp,​java.lang.String>
      • 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<StringProp,​java.lang.String>
      • getToolTipText2

        protected java.lang.String getToolTipText2()
        Gets the tooltip text to display in the entry fields (not the one for property errors).
        Overrides:
        getToolTipText2 in class BaseEditor<StringProp,​java.lang.String>
      • doUndefineIfEmpty

        protected boolean doUndefineIfEmpty​(boolean focusLost)
        Keeps empty strings as defined, when input has been changed specifically to empty string, or if the entry was defined when editing began.
        Overrides:
        doUndefineIfEmpty in class BaseEditor<StringProp,​java.lang.String>
      • getValue

        protected java.lang.String getValue​(java.lang.String input)
        Gets the property value for a user input.
        Specified by:
        getValue in class BaseEditor<StringProp,​java.lang.String>
        Parameters:
        input - The current user input.
        Returns:
        The property value for the input, or null to un-define the property.