Class CustomOperationProvidedRoleItemSemanticEditPolicy

java.lang.Object
org.eclipse.gef.editpolicies.AbstractEditPolicy
org.eclipse.gmf.runtime.diagram.ui.editpolicies.SemanticEditPolicy
All Implemented Interfaces:
org.eclipse.gef.EditPolicy, org.eclipse.gef.RequestConstants

public class CustomOperationProvidedRoleItemSemanticEditPolicy extends OperationProvidedRoleItemSemanticEditPolicy
The Class CustomOperationProvidedRoleItemSemanticEditPolicy.
  • Constructor Details

    • CustomOperationProvidedRoleItemSemanticEditPolicy

      public CustomOperationProvidedRoleItemSemanticEditPolicy()
  • Method Details

    • getCreateRelationshipCommand

      protected org.eclipse.gef.commands.Command getCreateRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest req)
      Get the create relationship command or null / UnexecutableCommand instance if this is not an valid end for the connector creation.
      Overrides:
      getCreateRelationshipCommand in class OperationProvidedRoleItemSemanticEditPolicy
      Parameters:
      req - the req
      Returns:
      the creates the relationship command
      Generated class or method.
      not
    • getCompleteCreateRelationshipCommandAssemblyConnector

      protected org.eclipse.gef.commands.Command getCompleteCreateRelationshipCommandAssemblyConnector(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest req)
      Get the complete create relationship command if the relationship is about an internal assembly connector.
      Parameters:
      req - The request object for this command request
      Returns:
      The prepared command.
      Generated class or method.
      not
    • getCompleteCreateRelationshipCommandProvidedDelegationConnector

      protected org.eclipse.gef.commands.Command getCompleteCreateRelationshipCommandProvidedDelegationConnector(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest req)
      Get the complete create relationship command if the relationship is about a operation provided delegation connector.
      Parameters:
      req - The request object for this command request
      Returns:
      The prepared command.
      Generated class or method.
      not
    • getReorientRelationshipCommand

      protected org.eclipse.gef.commands.Command getReorientRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest req)
      Description copied from class: OperationProvidedRoleItemSemanticEditPolicy
      Returns command to reorient EClass based link. New link target or source should be the domain model element associated with this node.
      Overrides:
      getReorientRelationshipCommand in class OperationProvidedRoleItemSemanticEditPolicy