Package com.iizigo.vs
Interface INewVSComponentWizardInfo
- All Known Implementing Classes:
NewVSComponentWizard
,VSActionCreation
,VSColumnCreation
,VSComponentCreation
,VSFieldCreation
,VSTableCreation
public interface INewVSComponentWizardInfo
The information required by the VS component wizards.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if a default value should be created.default String
Gets the description.default String
Gets the requested name.Gets the table owner, for table column creation.default String
getTitle()
Gets the title.Gets the undo/redo instance.Returns the value type where this applies (for VS Field and VS Column Header).Returns the VirtualSpace.boolean
Returns if the user is allowed to choose type.default boolean
Returns if the VS component should be selectable or not.Returns if null is allowed.default void
registerRequestedNameListener
(Runnable nameListener) Registers a requested name listener.void
setNullAllowed
(boolean isNullAllowed) Sets the null allowed flag.default void
setRequestedName
(String requestedName) Sets the requested name.void
setValueType
(Value.Type valueType) Sets the value type where this applies (for VS Field and VS Column Header).
Method Details
getTitle
Gets the title.- Returns:
- The title for the page, or null for default.
getDescription
Gets the description.- Returns:
- The description of the page, or null for default.
getRequestedName
Gets the requested name.- Returns:
- null if no name is requested.
setRequestedName
Sets the requested name.- Parameters:
requestedName
- null if no name is requested.
isComponentSelectable
default boolean isComponentSelectable()Returns if the VS component should be selectable or not.- Returns:
- false by default in order to create a new one.
registerRequestedNameListener
Registers a requested name listener.getVirtualSpace
EditorVirtualSpace getVirtualSpace()Returns the VirtualSpace.getValueType
Value.Type getValueType()Returns the value type where this applies (for VS Field and VS Column Header).setValueType
Sets the value type where this applies (for VS Field and VS Column Header).- Parameters:
valueType
- The new value type.
isChooseTypeAllowed
boolean isChooseTypeAllowed()Returns if the user is allowed to choose type.isNullAllowed
Boolean isNullAllowed()Returns if null is allowed.- Returns:
- null to enable user to choose, otherwise Boolean.TRUE or Boolean.FALSE to disable user choice and use this setting.
setNullAllowed
void setNullAllowed(boolean isNullAllowed) Sets the null allowed flag.doCreateDefaultValue
boolean doCreateDefaultValue()Returns if a default value should be created.getTableOwner
VSReferenceOwnerData<VSTable,VSTableReference> getTableOwner()Gets the table owner, for table column creation.- Returns:
- The table owner, or null for not available (or not applicable).
getUndoRedo
IPropUndoRedo getUndoRedo()Gets the undo/redo instance.