|Re: Navigating on UML metamodel [message #628239]
||Mon, 22 February 2010 18:17
| Ed Merks
Registered: July 2009
I think it's best to ask about UML specific details on the UML2 |
newsgroup, which I've added to the "to" list of the reply, so no need to
> I would like to create a standalone program able to display the list
> of elements available inside of the UML metamodel. To do this, I've
> tried to register into the resourceSet the path to the UML jar
> (org.eclipse.uml2.uml.resources_2.2.0.v200805131030.jar), as shown in
> the FAQ. Then, my thought was to access to the resource representing
> the UML Metamodel :
> Resource res =
> ODEL_URI), true);
> and to navigate over it.
> I didn't get error, but unexpected results. When I display elements
> name, It seems to be all the same. A lot of MetaElement, ... But no
> access to the real name! It seems to be a real mess. Does anyone has
> an idea?
> here is the test code I'm working on : http://www.pastebin.com/f44dc1608
> I'm currently waiting for the EMF book, hoping this to help me. Thanks
> in advance for any help!
Powered by FUDForum
. Page generated in 0.01782 seconds