Package com.iizigo.prop.editor
Class NullValueAllowedPropEditor
java.lang.Object
com.iizigo.prop.BaseEditor<BoolProp,Boolean>
com.iizigo.prop.editor.BoolPropEditor
com.iizigo.prop.editor.NullValueAllowedPropEditor
- All Implemented Interfaces:
IThemeListener,IEditedPropControllerOwner<BoolProp,,Boolean> IEditedPropertyEntry<BoolProp,,Boolean> IEditedPropertyEntryMultiProp<BoolProp,,Boolean> IPropertyDefined,IDisposedPart,EventListener,SelectionListener,SWTEventListener
The boolean property for "null value allowed" of a component that can be connected to a VS field. When it is connected to a VS field, the value is synchronized with VS. The synchronization is handled by the component in question. This editor merely disables the choice when a VS connection is present. The component owning this property must implement the interfaces
IUINullableValueComponent and extend UIComp.- Author:
- Christopher Mindus
Field Summary
Fields inherited from class com.iizigo.prop.editor.BoolPropEditor
button, defaultValueFields 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.voidCalled when the property is undefined.Methods inherited from class com.iizigo.prop.editor.BoolPropEditor
formatValue, getDefaultValue, getToolTipText, getValue, onError, onUpdate, setColors, widgetDefaultSelected, widgetSelectedMethods inherited from class com.iizigo.prop.BaseEditor
assignMaster, beginProcessEvent, canProcessEvents, checkInput, createCCombo, createControls, createGridLayout, createIzMenu, createMoreButton, createMoreIzMenu, createText, dispose, doUndefineIfEmpty, doValueChangeConversion, endProcessEvent, getBaseEditor, getCurrentInput, getCurrentValue, getCurrentValues, getModifyListener, getNativeToolTip, getOption, getSelectionListener, getSeverity, getShell, getToolTipText2, hasFocus, initialize, isDisposed, isPropReadOnly, onDefine, onDispose, onDoubleClick, onF4List, onFocusGained, onFocusLost, onMore, onReadOnly, onThemeChanged, setCurrentValue, setEditable, setFocus, setInput, setInputValue, setInputValueFromProp, setToolTipText, showMenu, updateTooltip, validate
Constructor Details
NullValueAllowedPropEditor
public NullValueAllowedPropEditor()
Method Details
create
protected void create()Creates the property editor controls.- Overrides:
createin classBoolPropEditor
onUndefined
public void onUndefined()Called when the property is undefined.- Specified by:
onUndefinedin interfaceIEditedPropControllerOwner<BoolProp,Boolean> - Overrides:
onUndefinedin classBoolPropEditor