Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » How read uml model in java?
How read uml model in java? [message #478227] Mon, 09 March 2009 13:25 Go to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
Hi,

It is surely a newbie question but I don't find which API use to read a
UML model file.
I want create a list of <<Entity>> stereotyped model element in one UML
model.

It is the correct group to post?
Re: How read uml model in java? [message #478231 is a reply to message #478227] Mon, 09 March 2009 13:56 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Esteban,

Yes, this is the correct group. Have you seen the introductory articles on
the documentation page (see
http://wiki.eclipse.org/index.php/MDT-UML2#Articles)? I'd suggest reading
those articles first and then posting another question if you're still
having trouble.

Kenn

"Esteban DUGUEPEROUX" <dugueperoux.esteban@free.fr> wrote in message
news:gp35cm$q6d$1@build.eclipse.org...
> Hi,
>
> It is surely a newbie question but I don't find which API use to read a
> UML model file.
> I want create a list of <<Entity>> stereotyped model element in one UML
> model.
>
> It is the correct group to post?
Re: How read uml model in java? [message #478234 is a reply to message #478231] Tue, 10 March 2009 08:26 Go to previous message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------090508000507070705020903
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi Kenn,

Thanks for your answer, I find a method to load a UML model in the
following article :
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Intro duction_to_UML2_Profiles/article.html

The model is well loaded, I can content getContents() et
getAllContents() from Resource class but I can't find Model element by
type with getObjectByType() from EcoreUtil class like in article.

I have joined my code.

P.S. : I used Ganymede release with org.eclipse.uml2.uml
2.2.2v200811051031 plugin.

Kenn Hussey a
Re: How read uml model in java? [message #627427 is a reply to message #478227] Mon, 09 March 2009 13:56 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Esteban,

Yes, this is the correct group. Have you seen the introductory articles on
the documentation page (see
http://wiki.eclipse.org/index.php/MDT-UML2#Articles)? I'd suggest reading
those articles first and then posting another question if you're still
having trouble.

Kenn

"Esteban DUGUEPEROUX" <dugueperoux.esteban@free.fr> wrote in message
news:gp35cm$q6d$1@build.eclipse.org...
> Hi,
>
> It is surely a newbie question but I don't find which API use to read a
> UML model file.
> I want create a list of <<Entity>> stereotyped model element in one UML
> model.
>
> It is the correct group to post?
Re: How read uml model in java? [message #627430 is a reply to message #478231] Tue, 10 March 2009 08:26 Go to previous message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------090508000507070705020903
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi Kenn,

Thanks for your answer, I find a method to load a UML model in the
following article :
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Intro duction_to_UML2_Profiles/article.html

The model is well loaded, I can content getContents() et
getAllContents() from Resource class but I can't find Model element by
type with getObjectByType() from EcoreUtil class like in article.

I have joined my code.

P.S. : I used Ganymede release with org.eclipse.uml2.uml
2.2.2v200811051031 plugin.

Kenn Hussey a
Previous Topic:problem with load value of property of object stereotyped
Next Topic:Sequence diagrams
Goto Forum:
  


Current Time: Fri Apr 26 13:57:11 GMT 2024

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

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

Back to the top