Class StringPropEditor

    • Field Detail

      • descr

        protected java.lang.String descr
        The description text, null for none.
    • Constructor Detail

      • StringPropEditor

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

      • parseOptions

        protected void parseOptions()
        Parses the options.
      • 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).
        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.
        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>
        input - The current user input.
        The property value for the input, or null to un-define the property.