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, tooltipTextFields 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
ConstructorsConstructorDescriptionDefault constructor called before createControls.Method Summary
Modifier and TypeMethodDescriptionprotected voidcreate()Creates the property editor controls.Gets the user input.voidonDefine(boolean on) Called when (un)defined.protected voidonDoubleClick(org.eclipse.swt.widgets.Event e) Called when mouse is double-clicked in the text or combobox.voidonMore()Called when the "more..." button is pressed.protected voidsetEditable(boolean on) Overridden to disable the entry field.protected voidsetFocus()Overridden to set focus.protected booleanProvides entry feed-back to label.protected voidsetup()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, setToolTipTextMethods 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:
setupin classVSRelativeReferencePropEditor
setEditable
protected void setEditable(boolean on) Overridden to disable the entry field.- Overrides:
setEditablein classBaseEditor<VSRelativeReference<?>,String>
setFocus
protected void setFocus()Overridden to set focus.- Overrides:
setFocusin 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:
createin 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:
onDoubleClickin classVSRelativeReferencePropEditor
onMore
public void onMore()Called when the "more..." button is pressed. Override to display dialog box.- Overrides:
onMorein classVSRelativeReferencePropEditor
setInput
Provides entry feed-back to label.- Overrides:
setInputin 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:
getCurrentInputin interfaceIEditedPropControllerOwner<VSRelativeReference<?>,String> - Overrides:
getCurrentInputin classBaseEditor<VSRelativeReference<?>,String>
onDefine
public void onDefine(boolean on) Called when (un)defined.- Specified by:
onDefinein interfaceIPropertyDefined- Overrides:
onDefinein classBaseEditor<VSRelativeReference<?>,String> - Parameters:
on- The defined state.