Copying and Pasting an Execution or Invocation Specification - UML 2.0

From RAD Studio
Jump to: navigation, search

Go Up to Interaction Diagram Procedures

Clipboard operations are supported for the execution and invocation specifications.

To copy and paste an execution or invocation specification:

  1. Cut > , Copy > , and Paste commands are available on the context menu of an execution specification and invocation specification. It is possible to copy or move these elements within the same diagram or to another diagram.
  2. When an execution or invocation specification is copied, it means that the entire branch of messages is copied also. Pasting the clipboard contents to a target lifeline results in changing the message numbers according to the numbering of messages in the target lifeline.
  3. If you paste an invocation or execution specification to another diagram, the entire outgoing bunch of messages will be pasted also, with all the respective lifelines. If the target diagram does not contain lifelines for this execution specification, they will be created automatically.

Tip: It is also possible to move and copy message branches using the drag-and-drop technique. To move an execution or invocation specification, drag-and-drop it to the target location. To create a copy, drag-and-drop while holding the CTRL key down.

See Also