Package com.iizigo.prop.editor
Class BaseReferencePropEditor
- java.lang.Object
- com.iizigo.prop.BaseEditor<AbstractReference<TARGET>,ReferenceString>
- com.iizigo.prop.editor.ReferencePropEditor<IPropCnr>
- com.iizigo.prop.editor.BaseReferencePropEditor
 
 
 
- All Implemented Interfaces:
- IEditedPropControllerOwner<AbstractReference<IPropCnr>,ReferenceString>,- IEditedPropertyEntry<AbstractReference<IPropCnr>,ReferenceString>,- IEditedPropertyEntryMultiProp<AbstractReference<IPropCnr>,ReferenceString>,- IPropertyDefined
 - public class BaseReferencePropEditor extends ReferencePropEditor<IPropCnr> 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, 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 - BaseReferencePropEditor()Default constructor called before createControls.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - protected java.lang.String- getLookupPropReference(java.lang.String name)Creates the reference string to look-up from the ReferenceString.- protected PropCnr- getSelectionBaseProp(PropCnr pc)Gets the base property reference to use as selection root for a property container.- protected java.lang.String- setLookedUpReference(java.lang.String name)Sets the reference found that also has been validated.- protected void- setup()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, 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, initialize, 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:
- setupin class- ReferencePropEditor<IPropCnr>
 
 - getSelectionBaseProp- protected PropCnr getSelectionBaseProp(PropCnr pc) 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- protected java.lang.String getLookupPropReference(java.lang.String name) Creates the reference string to look-up from the ReferenceString. Override this method for e.g. Base or Fixed Relative referencing.- Overrides:
- getLookupPropReferencein class- ReferencePropEditor<IPropCnr>
- Parameters:
- name- The reference name.
- Returns:
- The property reference string to look-up.
 
 - setLookedUpReference- protected java.lang.String setLookedUpReference(java.lang.String name) 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 class- ReferencePropEditor<IPropCnr>
- Parameters:
- name- The full reference.
- Returns:
- The reference to set in this property as ReferenceString.