Package com.iizigo.link.ui.builder
Class LayoutNewComponentsOperation
java.lang.Object
com.iizigo.link.ui.builder.LayoutNewComponentsOperation
- All Implemented Interfaces:
ILinkOperation
Layouts out the components added in the build data after creation. Only one such operation can be added to the link wizard.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsConstructorDescriptionLayoutNewComponentsOperation(IEUIContainer container, List<UIComp> components) Constructor.Method Summary
Modifier and TypeMethodDescriptionThe item is never presented in the UI.booleanOnly one for a link operation.Executes the layout operation for the added components.Status is always OK.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.iizigo.link.ILinkOperation
addPages, getDependentOperations, isOperationEnabled, isPrecondition, isSelected, isWizardDialogRequired, validateOperations
Constructor Details
LayoutNewComponentsOperation
Constructor.- Parameters:
components- The list of components.
Method Details
isOperationEnabled
Status is always OK.- Specified by:
isOperationEnabledin interfaceILinkOperation- Returns:
- The status for the operation.
equalsOp
Only one for a link operation.- Specified by:
equalsOpin interfaceILinkOperation- Parameters:
op- Operation to compare with.- Returns:
- true if they produce the same result, false otherwise.
executeOperation
Executes the layout operation for the added components.- Specified by:
executeOperationin interfaceILinkOperation- Parameters:
op- The complex operation.- Returns:
- The status.
- Throws:
CoreException- If the execution failed.