Package com.iizigo.panel.prop.creator
Class NameVSFieldCreator<UICOMP extends UIComp>
java.lang.Object
com.iizigo.panel.prop.creator.NameVSFieldCreator<UICOMP>
- All Implemented Interfaces:
IUICompCreator<UICOMP>
public class NameVSFieldCreator<UICOMP extends UIComp> extends Object implements IUICompCreator<UICOMP>
The component name creator with it's VS Field.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionNameVSFieldCreator
(String image, Value.Type valueType) The creator constructor.Method Summary
Modifier and TypeMethodDescriptiongetCreations
(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.boolean
Returns if the VirtualSpace is required, and ifgetCreations(UIComp, EditorVirtualSpace, IPropUndoRedo)
will be called.void
onWizard
(AddUICompWizard wizard, UIPanelBase panel, UICOMP uiComp) Called to create required wizard pages.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.iizigo.panel.wizards.IUICompCreator
performFinish, performSilent
Constructor Details
NameVSFieldCreator
The creator constructor.- Parameters:
image
- The image relative "icons/large".
Method Details
isVirtualSpaceRequired
public boolean isVirtualSpaceRequired()Returns if the VirtualSpace is required, and ifgetCreations(UIComp, EditorVirtualSpace, IPropUndoRedo)
will be called.- Specified by:
isVirtualSpaceRequired
in interfaceIUICompCreator<UICOMP extends UIComp>
getCreations
public List<VSComponentCreation<?>> getCreations(UICOMP uiComp, EditorVirtualSpace virtualSpace, IPropUndoRedo undoRedo) Gets the required VS component creations that are needed.- Specified by:
getCreations
in interfaceIUICompCreator<UICOMP extends UIComp>
- Parameters:
uiComp
- The UI component.virtualSpace
- The VirtualSpace.undoRedo
- The undo/redo instance.- Returns:
- A list of VS component creation elements.
getImage
Gets the large image to use, relative the "icons/large" directory.- Specified by:
getImage
in interfaceIUICompCreator<UICOMP extends UIComp>
onWizard
Called to create required wizard pages.- Specified by:
onWizard
in interfaceIUICompCreator<UICOMP extends UIComp>
- Parameters:
wizard
- The wizard.panel
- The panel for the component(s).uiComp
- The component created.