GMF Tutorial - Mindmap Ecore [message #110738] |
Sun, 11 March 2007 11:09  |
Eclipse User |
|
|
|
Originally posted by: rb_account.yahoo.de
Hello!
I just finished the beginner's tutorial and created the Mindmap Modellin=
g =
Tool.
Everything works fine.
However, I have a question concerning the ecore-Meta-Model =
( http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.gmf/exa mples/org.e=
clipse.gmf.examples.mindmap/model/mindmap.ecore?root=3DTechn ology_Projec=
t&view=3Dmarkup&content-type=3Dtext%2Fvnd.viewcvs-ma rkup&revision=3DHEAD=
).
The Meta-Model uses Annotations to extend the MetaData. What purpose do =
=
these annotations have? Is there any documentation on how to use these =
specific annotations?
Thanks
Rainer
Example of the annotations used in the Mindmap.ecore
-------------------------------------------------------
...
<eClassifiers xsi:type=3D"ecore:EClass" name=3D"Map">
<eAnnotations =
source=3D"http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key=3D"name" value=3D"Map"/>
<details key=3D"kind" value=3D"elementOnly"/>
</eAnnotations>
<eStructuralFeatures xsi:type=3D"ecore:EReference" name=3D"rootTopi=
cs" =
upperBound=3D"-1"
eType=3D"#//Topic" containment=3D"true" resolveProxies=3D"false=
">
<eAnnotations =
source=3D"http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key=3D"kind" value=3D"element"/>
<details key=3D"name" value=3D"rootTopics"/>
</eAnnotations>
</eStructuralFeatures>
...
-------------------------------------------------------
|
|
|
|
Powered by
FUDForum. Page generated in 0.27434 seconds