Package com.iizigo.prop.editor
Class VSActionActorParticipantEditor
java.lang.Object
com.iizigo.prop.BaseEditor<VSRelativeReference<?>,String>
com.iizigo.prop.editor.VSRelativeReferencePropEditor
com.iizigo.prop.editor.VSActionActorParticipantEditor
- All Implemented Interfaces:
IThemeListener
,IEditedPropControllerOwner<VSRelativeReference<?>,
,String> IEditedPropertyEntry<VSRelativeReference<?>,
,String> IEditedPropertyEntryMultiProp<VSRelativeReference<?>,
,String> IPropertyDefined
The Action Actor Participant (reference property) editor.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class com.iizigo.prop.editor.VSRelativeReferencePropEditor
classes, image, isVSRoot, itemDefined, miGoto, miSelect, moreText, tip, title, tooltipText
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
ConstructorDescriptionDefault constructor called before createControls.Method Summary
Modifier and TypeMethodDescriptionprotected void
create()
Creates the property editor controls.Gets the user input.void
onDefine
(boolean on) Called when (un)defined.protected void
onDoubleClick
(org.eclipse.swt.widgets.Event e) Called when mouse is double-clicked in the text or combobox.void
onMore()
Called when the "more..." button is pressed.protected void
setEditable
(boolean on) Overridden to disable the entry field.protected void
setFocus()
Overridden to set focus.protected boolean
Provides entry feed-back to label.protected void
setup()
Override to provide user settings.Methods inherited from class com.iizigo.prop.editor.VSRelativeReferencePropEditor
buildMenu, formatValue, getCurrentReferenceTarget, getDefaultValue, getReferenceTarget, getToolTipText, getValue, getVirtualSpace, getVirtualSpace, onCreateMenu, onCreateVSAction, onCreateVSColumn, onCreateVSField, onCreateVSTable, 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, getCurrentValue, getCurrentValues, getModifyListener, getNativeToolTip, getOption, getSelectionListener, getSeverity, getShell, getToolTipText2, hasFocus, initialize, isPropReadOnly, onDispose, onError, onF4List, onFocusGained, onFocusLost, onReadOnly, onThemeChanged, onUndefined, onUpdate, setColors, setCurrentValue, setInputValue, setInputValueFromProp, showMenu, updateTooltip, validate
Constructor Details
VSActionActorParticipantEditor
public VSActionActorParticipantEditor()Default constructor called before createControls.
Method Details
setup
protected void setup()Override to provide user settings.- Overrides:
setup
in classVSRelativeReferencePropEditor
setEditable
protected void setEditable(boolean on) Overridden to disable the entry field.- Overrides:
setEditable
in classBaseEditor<VSRelativeReference<?>,
String>
setFocus
protected void setFocus()Overridden to set focus.- Overrides:
setFocus
in classBaseEditor<VSRelativeReference<?>,
String>
create
protected void create()Creates the property editor controls. Overridden to make entry field read-only and double-click to select.- Overrides:
create
in classVSRelativeReferencePropEditor
onDoubleClick
protected void onDoubleClick(org.eclipse.swt.widgets.Event e) Called when mouse is double-clicked in the text or combobox. Overridden to check if Goto reference is enabled, and if so goes there.- Overrides:
onDoubleClick
in classVSRelativeReferencePropEditor
onMore
public void onMore()Called when the "more..." button is pressed. Override to display dialog box.- Overrides:
onMore
in classVSRelativeReferencePropEditor
setInput
Provides entry feed-back to label.- Overrides:
setInput
in classBaseEditor<VSRelativeReference<?>,
String> - Parameters:
input
- The new input, or null for no change.- Returns:
- true for changed, false for no change.
getCurrentInput
Gets the user input.- Specified by:
getCurrentInput
in interfaceIEditedPropControllerOwner<VSRelativeReference<?>,
String> - Overrides:
getCurrentInput
in classBaseEditor<VSRelativeReference<?>,
String>
onDefine
public void onDefine(boolean on) Called when (un)defined.- Specified by:
onDefine
in interfaceIPropertyDefined
- Overrides:
onDefine
in classBaseEditor<VSRelativeReference<?>,
String> - Parameters:
on
- The defined state.