Package com.iizigo.prop.editor
Class ImageReferencePropEditor
java.lang.Object
com.iizigo.prop.BaseEditor<AbstractReference<TARGET>,ReferenceString>
com.iizigo.prop.editor.ReferencePropEditor<IImageTarget>
com.iizigo.prop.editor.ImageReferencePropEditor
- All Implemented Interfaces:
IThemeListener
,IEditedPropControllerOwner<AbstractReference<IImageTarget>,
,ReferenceString> IEditedPropertyEntry<AbstractReference<IImageTarget>,
,ReferenceString> IEditedPropertyEntryMultiProp<AbstractReference<IImageTarget>,
,ReferenceString> IPropertyDefined
,IDisposedPart
The Image Reference property editor consists of a simple entry field and a more button.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class com.iizigo.prop.editor.ReferencePropEditor
alternateExpansionLevel, alternateSelection, classes, filter, filterClass, image, menu, miGoto, miSelect, SELECT_MESSAGE, selectionRoot, TEXT_MESSAGE, tip
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 TypeMethodDescriptionvoid
Initializes a newly created property (e.g.protected void
setup()
Override to provide user settings: valid options areBGIMAGE
,SINGLE
,SVG
andONLYSVG
set totrue
orfalse
.Methods inherited from class com.iizigo.prop.editor.ReferencePropEditor
addDropSupport, create, formatValue, getBaseReferencePath, getCurrentReferenceTarget, getDefaultValue, getLookupPropReference, getToolTipText, getValue, onCreateMenu, onDoubleClick, onGoto, onList, setLookedUpReference, setToolTipText
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, isDisposed, isPropReadOnly, onDefine, onDispose, onError, onF4List, onFocusGained, onFocusLost, onMore, onReadOnly, onThemeChanged, onUndefined, onUpdate, setColors, setCurrentValue, setEditable, setFocus, setInput, setInputValue, setInputValueFromProp, showMenu, updateTooltip, validate
Field Details
CLASSES
Images.
Constructor Details
ImageReferencePropEditor
public ImageReferencePropEditor()Default constructor called before createControls.
Method Details
setup
protected void setup()Override to provide user settings: valid options areBGIMAGE
,SINGLE
,SVG
andONLYSVG
set totrue
orfalse
. IfONLYSVG
istrue
, it is assumedSVG=true
andSINGLE=BGIMAGE=false
.- Overrides:
setup
in classReferencePropEditor<IImageTarget>
initialize
Initializes a newly created property (e.g. a reference property for accepted types, etc).- Specified by:
initialize
in interfaceIEditedPropControllerOwner<AbstractReference<IImageTarget>,
ReferenceString> - Overrides:
initialize
in classBaseEditor<AbstractReference<IImageTarget>,
ReferenceString> - Parameters:
prop
- The newly created orphan property.- Throws:
PropException
- For property errors.