Package com.iizigo.link.ui
Class UIBuilderOperation
java.lang.Object
com.iizigo.link.ui.UIBuilderOperation
- All Implemented Interfaces:
- ILinkOperation
The UI builder operation added to the build operations.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- void- addPages- (LinkWizard wizard) Called when the wizard is created and allows the creation of additional wizard pages required.Creates the operation node for presentation in the link wizard main page.- booleanChecks if two operations are equal.Executes the operation.Returns the dependent operations that must be performed in order for this operation to be able to complete.Returns if the operation is enabled for execution, regardless of any preconditions.- booleanReturns if a build operation is selected or not.- booleanReturns if the link wizard dialog must be shown.- Methods inherited from class java.lang.Object- clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait- Methods inherited from interface com.iizigo.link.ILinkOperation- isOperationEnabled, isPrecondition, isSelected, validateOperations
- Method Details- isWizardDialogRequiredpublic boolean isWizardDialogRequired()Returns if the link wizard dialog must be shown.- Specified by:
- isWizardDialogRequiredin interface- ILinkOperation
- Returns:
- true, always, to enable user to choose.
 
- isOperationEnabledReturns if the operation is enabled for execution, regardless of any preconditions. These are tested once all parties have agreed that the operation might be a "go".- Specified by:
- isOperationEnabledin interface- ILinkOperation
- Returns:
- Always OK_STATUS.
 
- addPagesCalled 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:
- addPagesin interface- ILinkOperation
 
- isSelectedReturns if a build operation is selected or not. If the main operation is skipped, all children operations will also be skipped and unselected.- Parameters:
- bop- The build operation.
- Returns:
- true if selected, false otherwise.
 
- getDependentOperationsReturns the dependent operations that must be performed in order for this operation to be able to complete.- Specified by:
- getDependentOperationsin interface- ILinkOperation
- Returns:
- The collection of dependency operations, default empty list.
 
- executeOperationExecutes the operation.- Specified by:
- executeOperationin interface- ILinkOperation
- Parameters:
- op- The complex operation.
- Returns:
- The status of the operation. A complex operation would have a MultiStatusreturn code.
- Throws:
- CoreException- If the execution failed.
 
- equalsOpChecks if two operations are equal.- Specified by:
- equalsOpin interface- ILinkOperation
- Parameters:
- op- Operation to compare with.
- Returns:
- true if they produce the same result, false otherwise.