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
ConstructorDescriptionLayoutNewComponentsOperation
(IEUIContainer container, List<UIComp> components) Constructor.Method Summary
Modifier and TypeMethodDescriptionThe item is never presented in the UI.boolean
Only 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, wait
Methods 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:
isOperationEnabled
in interfaceILinkOperation
- Returns:
- The status for the operation.
equalsOp
Only one for a link operation.- Specified by:
equalsOp
in 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:
executeOperation
in interfaceILinkOperation
- Parameters:
op
- The complex operation.- Returns:
- The status.
- Throws:
CoreException
- If the execution failed.