Package com.iizigo.vs.wizards
Class VSActionCreation
- All Implemented Interfaces:
- INewVSComponentWizardInfo
Class for VirtualSpace Action creation used in the wizards e.g. when creating panel components.
- Author:
- Christopher Mindus
- Field Summary- Fields inherited from class com.iizigo.vs.wizards.VSComponentCreation- createdComponent
- Constructor SummaryConstructorsConstructorDescription- VSActionCreation- (UIComp uiComp, Atom vsRef, EditorVirtualSpace virtualSpace, IPropUndoRedo undoRedo) The constructor.
- Method SummaryModifier and TypeMethodDescription- booleanCompletes the referencing to the VS Action in the UI component.- protected EditorVSAction- doCreate- (Atom name, PropCnr parent, ComplexOperation op) Creates the component required with the specified name.Gets the default name for the VS component if no request name is defined.- void- onWizard- (AddUICompWizard wizard) Called to create required wizard pages.- Methods inherited from class com.iizigo.vs.wizards.VSComponentCreation- createVSComponent, doCreateDefaultValue, getDescription, getRequestedName, getTableOwner, getTitle, getUndoRedo, getValueType, getVirtualSpace, getVSParent, isChooseTypeAllowed, isComponentSelectable, isNullAllowed, registerRequestedNameListener, setDescription, setNullAllowed, setRequestedName, setTitle, setValueType, setVSParent
- Constructor Details- VSActionCreationpublic VSActionCreation- (UIComp uiComp, Atom vsRef, EditorVirtualSpace virtualSpace, IPropUndoRedo undoRedo) The constructor.- Parameters:
- uiComp- The component.
- vsRef- The VSActionReference atom name.
- virtualSpace- The VirtualSpace.
- undoRedo- The undo/redo instance.
 
 
- Method Details- onWizardCalled to create required wizard pages.- Specified by:
- onWizardin class- VSComponentCreation<EditorVSAction>
- Parameters:
- wizard- The wizard.
 
- getDefaultNameGets the default name for the VS component if no request name is defined.- Specified by:
- getDefaultNamein class- VSComponentCreation<EditorVSAction>
 
- doCreateCreates the component required with the specified name.- Specified by:
- doCreatein class- VSComponentCreation<EditorVSAction>
- Parameters:
- name- The name.
- parent- The parent for the VS component.
- op- The complex operation.
- Returns:
- The component, initiated with potential value or value type.
 
- assignReferencepublic boolean assignReference()Completes the referencing to the VS Action in the UI component.- Specified by:
- assignReferencein class- VSComponentCreation<EditorVSAction>
- Returns:
- true if the component reference is set, false if the user chose not to create this VS component.