Class CustomOperationProvidedRoleItemSemanticEditPolicy

  • All Implemented Interfaces:
    org.eclipse.gef.EditPolicy, org.eclipse.gef.RequestConstants

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

      • CustomOperationProvidedRoleItemSemanticEditPolicy

        public CustomOperationProvidedRoleItemSemanticEditPolicy()
    • Method Detail

      • 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