Class CustomAssemblyConnectorTypeLinkCreateCommand

java.lang.Object
org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.emf.workspace.AbstractEMFOperation
org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand
org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand
org.eclipse.gmf.runtime.emf.type.core.commands.CreateElementCommand
org.eclipse.gmf.runtime.emf.type.core.commands.CreateRelationshipCommand
de.uka.ipd.sdq.pcm.gmf.composite.custom.commands.AssemblyConnectorTypeLinkCreateCommand
de.uka.ipd.sdq.pcm.gmf.composite.custom.commands.CustomAssemblyConnectorTypeLinkCreateCommand
All Implemented Interfaces:
IUndoableOperation, org.eclipse.gmf.runtime.common.core.command.ICommand, org.eclipse.gmf.runtime.common.core.internal.command.ICommandWithSettableResult

public class CustomAssemblyConnectorTypeLinkCreateCommand extends AssemblyConnectorTypeLinkCreateCommand
The Class CustomAssemblyConnectorTypeLinkCreateCommand.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomAssemblyConnectorTypeLinkCreateCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest req, org.palladiosimulator.pcm.core.composition.ComposedStructure container, org.palladiosimulator.pcm.repository.OperationRequiredRole source, org.palladiosimulator.pcm.repository.OperationProvidedRole target)
    Instantiates a new custom assembly connector type link create command.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected EObject
    Do default element creation.

    Methods inherited from class de.uka.ipd.sdq.pcm.gmf.composite.custom.commands.AssemblyConnectorTypeLinkCreateCommand

    getContainer, getEClassToEdit, getSource, getTarget, setElementToEdit

    Methods inherited from class org.eclipse.gmf.runtime.emf.type.core.commands.CreateRelationshipCommand

    canExecute, createConfigureRequest

    Methods inherited from class org.eclipse.gmf.runtime.emf.type.core.commands.CreateElementCommand

    doExecuteWithResult, getContainmentFeature, getCreateRequest, getDefaultElementCreationStatus, getElementToEdit, getElementType, getNewElement, setContainmentFeature, setDefaultElementCreationStatus

    Methods inherited from class org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand

    getAffectedFiles, getEClass, getRequest, isOK, setEClass

    Methods inherited from class org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand

    aggregateStatuses, cleanup, compose, didRedo, didUndo, doExecute, doRedo, doUndo, getAffectedFiles, getCommandResult, getWorkspaceFiles, getWorkspaceFiles, internalSetResult, reduce, setResult

    Methods inherited from class org.eclipse.emf.workspace.AbstractEMFOperation

    canRedo, canSetOptions, canUndo, didCommit, dispose, execute, getChange, getEditingDomain, getOptions, isReuseParentTransaction, redo, setOptions, setReuseParentTransaction, undo

    Methods inherited from class org.eclipse.core.commands.operations.AbstractOperation

    addContext, getContexts, getLabel, hasContext, removeContext, setLabel, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.gmf.runtime.common.core.command.ICommand

    setLabel

    Methods inherited from interface org.eclipse.core.commands.operations.IUndoableOperation

    addContext, canRedo, canUndo, dispose, execute, getContexts, getLabel, hasContext, redo, removeContext, undo
  • Constructor Details

    • CustomAssemblyConnectorTypeLinkCreateCommand

      public CustomAssemblyConnectorTypeLinkCreateCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest req, org.palladiosimulator.pcm.core.composition.ComposedStructure container, org.palladiosimulator.pcm.repository.OperationRequiredRole source, org.palladiosimulator.pcm.repository.OperationProvidedRole target)
      Instantiates a new custom assembly connector type link create command.
      Parameters:
      req - the req
      container - the container
      source - the source
      target - the target
  • Method Details

    • doDefaultElementCreation

      protected EObject doDefaultElementCreation()
      Do default element creation.
      Overrides:
      doDefaultElementCreation in class org.eclipse.gmf.runtime.emf.type.core.commands.CreateElementCommand
      Returns:
      the e object
      Generated class or method.
      not