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
,EventListener
,org.eclipse.swt.events.SelectionListener
,org.eclipse.swt.internal.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, defaultValue
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.void
Called when the property is undefined.Methods inherited from class com.iizigo.prop.editor.BoolPropEditor
formatValue, getDefaultValue, getToolTipText, getValue, onError, onUpdate, setColors, widgetDefaultSelected, widgetSelected
Methods 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, 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:
create
in classBoolPropEditor
onUndefined
public void onUndefined()Called when the property is undefined.- Specified by:
onUndefined
in interfaceIEditedPropControllerOwner<BoolProp,
Boolean> - Overrides:
onUndefined
in classBoolPropEditor