To edit object elements:
From the menubar, select Window > Show View > Properties.
Select the element from either the UML Navigator or Diagram view.
Edit the fields in the Properties view as necessary.
To rename object elements, choose one of the following methods:
Using in-place editing:
In the Diagram view, double click the element's name to enable in-place editing.
Enter the new name.
Using the context menu:
Right click on the element in either the UML Navigator or Diagram view.
Select Rename from the context menu.
Enter the new name
Click Ok.
Using the Properties view:
From the menubar, select Window > Show View > Properties.
Select the element in either the UML Navigator or Diagram view.
Edit the name field in the Properties view.
Use the context menu of an object to create a new class or interface.
To create a new class or interface:
Select the object on the diagram.
Right click on the element and choose New > Class or New > Interface.
The New Object's Class dialog displays. Use this dialog to create a new class.
NB: When creating a new interface, the New Object's Interface dialog displays.
Use the context menu of an object element to link it with a class.
To link an object to a class:
Select the object on the sequence diagram.
Right click on the object and choose Select Class from the context menu. The Select Class command expands to display a submenu that shows any classes that are "local" to the diagram and an option named, More, for browsing available classes that you wish to associate with the object.
Choose a class from the list, or select More to associate a class that is not local to the diagram.
TIP: You can associate multiple objects with the same class. Use CTRL + click to select the objects, and follow the steps above to associate those objects to a class.
To unlink a class from an object:
Select the object on the diagram.
Right click and select Unlink Class from the context menu.
Once a class has been associated with an object, use the context menu to show the class in the editor, resource navigator, package explorer, or model navigator. Simply right click on the element, and select Show Class > (In Editor | In Resource Navigator | In Package Explorer | In Model Navigator).