Package com.iizigo.prop.editor
Class ContentProviderPropEditor
- java.lang.Object
- com.iizigo.prop.BaseEditor<BoolProp,java.lang.Boolean>
- com.iizigo.prop.editor.BoolPropEditor
- com.iizigo.prop.editor.ContentProviderPropEditor
- 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 ContentProviderPropEditor extends BoolPropEditor
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
Constructors Constructor Description ContentProviderPropEditor()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canProcessEvents()
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, setCurrentValue, setEditable, setFocus, setInput, setInputValue, setInputValueFromProp, setToolTipText, showMenu, updateTooltip, validate
Method Detail
canProcessEvents
public boolean canProcessEvents()
Checks if it's OK to process events.- Overrides:
canProcessEvents
in classBaseEditor<BoolProp,java.lang.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