|Applying Stereotypes [message #760159]
||Thu, 01 December 2011 13:50
Registered: December 2011
I am trying to create an UML model consisting of classes and applying stereotypes defined in a profile of mine to those classes. Basically I have |
out umlout:"..link not allowed ... www.eclipse.org/uml2/3.0.0/UML" (umlout.Model)
I am unsure how to declare my Profile to MOFScript. Should my profile be an in model?
For example: in myProfile:"..link not allowed ...www.eclipse.org/uml2/3.0.0/UML"
I tried to "applyProfile" this to umlout in various ways, but no luck
(Wrong types of input objects. Expected UML Model and Profile.)
How do I apply an Stereotype to an element of my umlout? To do this I first need a stereotype object.
The uml2 API has a method getApplicableStereotypes, which is not available in MOFScript.
I searched for m2t files but there are none available for my problem.
If you have an example that would be great (firstname.lastname@example.org)
Powered by FUDForum
. Page generated in 0.02403 seconds