Package com.iizigo.prop.editor
Class NullValueAllowedPropEditor
- java.lang.Object
- com.iizigo.prop.BaseEditor<BoolProp,java.lang.Boolean>
- com.iizigo.prop.editor.BoolPropEditor
- com.iizigo.prop.editor.NullValueAllowedPropEditor
- All Implemented Interfaces:
IEditedPropControllerOwner<BoolProp,java.lang.Boolean>
,IEditedPropertyEntry<BoolProp,java.lang.Boolean>
,IEditedPropertyEntryMultiProp<BoolProp,java.lang.Boolean>
,IPropertyDefined
,java.util.EventListener
,org.eclipse.swt.events.SelectionListener
,org.eclipse.swt.internal.SWTEventListener
public class NullValueAllowedPropEditor extends BoolPropEditor
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 interfacesIUINullableValueComponent
and extendUIComp
.- 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
Constructors Constructor Description NullValueAllowedPropEditor()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
create()
Creates the property editor controls.void
onUndefined()
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, setCurrentValue, setEditable, setFocus, setInput, setInputValue, setInputValueFromProp, setToolTipText, showMenu, updateTooltip, validate
Method Detail
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,java.lang.Boolean>
- Overrides:
onUndefined
in classBoolPropEditor