Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Applying stereotype on Class
Applying stereotype on Class [message #605424] Wed, 04 April 2007 15:09
Eclipse UserFriend
Originally posted by:

I have a model on which I apply a profile.


The profileDocumentation isn't null ;-) It cames from an other model.
I get stereotype as I want.

Stereotype stereotype = profileDocumentation.getOwnedStereotype("CU");

Then I create a Class on which I want to apply the stereotype.

org.eclipse.uml2.uml.Class class_ = package_.createOwnedClass(name,


But when I look in the UML editor the stereotype isn't applied to my class.
If I select the class and use the menu Element to add a stereotype it
works fine.

Any idea ??


Previous Topic:Ends of association
Next Topic:UML2 Composite Association Bug?
Goto Forum:

Current Time: Tue Oct 13 21:34:45 GMT 2015

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

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