Package com.iizigo.link.vs
Class LopVSComponent
java.lang.Object
com.iizigo.link.vs.LopVSComponent
- All Implemented Interfaces:
ILinkOperation
The link operation linking any of VSTable, VSColumnHeader, VSField or VSAction. The owner of the reference property must implement IVSComponentReferenceProvider.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionCreates the operation node for presentation in the link wizard main page.booleanChecks if two operations are equal.Executes the operation.Returns if the operation is enabled for execution, regardless of any preconditions.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
LopVSComponent
Constructor.- Parameters:
target- The target VSComponent.owner- The reference property owner.atom- The name of the reference property.
Method Details
isOperationEnabled
Returns 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 interfaceILinkOperation- Returns:
- The status for the operation.
executeOperation
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.
equalsOp
Checks if two operations are equal.- Specified by:
equalsOpin interfaceILinkOperation- Parameters:
op- Operation to compare with.- Returns:
- true if they produce the same result, false otherwise.