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:
IEditedPropControllerOwner<AbstractReference<IImageTarget>,ReferenceString>
,IEditedPropertyEntry<AbstractReference<IImageTarget>,ReferenceString>
,IEditedPropertyEntryMultiProp<AbstractReference<IImageTarget>,ReferenceString>
,IPropertyDefined
public class ImageReferencePropEditor extends ReferencePropEditor<IImageTarget>
The Image Reference property editor consists of a simple entry field and a more button.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<?>[]
CLASSES
Images.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
Constructors Constructor Description ImageReferencePropEditor()
Default constructor called before createControls.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(AbstractReference<IImageTarget> prop)
Initializes a newly created property (e.g.protected void
setup()
Override to provide user settings.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, isPropReadOnly, onDefine, onDispose, onError, onF4List, onFocusGained, onFocusLost, onMore, onReadOnly, onUndefined, onUpdate, setColors, setCurrentValue, setEditable, setFocus, setInput, setInputValue, setInputValueFromProp, showMenu, updateTooltip, validate
Method Detail
setup
protected void setup()
Override to provide user settings.- Overrides:
setup
in classReferencePropEditor<IImageTarget>
initialize
public void initialize(AbstractReference<IImageTarget> prop) throws PropException
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.