Package com.iizigo.link.ui.builder
Class TextBuilderSubOp
- java.lang.Object
- org.eclipse.jface.dialogs.DialogPage
- org.eclipse.jface.wizard.WizardPage
- com.iizigo.link.ui.UIBuilderSubOperation
- com.iizigo.link.ui.builder.VSFieldBuilderSubOp
- com.iizigo.link.ui.builder.TextBuilderSubOp
- All Implemented Interfaces:
ILinkOperation
,ILinkWizardPage
,org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.wizard.IWizardPage
public class TextBuilderSubOp extends VSFieldBuilderSubOp
Field text builder sub-operation.- Author:
- Christopher Mindus
Field Summary
Fields inherited from class com.iizigo.link.ui.builder.VSFieldBuilderSubOp
field, reference
Fields inherited from class com.iizigo.link.ui.UIBuilderSubOperation
appUI, container, lastFocused, source
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPages(LinkWizard wizard)
Called when the wizard is created and allows the creation of additional wizard pages required.void
createControl(org.eclipse.swt.widgets.Composite parent)
Create contents of the wizard.org.eclipse.core.runtime.IStatus
executeOperation(ComplexOperation op)
Executes the operation.java.lang.String
getBuilderComponent()
Returns the builder component processed.org.eclipse.swt.graphics.Image
getBuilderImage()
Returns the builder component image.Methods inherited from class com.iizigo.link.ui.builder.VSFieldBuilderSubOp
createOperationNode, getCommonDescription, getCommonTitle, getLargeImage, getRequiredVirtualSpace, getTreeImage
Methods inherited from class com.iizigo.link.ui.UIBuilderSubOperation
equalsOp, 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
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle
Methods inherited from interface com.iizigo.link.ILinkOperation
getDependentOperations, isOperationEnabled, isWizardDialogRequired, validateOperations
Method Detail
getBuilderComponent
public java.lang.String getBuilderComponent()
Returns the builder component processed.- Specified by:
getBuilderComponent
in classUIBuilderSubOperation
getBuilderImage
public org.eclipse.swt.graphics.Image getBuilderImage()
Returns the builder component image.- Specified by:
getBuilderImage
in classUIBuilderSubOperation
addPages
public void addPages(LinkWizard wizard)
Called when the wizard is created and allows the creation of additional wizard pages required. All created pages MUST implement done to get the link wizard information.- Specified by:
addPages
in interfaceILinkOperation
- Overrides:
addPages
in classUIBuilderSubOperation
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
Create contents of the wizard.
executeOperation
public org.eclipse.core.runtime.IStatus executeOperation(ComplexOperation op) throws org.eclipse.core.runtime.CoreException
Executes the operation.- Parameters:
op
- The complex operation.- Returns:
- The status of the operation. A complex operation would have a
MultiStatus
return code. - Throws:
org.eclipse.core.runtime.CoreException
- If the execution failed.