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
,IDisposedPart
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 Summary
Method Summary
Modifier and TypeMethodDescriptionprotected void
create()
Creates the property editor controls.Gets the user input.protected String
Gets the tooltip text to display in the entry fields (not the one for property errors or validator).void
onMore()
Display the dialog box.protected boolean
Updates 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, isDisposed, isPropReadOnly, onDefine, onDispose, onDoubleClick, onError, onF4List, onFocusGained, onFocusLost, onReadOnly, onThemeChanged, onUndefined, onUpdate, setColors, setCurrentValue, setEditable, setFocus, setInputValue, setInputValueFromProp, setToolTipText, showMenu, updateTooltip, validate
Constructor Details
ConnectionProfilePropEditor
public ConnectionProfilePropEditor()
Method Details
create
protected void create()Creates the property editor controls.- Overrides:
create
in classStringPropEditor
onMore
public void onMore()Display the dialog box.- Overrides:
onMore
in classBaseEditor<StringProp,
String>
getToolTipText
Gets the tooltip text to display in the entry fields (not the one for property errors or validator).- Overrides:
getToolTipText
in classStringPropEditor
getCurrentInput
Gets the user input.- Specified by:
getCurrentInput
in interfaceIEditedPropControllerOwner<StringProp,
String> - Overrides:
getCurrentInput
in classBaseEditor<StringProp,
String>
setInput
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 classBaseEditor<StringProp,
String> - Parameters:
input
- The new input, or null for no change.- Returns:
- true for changed, false for no change.