Class ConnectionProfilePropEditor

All Implemented Interfaces:
IThemeListener, IEditedPropControllerOwner<StringProp,String>, IEditedPropertyEntry<StringProp,String>, IEditedPropertyEntryMultiProp<StringProp,String>, IPropertyDefined, IDisposedPart

public class ConnectionProfilePropEditor extends StringPropEditor
Connection profile property editor.
Author:
Christopher Mindus
  • Constructor Details

    • ConnectionProfilePropEditor

      public ConnectionProfilePropEditor()
  • Method Details

    • create

      protected void create()
      Creates the property editor controls.
      Overrides:
      create in class StringPropEditor
    • onMore

      public void onMore()
      Display the dialog box.
      Overrides:
      onMore in class BaseEditor<StringProp,String>
    • getToolTipText

      protected String getToolTipText()
      Gets the tooltip text to display in the entry fields (not the one for property errors or validator).
      Overrides:
      getToolTipText in class StringPropEditor
    • getCurrentInput

      public String getCurrentInput()
      Gets the user input.
      Specified by:
      getCurrentInput in interface IEditedPropControllerOwner<StringProp,String>
      Overrides:
      getCurrentInput in class BaseEditor<StringProp,String>
    • setInput

      protected boolean setInput(String input)
      Updates the entry or visible part in the editor with a new property value that is not in error state. The default implementation updates the combo box or text with the value.toString() representation. The existing input should be checked for difference in order not to update the entry if not required. If the input is null, it means no change of the current input the user has made or was previously set.
      Overrides:
      setInput in class BaseEditor<StringProp,String>
      Parameters:
      input - The new input, or null for no change.
      Returns:
      true for changed, false for no change.