The UML Navigator has several different context menus, each specific to the resource selected. This section discusses the various context menus for the following resource levels in the UML Navigator:
NB: Depending on your development platform, some of the menu commands described may not be applicable. For more information, refer to the documentation set provided with your IDE. From the menubar, choose Help > Help Contents.
UML Navigator projects offer the following context menu commands:
Open the project level diagram in Diagram view. It will replace the currently shown diagram with this one.
Open the project level diagram in Diagram view in a new tab.
Creates a new diagram: Activity, Collaboration, Class, Component, Deployment, State, Use Case, Sequence.

Runs audits against the selection. See Running Audits for details.
Runs metrics against the selection. See Running Metrics for details.
Loads a previously saved set of metric results. See Saving/Loading Metric Results for details.
Debugs/runs your application. A configuration dialog opens if needed. For more information, refer to the documentation set provided with your IDE. From the menubar, choose Help > Help Contents.
Use Compare With to compare the resources in the Workbench with the resources held within the repository. The Compare With command offers a submenu with the following options:
Using a patch allows you to share work with other team members without storing it in a repository. Use the Patch command to access this type of resource.
Using the Each Other command simply compares two files. Select two diagrams in the UML Navigator view by using CTRL+Click, then invoke Compare With > Each Other.
Use the Team command to add a project to the repository. Once the project is added, you can create patches, commit, synchronize with repository, etc. For more information, refer to the documentation set provided with your IDE. From the menubar, choose Help > Help Contents.
Displays the properties for the selection in the Properties view.
NB: While the Properties command accessed through the UML Navigator
opens the Properties view for the selected resource, you should be aware that
this differs from the Properties command accessed through the Navigator and
Packages views. The Navigator view Properties command, for instance, opens a
project-specific Properties dialog. Among other things, it allows you to turn
templates and pattern-recognition on or off per project. These selections override
those made in the global Preferences dialogs.
Using the update command will refresh the project.
Within the UML Navigator at the package level of a project, the context menu displays many of the same commands as at the project level, however, there are some additional options available:

Using the Select on Diagram command, you can open the corresponding diagram that the element belongs to in the Diagram view and highlight the element on the diagram.
The Show in Packages View command highlights the node selected in the Packages tree-view. The Packages view will expand and highlight that element in the tree-view. If closed, the Packages view will open.
The Show in UML Explorer command highlights the node selected in the UML Explorer tree-view. The UML Explorer view will expand and highlight that element in the tree-view. If closed, the UML Explorer view will open.
This action removes the element. You can then choose to Paste the element into the desired location.
This action copies the selected element. After copying an element, choose to Paste it into a new location.
The Clone command lets you quickly create a new diagram or element with the same content as the existing one. An element that can be cut/copied and pasted can also be cloned by using the Clone command. Cloning is basically a one-step copy-and-paste. For more information, see Using Clone.
Using the Paste command, you can paste an element that has been cut or copied.
Pastes a shortcut to the element that has been cut or copied.
Using Rename dialog renames the element.
Launches the Import SelectionWizard.
Launches the Export SelectionWizard.
The Hyperlinks command offers a submenu with the following options:
Using Edit, you can view, add, and remove hyperlinks to a project. For more information on hyperlinks, see Working with Hyperlinks.
<Hyperlink> represents an actual hyperlinked element. In the example shown above, Activity is a hyperlinked element. If there are no hyperlinks for the diagram, then only the Edit option displays.
The References command offers a submenu with the following options:

By selecting Workspace from the submenu, you can search the entire workbench for references to the element.
By selecting Hierarchy from the submenu, you can search the Hierarchy view for references to the element.
By selecting Working Set from the submenu, the Select Working Sets dialog displays. From this dialog, you can select which working sets to search.
The Declarations command offers a submenu with the following options:

By selecting Workspace from the submenu, you can search the entire workbench for declarations of the element.
By selecting Hierarchy from the submenu, you can search the Hierarchy view for references to the element.
By selecting Working Set from the submenu, the Select Working Sets dialog displays. From this dialog, you can select which working sets to search.
The Layout command offers a submenu with the following options:
Sets the layout of all elements according to the default layout style, which
is vertically or horizontally hierarchical.
For more information, see Using the Automated Layout Features.
There are several ways to obtain the required magnification in the UML Diagram view. The Zoom command offers a submenu with the following options:
Using Zoom > In, you can magnify the size of the diagram shown in the Diagram view.
Using Zoom > Out, you can decrease the size of the diagram shown in the Diagram view .
You can use Zoom In and Zoom Out options to adjust the size of the diagram shown in Diagram view. To reset the zoom back to the default, select Initial Size. For more information, see Using Zoom.
Note that individual elements on a diagram can be hidden using the element context menu. If you do not see an element in a diagram, choose Show hidden from the diagram context menu and check the hidden elements list. For more information, see Hiding Elements.
Saves your diagram to an image file. This command opens a dialog in which you can specify a path and name for the image.
The context menu for class and interface elements has the following commands:
The Select on Diagram command highlights the node selected in the Diagram view. If the diagram is closed, it opens to display the node.
For information on the class level context menu, see Class and Interface Context Menus.
The context menu for an operation has the following commands:
The Select on Diagram command highlights the operation selected in the Diagram view. If the diagram is closed, it opens to display the operation.
For information on the operation level context menu, see Operation Context Menu.
For information on the link level context menu, see Common Link Context Commands.