The IDE enables you to change the semantic meaning of certain UML modeling elements by performing object type transformations. On any Class diagram, you can do the following transformations:
From | To |
---|---|
Actor element | Class, Interface, Datatype, or Enumeration element |
Interface element | Actor, Class, Datatype, or Enumeration element |
Class element | Actor, Interface, Datatype, or Enumeration element |
Datatype element | Actor, Class, Interface, or Enumeration element |
Enumeration element | Actor, Class, Datatype, or Interface element |
When you transform an element, the element is changed in the Diagram editor, the Projects window, and the Properties window. The IDE alters the structure of the element's underlying code to reflect the change.
To transform an element, do as follows in the Diagram editor:
The IDE redraws the active diagram and displays the appropriate icon next to the transformed object in the Projects window.