Package com.iizigo.prop.editor
Class ContentProviderPropEditor
java.lang.Object
com.iizigo.prop.BaseEditor<BoolProp,Boolean>
com.iizigo.prop.editor.BoolPropEditor
com.iizigo.prop.editor.ContentProviderPropEditor
- 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
Use content provider option. This is a boolean property that when turned on may zap all items that were present in the container. A question is therefore asked to the developer when turning it on.
- 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 TypeMethodDescriptionboolean
Checks if it's OK to process events.void
widgetSelected
(org.eclipse.swt.events.SelectionEvent e) Checkbox pressed.Methods inherited from class com.iizigo.prop.editor.BoolPropEditor
create, formatValue, getDefaultValue, getToolTipText, getValue, onError, onUndefined, onUpdate, setColors, widgetDefaultSelected
Methods inherited from class com.iizigo.prop.BaseEditor
assignMaster, beginProcessEvent, 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
ContentProviderPropEditor
public ContentProviderPropEditor()
Method Details
canProcessEvents
public boolean canProcessEvents()Checks if it's OK to process events.- Overrides:
canProcessEvents
in classBaseEditor<BoolProp,
Boolean>
widgetSelected
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) Checkbox pressed.- Specified by:
widgetSelected
in interfaceorg.eclipse.swt.events.SelectionListener
- Overrides:
widgetSelected
in classBoolPropEditor