Context Menus
Diagram Context Menu
The sequence diagram context menu appears when you right-click on the
diagram's background and has the following options:
- Select
- All - select everything in the diagram.
- Nodes - select all nodes (i.e. objects) in the diagram.
- Connections - select all connections (messages) in the diagram.

- Add Java Object - adds an object whose classifier is selected
through the Eclipse type selection dialog dialog. The object is inserted
at the mouse position where you pressed the right button.

- Automatic Image - saves an image whenever a diagram is saved. The type
of the image can be selected (GIF, PNG or JPEG). The file name is exactly
the same as the diagram except for the extension. If you save your
diagrams with the source code, this should make it easy to integrate
images into the package.html file. If an image type has been selected,
you can also save the image without saving the diagram with the
'Save Now' menu option.

- Save As Image - saves the diagram as an image (PNG, GIF or JPEG).
You select the file name with the operating system's file selection dialog:

- Options/Show Icons - when turned on, objects show an icon
next to their name and get a light yellow background.

Object Context Menu

This context menu appears when you right-click on an object:
- Open Source - Opens an editor with the source code of the classifier.
- Open Type Hierarchy - Opens the Type Hierarchy view with this classifier.
- Refresh - Refreshes this object from its source code.
- Set Classifier - Opens a dialog that lets you select a
different classifier for the object.
- Delete - Deletes this object from the diagram.
- Implementers/References - the standard Eclipse JDT search menu. Please see the
the JDT documentation of 'Search Actions' for details.
- Automatic Resize - Turns on automatic resizing for this object.

This context menu appears when you right-click on a message. A message is represented by an
arrow between 2 executions.
- Open Source - Opens an editor with the source code of the
message's operation. This option is is not available when the message
has no operation.
- Open Call Hierarchy - Opens the Call Hierarchy view with
message's operation. This option is is not available when the message
has no operation.
- Add Called Operations - Adds the operations called by this
message's operation. The code of the operation is parsed for this; this
works for source as well as compiled code (if source code is attached).
Existing diagram objects are used if their name corresponds to a field
or variable on the code.
Please see the Preferences for
applicable configuration options.
- Add Interaction Operand - Adds a new interaction operand around the the currently selected message(s)
within an existing combined fragment. The selected messages have to be contiguous.
- Asynchronous - Marks a message as asynchronous, which changes the
arrow from a filled triangle to just 2 arms.
- Combined Fragment - Adds a combined fragment with a particular interaction operator around the
currently selected message(s).
- Delete - Deletes this message from the diagram.
- Ignore Operation - Adds an operation's signature to the Ignored Signature Patterns in the Preferences.
The operation is not removed from the diagram.
- Layout Message - Lays out the message and all its dependents.
- Assign Operation - Select an operation to assign it
to the message. There is one menu item for the object's classifier and
each of its super classifiers. Each of these menu items lists the
operations of its classifier.
Operation Context Menu

This context menu appears when you right-click on an operation. An operation can be assigned
manually or automatically to a message and displays the operation's signature.
- Open Call Hierarchy - Opens the Call Hierarchy view with
operation.
- Open Source - Opens an editor with the source code of the
operation.
- Add Called Operations - Adds the operations called by this
operation. The code of the operation is parsed for this; this works for
source as well as compiled code (if source code is attached).
- Auto Locate - Restores automatic positioning of the operation
if it has been moved manually.
- References - the standard Eclipse JDT search menu. Please see the
the JDT documentation of 'Search Actions' for details.

This context menu appears when you right-click on a combined fragment.
- Add Interaction Operand - Adds a new interaction operand around the selected combined fragment - unless
the combined fragment is already within its own interaction operand.
- Combined Fragment - Adds a combined fragment with a particular interaction operator around the
selected combined fragment(s).
- Delete - Deletes this combined fragment from the diagram.
- Edit Constraint - Allows you to edit the interaction constraint of the first interaction operand
within the combined fragment.
- Interaction Operator - Allows you to change the combined fragment's interaction operator.