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
descrFields 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, wasDefinedAtFocusGainedConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionprotected voidcreate()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).voidonMore()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, parseOptionsMethods 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:
createin classStringPropEditor
onMore
public void onMore()Display the dialog box.- Overrides:
onMorein classBaseEditor<StringProp,String>
getToolTipText
Gets the tooltip text to display in the entry fields (not the one for property errors or validator).- Overrides:
getToolTipTextin classStringPropEditor
getCurrentInput
Gets the user input.- Specified by:
getCurrentInputin interfaceIEditedPropControllerOwner<StringProp,String> - Overrides:
getCurrentInputin 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:
setInputin classBaseEditor<StringProp,String> - Parameters:
input- The new input, or null for no change.- Returns:
- true for changed, false for no change.