Package com.iizigo.db.editor
Class ConnectionProfilePropEditor
java.lang.Object
com.iizigo.prop.BaseEditor<StringProp,String> 
com.iizigo.prop.editor.StringPropEditor
com.iizigo.db.editor.ConnectionProfilePropEditor
- All Implemented Interfaces:
- IThemeListener,- IEditedPropControllerOwner<StringProp,,- String> - IEditedPropertyEntry<StringProp,,- String> - IEditedPropertyEntryMultiProp<StringProp,,- String> - IPropertyDefined
Connection profile property editor.
- Author:
- Christopher Mindus
- Field Summary- Fields inherited from class com.iizigo.prop.editor.StringPropEditor- descr- Fields inherited from class com.iizigo.prop.BaseEditor- appUI, combo, control, controller, definedButton, display, editor, focusListener, hasBeenModified, info, more, multipleValueWarningInput, options, parent, propController, shell, text, validator, wasDefinedAtFocusGained
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- protected void- create()Creates the property editor controls.Gets the user input.- protected StringGets the tooltip text to display in the entry fields (not the one for property errors or validator).- void- onMore()Display the dialog box.- protected booleanUpdates the entry or visible part in the editor with a new property value that is not in error state.- Methods inherited from class com.iizigo.prop.editor.StringPropEditor- doUndefineIfEmpty, formatValue, getDefaultValue, getToolTipText2, getValue, parseOptions- Methods inherited from class com.iizigo.prop.BaseEditor- assignMaster, beginProcessEvent, canProcessEvents, checkInput, createCCombo, createControls, createGridLayout, createIzMenu, createMoreButton, createMoreIzMenu, createText, dispose, doValueChangeConversion, endProcessEvent, getBaseEditor, getCurrentValue, getCurrentValues, getModifyListener, getNativeToolTip, getOption, getSelectionListener, getSeverity, getShell, hasFocus, initialize, isPropReadOnly, onDefine, onDispose, onDoubleClick, onError, onF4List, onFocusGained, onFocusLost, onReadOnly, onThemeChanged, onUndefined, onUpdate, setColors, setCurrentValue, setEditable, setFocus, setInputValue, setInputValueFromProp, setToolTipText, showMenu, updateTooltip, validate
- Constructor Details- ConnectionProfilePropEditorpublic ConnectionProfilePropEditor()
 
- Method Details- createprotected void create()Creates the property editor controls.- Overrides:
- createin class- StringPropEditor
 
- onMorepublic void onMore()Display the dialog box.- Overrides:
- onMorein class- BaseEditor<StringProp,- String> 
 
- getToolTipTextGets the tooltip text to display in the entry fields (not the one for property errors or validator).- Overrides:
- getToolTipTextin class- StringPropEditor
 
- getCurrentInputGets the user input.- Specified by:
- getCurrentInputin interface- IEditedPropControllerOwner<StringProp,- String> 
- Overrides:
- getCurrentInputin class- BaseEditor<StringProp,- String> 
 
- setInputUpdates 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:
- setInputin class- BaseEditor<StringProp,- String> 
- Parameters:
- input- The new input, or null for no change.
- Returns:
- true for changed, false for no change.