Package com.iizigo.prop.editor
Class VSActionActorParticipantEditor
- java.lang.Object
- com.iizigo.prop.BaseEditor<VSRelativeReference<?>,java.lang.String>
- com.iizigo.prop.editor.VSRelativeReferencePropEditor
- com.iizigo.prop.editor.VSActionActorParticipantEditor
- All Implemented Interfaces:
IEditedPropControllerOwner<VSRelativeReference<?>,java.lang.String>
,IEditedPropertyEntry<VSRelativeReference<?>,java.lang.String>
,IEditedPropertyEntryMultiProp<VSRelativeReference<?>,java.lang.String>
,IPropertyDefined
public class VSActionActorParticipantEditor extends VSRelativeReferencePropEditor
The Action Actor Participant (reference property) editor.- Author:
- Christopher Mindus
Field Summary
Fields inherited from class com.iizigo.prop.editor.VSRelativeReferencePropEditor
classes, image, 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
Constructors Constructor Description VSActionActorParticipantEditor()
Default constructor called before createControls.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
create()
Creates the property editor controls.java.lang.String
getCurrentInput()
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
setInput(java.lang.String input)
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, onUndefined, onUpdate, setColors, setCurrentValue, setInputValue, setInputValueFromProp, showMenu, updateTooltip, validate
Method Detail
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<?>,java.lang.String>
setFocus
protected void setFocus()
Overridden to set focus.- Overrides:
setFocus
in classBaseEditor<VSRelativeReference<?>,java.lang.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
protected boolean setInput(java.lang.String input)
Provides entry feed-back to label.- Overrides:
setInput
in classBaseEditor<VSRelativeReference<?>,java.lang.String>
- Parameters:
input
- The new input, or null for no change.- Returns:
- true for changed, false for no change.
getCurrentInput
public java.lang.String getCurrentInput()
Gets the user input.- Specified by:
getCurrentInput
in interfaceIEditedPropControllerOwner<VSRelativeReference<?>,java.lang.String>
- Overrides:
getCurrentInput
in classBaseEditor<VSRelativeReference<?>,java.lang.String>
onDefine
public void onDefine(boolean on)
Called when (un)defined.- Specified by:
onDefine
in interfaceIPropertyDefined
- Overrides:
onDefine
in classBaseEditor<VSRelativeReference<?>,java.lang.String>
- Parameters:
on
- The defined state.