The context menus for the various types of nodes contained in the UML Navigator view enable actions such as opening source files, performing clipboard operations, and checking files into version control.
You can copy, paste, and clone classes, packages, diagrams, and elements of diagrams using the UML Navigator. Items that can be copied have a Copy command on their context menus.
To copy items in the UML Navigator view:
Select the diagram or diagram element containing the source to copy.
Select the items you want to copy.
NB: You can select several items at once by using Ctrl+click.
Select Copy from the context menu.
Select Paste from the context menu of the destination.
(NB: If using Clone, this step is not needed.)
It is also possible to clone diagrams, elements, and class members. Cloning creates an exact copy of the cloned item in the same package or node element and gives it a default name, which you can edit. The instructions for cloning are identical to those for copy, except you should select Clone from the context menu.
NB: You can also clone node elements in the Diagram view using their context menus.
Related Topic: