Class CustomSourceRoleItemSemanticEditPolicy

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

    public class CustomSourceRoleItemSemanticEditPolicy
    extends SourceRoleItemSemanticEditPolicy
    The Class CustomSourceRoleItemSemanticEditPolicy.
    • Constructor Detail

      • CustomSourceRoleItemSemanticEditPolicy

        public CustomSourceRoleItemSemanticEditPolicy()
    • 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 SourceRoleItemSemanticEditPolicy
        Parameters:
        req - The request object to create the command
        Returns:
        The prepared creation command object
        Generated class or method.
        not
      • getStartCreateRelationshipCommandEventConnectors

        protected org.eclipse.gef.commands.Command getStartCreateRelationshipCommandEventConnectors​(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest req)
        Helper to create an instance of an outgoing event connector.
        Parameters:
        req - The request describing the command to be created.
        Returns:
        The prepared command to create an AssemblyEventConnector
        Generated class or method.
        not