Class LopVSComponent

java.lang.Object
com.iizigo.link.vs.LopVSComponent
All Implemented Interfaces:
ILinkOperation

public class LopVSComponent extends Object implements 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 Details Link icon

    • LopVSComponent Link icon

      public LopVSComponent(VSComponent target, PropCnr owner, Atom atom)
      Constructor.
      Parameters:
      target - The target VSComponent.
      owner - The reference property owner.
      atom - The name of the reference property.
  • Method Details Link icon

    • createOperationNode Link icon

      public ItemNavigatorPresentation createOperationNode(ItemNavigatorPresentation parent)
      Creates the operation node for presentation in the link wizard main page.
      Specified by:
      createOperationNode in interface ILinkOperation
      Parameters:
      parent - The parent node.
      Returns:
      The node.
    • isOperationEnabled Link icon

      public IStatus 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:
      isOperationEnabled in interface ILinkOperation
      Returns:
      The status for the operation.
    • executeOperation Link icon

      public IStatus executeOperation(ComplexOperation op)
      Executes the operation.
      Specified by:
      executeOperation in interface ILinkOperation
      Parameters:
      op - The complex operation.
      Returns:
      The status of the operation. A complex operation would have a MultiStatus return code.
    • equalsOp Link icon

      public boolean equalsOp(ILinkOperation op)
      Checks if two operations are equal.
      Specified by:
      equalsOp in interface ILinkOperation
      Parameters:
      op - Operation to compare with.
      Returns:
      true if they produce the same result, false otherwise.