Package com.iizigo.link.ui.builder
Class MenuItemBuilderSubOp
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
com.iizigo.link.ui.UIBuilderSubOperation
com.iizigo.link.ui.builder.VSActionBuilderSubOp
com.iizigo.link.ui.builder.MenuItemBuilderSubOp
- All Implemented Interfaces:
ILinkOperation,ILinkWizardPage,Runnable,org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.wizard.IWizardPage
An action builder sub-operation.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class com.iizigo.link.ui.builder.VSActionBuilderSubOp
action, referenceFields inherited from class com.iizigo.link.ui.UIBuilderSubOperation
appUI, container, lastFocused, sourceFields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNINGMethod Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite parent) Create contents of the wizard.org.eclipse.core.runtime.IStatusExecutes the operation.Returns the builder component processed.org.eclipse.swt.graphics.ImageReturns the builder component image.voidrun()Runs the state check.Methods inherited from class com.iizigo.link.ui.builder.VSActionBuilderSubOp
createOperationNode, getCommonDescription, getCommonTitle, getLargeImage, getRequiredVirtualSpace, getTreeImageMethods inherited from class com.iizigo.link.ui.UIBuilderSubOperation
addPages, equalsOp, getLinkOperation, getUIBuildData, isOperationEnabled, isPageComplete, isPrecondition, isSelected, setControl, setVisibleMethods 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, toStringMethods 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, setMessageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitleMethods inherited from interface com.iizigo.link.ILinkOperation
getDependentOperations, isOperationEnabled, isWizardDialogRequired, validateOperationsMethods inherited from interface org.eclipse.jface.wizard.IWizardPage
canFlipToNextPage, getName, getNextPage, getPreviousPage, getWizard, setPreviousPage, setWizard
Method Details
getBuilderComponent
Returns the builder component processed.- Specified by:
getBuilderComponentin classUIBuilderSubOperation
getBuilderImage
public org.eclipse.swt.graphics.Image getBuilderImage()Returns the builder component image.- Specified by:
getBuilderImagein classUIBuilderSubOperation
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent) Create contents of the wizard.- Specified by:
createControlin interfaceorg.eclipse.jface.dialogs.IDialogPage
run
public void run()Runs the state check.executeOperation
public org.eclipse.core.runtime.IStatus executeOperation(ComplexOperation op) throws org.eclipse.core.runtime.CoreException Executes the operation.- Specified by:
executeOperationin interfaceILinkOperation- Parameters:
op- The complex operation.- Returns:
- The status of the operation. A complex operation would have a
MultiStatusreturn code. - Throws:
org.eclipse.core.runtime.CoreException- If the execution failed.