The context menus of the various diagrams provide functions specific to each diagram. Explore the context menus of the different diagrams as you encounter them to see the commands available for each one.
However, for the most part, all of the UML diagrams do share common context menu commands. To use the context menu for a diagram, simply right click on the background of the diagram in the Diagram view.
From the Diagram view, each diagram has the following common context menu commands:
Each diagram has the New command. Each diagram has a submenu specific to the New command containing each diagram's specific elements.
The Select in Model Tree command highlights the node selected in the UML Navigator tree-view. The UML Navigator will expand and highlight that element in the tree-view. If closed, the UML Navigator will open. For more information, see Using Select in Model Tree.
This action removes the diagram. You can then choose to Paste the element into the desired location.
This action copies the selected diagram. 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 a diagram that has been cut or copied.
Use this command to paste a copied diagram or element as a shortcut on another diagram.
The Rename dialog renames the element and refactors the change throughout the project.
The Delete command will delete the element from the project. A Confirmation dialog opens to confirm the deletion.
Bookmarks allow you to navigate to resources that are frequently used. You can set, remove, and view bookmarks using the Bookmarks view.
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.
Using the Export to Image command, allows you to export the current image to a scalable vector graphics (SVG) file. Use the Export Diagram to Image dialog to select a location and name for the image file.
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.
Works the same as the Layout command above, however it also optimizes the size of each element.
Works the same as the Layout command but adheres to the page size set up in Together Print Preferences. It will attempt to layout the diagram so that no elements overlap onto other pages.
For more information, see Using the Automated Layout Features.
Selects all of the elements on the current diagram.
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 Hide/Show from the diagram context menu and check the hidden elements list in the Show Hidden dialog. For more information, see Hiding Elements.
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 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 this command to compare resources with local edit history. A local history for a file is kept when you create or modify a file.
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.
Use Replace With to replace Workbench resources with versions in the repository. The Replace With command offers a submenu with the following options:
Use the Local History command to revert to the local history of a file.
Each time that you edit a file, a copy of the file is saved in local history. You can use the Previous From Local History command to restore a file to its previous state.
Use the Team command to add a project to the repository. Once the project is added, you can create patches, commit, synchronize with repository, and so on. Refer to the documentation set provided with your IDE for complete information. From the menubar, choose Help > Help Contents.
Using the Properties command opens the Properties view for the current element or diagram. For more information, see Using the Properties View.
Using the update command refreshes the diagram.