Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Load and parse UML file
Load and parse UML file [message #473938] Tue, 10 July 2007 01:49 Go to next message
Eclipse UserFriend
Originally posted by: tedwong.cse.unsw.edu.au

Hi,

I have a UML diagram which I want to parse it's contents. Can I do it
with UMl2.0 package? What I would like is something which can load the
diagram file, and get it's contents. Could anyone please point to me how
I can do it and which package I should use.

Thanks,
Re: Load and parse UML file [message #473942 is a reply to message #473938] Tue, 10 July 2007 13:47 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Ted,

What format is the diagram in? The UML2 component of MDT doesn't provide
support for notation (i.e. digrams). However, if it's a GMF diagram (based
on the notational metamodel in GMF), you should be able to load the resource
and manipulate the contents using the APIs available in GMF. Please see the
GMF docoumentation/newgroup for more details.

Kenn

"Ted Wong" <tedwong@cse.unsw.edu.au> wrote in message
news:f6uon1$gs0$1@build.eclipse.org...
> Hi,
>
> I have a UML diagram which I want to parse it's contents. Can I do it with
> UMl2.0 package? What I would like is something which can load the diagram
> file, and get it's contents. Could anyone please point to me how I can do
> it and which package I should use.
>
> Thanks,
Re: Load and parse UML file [message #623641 is a reply to message #473938] Tue, 10 July 2007 13:47 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Ted,

What format is the diagram in? The UML2 component of MDT doesn't provide
support for notation (i.e. digrams). However, if it's a GMF diagram (based
on the notational metamodel in GMF), you should be able to load the resource
and manipulate the contents using the APIs available in GMF. Please see the
GMF docoumentation/newgroup for more details.

Kenn

"Ted Wong" <tedwong@cse.unsw.edu.au> wrote in message
news:f6uon1$gs0$1@build.eclipse.org...
> Hi,
>
> I have a UML diagram which I want to parse it's contents. Can I do it with
> UMl2.0 package? What I would like is something which can load the diagram
> file, and get it's contents. Could anyone please point to me how I can do
> it and which package I should use.
>
> Thanks,
Previous Topic:Modifying existing profile
Next Topic:how to delete class.attribute(property)
Goto Forum:
  


Current Time: Wed Apr 01 06:19:17 GMT 2020

Powered by FUDForum. Page generated in 0.01549 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top