Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Stereotype list
Stereotype list [message #601918] Wed, 21 March 2007 09:37
Eclipse UserFriend
Originally posted by:

I have defined UML profile as "Introduction to UML2 Profiles" article
describes. Now I want read this profile in another place, especially I try
to get defined stereotypes. How this should be done?

I have defined profile package like this:
org.eclipse.uml2.uml.Package profilePackage = null;

And then I have loaded profile into it by using load method defined in
"Getting started with UML2" article:
profilePackage = load(URI.createURI("file:/" + folder + "\\" + name ));

I have tried methods profilePackage.getAppliedStereotypes(),
profilePackage.allOwnedElements() and profilePackage.visibleMembers(). The
first mentioned doesn't return anything and the second return all
elements. Is it possible to get only defined stereotypes and their content?

Previous Topic:How to upgrade version of applied profile
Next Topic:Questions in UML Extension mechanisms
Goto Forum:

Current Time: Thu Apr 02 07:01:16 GMT 2020

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

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

Back to the top