All of the UML diagram elements share common context menu commands. To use the context menu for an element, simply right click on the element in the Diagram view. To view the common context menu commands, see Common Element Context Commands.
The context menu for an operation shares the common element context commands as well as the following commands specific to it:

Selecting Open from the context menu, opens the selected class containing the operation in the text editor.
This command opens an editor for the super implementation of the selected operation. If a super implementation does not exist for the operation, then an editor does not open.
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 View 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, this view will open.
Selecting Static from the context menu sets the static property for the operation.
The Visibility command for the operation offers a submenu with the following options:
Selecting Public from the submenu sets the visibility property for the operation to public.
Selecting Protected from the submenu sets the visibility property for the operation to protected
Selecting Private from the submenu sets the visibility property for the operation to private.
Selecting Package Local from the submenu sets the visibility property for the operation to package local.
NB: The visibility options are not available for Interface members.
Using this command, you are able to add Javadoc comments for the operation.
Use this command to generate sequence diagrams from your source code. For more information, see Creating Sequence/Collaboration Diagrams from Source Code.
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.