Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML: How to load an existing UML profile
UML: How to load an existing UML profile [message #1718131] Sun, 20 December 2015 13:34 Go to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
Hi,

I want to load the defined list of stereotypes of an existing registered UML profile in Eclipse to a table view in Java code. How to do that?
Thanks.

Kind regards,
Alireza
Re: UML: How to load an existing UML profile [message #1719516 is a reply to message #1718131] Fri, 08 January 2016 14:40 Go to previous messageGo to next message
Ronan B is currently offline Ronan BFriend
Messages: 273
Registered: July 2009
Senior Member
Hi Alireza,
Load the profile as a UML model (see https://wiki.eclipse.org/MDT/UML2/Introduction_to_UML2_Profiles#Loading_Models) and then iterate over the stereotype definitions in the profile using the getOwnedStereotypes() method of the Profile class.
Regards,
Ronan
Re: UML: How to load an existing UML profile [message #1719558 is a reply to message #1719516] Fri, 08 January 2016 19:47 Go to previous message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
Hi Ronan,

Thanks very much.

Best regards,
Alireza
Previous Topic:Copying a UML2 model including a deep copy of PackageImports
Next Topic:Generate big UML state charts ?
Goto Forum:
  


Current Time: Tue Apr 16 17:25:31 GMT 2024

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

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

Back to the top