Package com.iizigo.prop.editor
Class BaseReferencePropEditor
- All Implemented Interfaces:
IThemeListener,IEditedPropControllerOwner<AbstractReference<IPropCnr>,,ReferenceString> IEditedPropertyEntry<AbstractReference<IPropCnr>,,ReferenceString> IEditedPropertyEntryMultiProp<AbstractReference<IPropCnr>,,ReferenceString> IPropertyDefined,IDisposedPart
The Base Reference property editor consists of a simple entry field.
- 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, tipFields 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, wasDefinedAtFocusGainedConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionprotected StringgetLookupPropReference(String name) Creates the reference string to look-up from the ReferenceString.protected PropCnrGets the base property reference to use as selection root for a property container.protected StringsetLookedUpReference(String name) Sets the reference found that also has been validated.protected voidsetup()Override to provide user settings.Methods inherited from class com.iizigo.prop.editor.ReferencePropEditor
addDropSupport, create, formatValue, getBaseReferencePath, getCurrentReferenceTarget, getDefaultValue, getToolTipText, getValue, onCreateMenu, onDoubleClick, onGoto, onList, setToolTipTextMethods 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, 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
BaseReferencePropEditor
public BaseReferencePropEditor()Default constructor called before createControls.
Method Details
setup
protected void setup()Override to provide user settings.- Overrides:
setupin classReferencePropEditor<IPropCnr>
getSelectionBaseProp
Gets the base property reference to use as selection root for a property container. This could be e.g. from getPropBaseReference() or the VS parents for VS relative references.Override as required.
getLookupPropReference
Creates the reference string to look-up from the ReferenceString. Override this method for e.g. Base or Fixed Relative referencing.- Overrides:
getLookupPropReferencein classReferencePropEditor<IPropCnr>- Parameters:
name- The reference name.- Returns:
- The property reference string to look-up.
setLookedUpReference
Sets the reference found that also has been validated. This method gives the opportunity for a subclass to remove e.g. the Base or Fixed Relative reference from the string start.- Overrides:
setLookedUpReferencein classReferencePropEditor<IPropCnr>- Parameters:
name- The full reference.- Returns:
- The reference to set in this property as ReferenceString.