Skip to main content



      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 08:34 Go to next message
Eclipse UserFriend
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 09:40 Go to previous messageGo to next message
Eclipse UserFriend
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 14:47 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 16:25:46 EDT 2025

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

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

Back to the top