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 java.lang.Object implements IUICompCreator<UICOMP>
The component name creator with it's VS Field.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description NameVSFieldCreator(java.lang.String image, Value.Type valueType)
The creator constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<VSComponentCreation<?>>
getCreations(UICOMP uiComp, EditorVirtualSpace virtualSpace, IPropUndoRedo undoRedo)
Gets the required VS component creations that are needed.java.lang.String
getImage()
Gets the large image to use, relative the "icons/large" directory.boolean
isVirtualSpaceRequired()
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 Detail
NameVSFieldCreator
public NameVSFieldCreator(java.lang.String image, Value.Type valueType)
The creator constructor.- Parameters:
image
- The image relative "icons/large".
Method Detail
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 java.util.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
public java.lang.String getImage()
Gets the large image to use, relative the "icons/large" directory.- Specified by:
getImage
in interfaceIUICompCreator<UICOMP extends UIComp>
onWizard
public void onWizard(AddUICompWizard wizard, UIPanelBase panel, UICOMP uiComp)
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.