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).
1.UML elements




The
created Class is only a metamodel Class and doesn't have any Java code.

1.2
Add
new UML element in UML diagram (except class diagram)
The
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.
The
folowing 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

2. How to change UML elements metamodel
properties :
If you click on
the UML element in the XMI 2.1 Editor then the
Properties View will be immediately
synchronized.
Changing any property in the Property view will
immediately update the UML Editor and the XMI 2.1 Editor.
The
following example show how to rename Actor to UML Actor using the
Properties View:

3. How to delete UML
Metamodel element:
If you click an
element in the Model Editor, you can then delete this element from the
metamodel.
This element will also be automatically deleted from
the UML Editor.
Select UML Actor in the XMI
2.1 Editor
> Delete

The
UML Editor is immediately synchronized and the UML Actor element is
deleted from the Model and UML Editor.
