Package com.iizigo.panel.wizards
Interface IUICompCreator<UICOMP extends UIComp>
- All Known Implementing Classes:
- NameVSFieldCreator,- TextPromptCreator,- UIComboBoxCreator,- UIContainerCreator,- UITableColumnCreator,- UITableCreator
public interface IUICompCreator<UICOMP extends UIComp>
Interface used to create the UI component in order to fill in the wizard or to perform auto-creation of VS components.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- default List<VSComponentCreation<?>>- getCreations- (UICOMP uiComp, EditorVirtualSpace virtualSpace, IPropUndoRedo undoRedo) Gets the required VS component creations that are needed.- getImage()Gets the large image to use, relative the "icons/large" directory.- default booleanReturns if the VirtualSpace is required, and if- getCreations(UIComp, EditorVirtualSpace, IPropUndoRedo)will be called.- void- onWizard- (AddUICompWizard wizard, UIPanelBase panel, UICOMP uiComp) Called to create required wizard pages.- default booleanCalled when the wizard completes.- default booleanCalled when silent execution is done and a wizard is not used.
- Method Details- isVirtualSpaceRequireddefault boolean isVirtualSpaceRequired()Returns if the VirtualSpace is required, and if- getCreations(UIComp, EditorVirtualSpace, IPropUndoRedo)will be called.
- getCreationsdefault List<VSComponentCreation<?>> getCreations- (UICOMP uiComp, EditorVirtualSpace virtualSpace, IPropUndoRedo undoRedo) Gets the required VS component creations that are needed.- Parameters:
- uiComp- The UI component.
- virtualSpace- The VirtualSpace.
- undoRedo- The undo/redo instance.
- Returns:
- A list of VS component creation elements.
 
- getImageString getImage()Gets the large image to use, relative the "icons/large" directory.
- onWizardCalled to create required wizard pages.- Parameters:
- wizard- The wizard.
- uiComp- The component created.
- panel- The panel.
 
- performFinishdefault boolean performFinish()Called when the wizard completes. Override to process.- Returns:
- true to finish (default), false to abort.
 
- performSilentdefault boolean performSilent()Called when silent execution is done and a wizard is not used. This method is called instead of- performFinish().- Returns:
- true to finish (default), false to abort.