Class AssetReferencePropEditor
java.lang.Object
com.iizigo.prop.BaseEditor<AbstractReference<FileURIPropCnr>, ReferenceString>
com.iizigo.prop.editor.ReferencePropEditor<FileURIPropCnr>
com.iizigo.prop.editor.AssetReferencePropEditor
- All Implemented Interfaces:
IThemeListener, IEditedPropControllerOwner<AbstractReference<FileURIPropCnr>, ReferenceString>, IEditedPropertyEntry<AbstractReference<FileURIPropCnr>, ReferenceString>, IEditedPropertyEntryMultiProp<AbstractReference<FileURIPropCnr>, ReferenceString>, IPropertyDefined, IDisposedPart
The Asset Reference property editor: a
ReferencePropEditor for a FileURIPropCnr whose chooser is scoped to the current Module project (CC-FIX-PWA-PAGE-PORTS, ruling PW-3). The plain ReferencePropEditor lists the workspace root, i.e. the assets of every open project; this one shows the assets folder of the editor's ModuleModel as the root of the selection tree - the way BaseReferencePropEditor scopes a relative reference to its base property's designer.The options are the ReferencePropEditor's (class=com.iizix.prop.FileURIPropCnr, select, tooltip, filter); the reference stays a full <Project>:/assets/... name.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class ReferencePropEditor
alternateExpansionLevel, alternateSelection, classes, filter, filterClass, image, menu, miGoto, miSelect, SELECT_MESSAGE, selectionRoot, TEXT_MESSAGE, tipFields inherited from class BaseEditor
appUI, combo, control, controller, definedButton, display, editor, focusListener, hasBeenModified, info, more, multipleValueWarningInput, options, parent, propController, shell, text, validator, wasDefinedAtFocusGainedConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionprotected voidsetup()Sets up the editor: the options, then the selection root: the module's assets folder.Methods inherited from class ReferencePropEditor
addDropSupport, create, formatValue, getBaseReferencePath, getCurrentReferenceTarget, getDefaultValue, getLookupPropReference, getToolTipText, getValue, onCreateMenu, onDoubleClick, onDropInput, onGoto, onList, setLookedUpReference, setToolTipTextMethods inherited from class 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, isDisposed, isPropReadOnly, onDefine, onDispose, onError, onF4List, onFocusGained, onFocusLost, onMore, onReadOnly, onThemeChanged, onUndefined, onUpdate, setColors, setCurrentValue, setEditable, setFocus, setInput, setInputValue, setInputValueFromProp, showMenu, updateTooltip, validate
Constructor Details
AssetReferencePropEditor
public AssetReferencePropEditor()Default constructor called before createControls.
Method Details
setup
protected void setup()Sets up the editor: the options, then the selection root: the module's assets folder.- Overrides:
setupin classReferencePropEditor<FileURIPropCnr>