You can change, add or delete metamodel elements using the XMI 2.1 Editor view, the property view or the UML Editor.
In order to understand the metamodel concept you should consider two kind of elements (e.g. Java and non Java element).
created Class is only a metamodel Class and doesn't have any Java code.
Omondo toolbar will immediately synchronize the UML editor and the
XMI 2.1 Editor.
EclipseUML 2008 is using the same metamodel and instance, therefore each change in the editor is immediately updated in the metamodel.
Note that the Class diagram toolbar is generating Java classes, and that the XMI 2.1 Editor is generating new UML Classifiers (e.g. Class, Interface, Enumeration...).
Other diagrams (e.g. not the Class diagram) toolbar are only generating UML metamodel elements, and no Java code.
following example show the Actor creation from the UseCase diagram
Toolbar in an UseCase Diagram.
You can notice that the metamodel & Properties View is immediately updated
If you click on
the UML element in the XMI 2.1 Editor then the
Properties View will be immediately
Changing any property in the Property view will immediately update the UML Editor and the XMI 2.1 Editor.
following example show how to rename Actor to UML Actor using the
If you click an
element in the Model Editor, you can then delete this element from the
This element will also be automatically deleted from the UML Editor.
Select UML Actor in the XMI
UML Editor is immediately synchronized and the UML Actor element is
deleted from the Model and UML Editor.