Package com.iizigo.link.ui.builder
Class VSActionBuilderSubOp
- java.lang.Object
- org.eclipse.jface.dialogs.DialogPage
- org.eclipse.jface.wizard.WizardPage
- com.iizigo.link.ui.UIBuilderSubOperation
- com.iizigo.link.ui.builder.VSActionBuilderSubOp
- All Implemented Interfaces:
ILinkOperation
,ILinkWizardPage
,org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.wizard.IWizardPage
- Direct Known Subclasses:
ButtonBuilderSubOp
,MenuItemBuilderSubOp
public abstract class VSActionBuilderSubOp extends UIBuilderSubOperation
An action builder sub-operation.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description protected EditorVSAction
action
The action.protected java.lang.String
reference
The reference string.Fields inherited from class com.iizigo.link.ui.UIBuilderSubOperation
appUI, container, lastFocused, source
Constructor Summary
Constructors Constructor Description VSActionBuilderSubOp(IEUIContainer container, EditorVSAction action)
Constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemNavigatorPresentation
createOperationNode(ItemNavigatorPresentation parent)
Creates the operation node for presentation in the link wizard main page.java.lang.String
getCommonDescription()
The description of the common operation that is displayed on top of the wizard page.java.lang.String
getCommonTitle()
Returns the title of the common operation.org.eclipse.jface.resource.ImageDescriptor
getLargeImage()
The large image for the operation, e.g.EditorVirtualSpace
getRequiredVirtualSpace()
Returns the required VirtualSpace to be connected.org.eclipse.swt.graphics.Image
getTreeImage()
The image for the operation in the tree on the first wizard page.Methods inherited from class com.iizigo.link.ui.UIBuilderSubOperation
addPages, equalsOp, getBuilderComponent, getBuilderImage, getLinkOperation, getUIBuildData, isOperationEnabled, isPageComplete, isPrecondition, isSelected, setControl, setVisible
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setMessage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle
Methods inherited from interface com.iizigo.link.ILinkOperation
executeOperation, getDependentOperations, isOperationEnabled, isWizardDialogRequired, validateOperations
Field Detail
action
protected final EditorVSAction action
The action.
reference
protected final java.lang.String reference
The reference string.
Constructor Detail
VSActionBuilderSubOp
public VSActionBuilderSubOp(IEUIContainer container, EditorVSAction action)
Constructor.- Parameters:
container
- The container.action
- The action.
Method Detail
getRequiredVirtualSpace
public final EditorVirtualSpace getRequiredVirtualSpace()
Returns the required VirtualSpace to be connected.- Overrides:
getRequiredVirtualSpace
in classUIBuilderSubOperation
- Returns:
- The VirtualSpace required, or null for not required.
getCommonTitle
public final java.lang.String getCommonTitle()
Returns the title of the common operation.- Specified by:
getCommonTitle
in classUIBuilderSubOperation
getCommonDescription
public final java.lang.String getCommonDescription()
The description of the common operation that is displayed on top of the wizard page.- Specified by:
getCommonDescription
in classUIBuilderSubOperation
getTreeImage
public final org.eclipse.swt.graphics.Image getTreeImage()
The image for the operation in the tree on the first wizard page.- Specified by:
getTreeImage
in classUIBuilderSubOperation
getLargeImage
public final org.eclipse.jface.resource.ImageDescriptor getLargeImage()
The large image for the operation, e.g. an Action, Field, etc.- Specified by:
getLargeImage
in classUIBuilderSubOperation
createOperationNode
public final ItemNavigatorPresentation createOperationNode(ItemNavigatorPresentation parent)
Creates the operation node for presentation in the link wizard main page.- Parameters:
parent
- The parent node.- Returns:
- The node.