Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsStereotypes
https://www.eclipse.org/forums/index.php/mv/msg/1069988/1707264/#msg_1707264
How do I get the value of the attribute that is attached to the stereotype?
This will work if there is an applied stereotype that has a property called stereoAttrbute1.
What doesn't work (fails with an odd... "the file can't be opened" message when I try to open the generated word file.
[cl.getValue(st, oa.name)/] where cl is the class, st is the applied stereotype and oa is the property of the stereotype and oa.name is the name of the property of the stereotype.
thoughts?]]>Scott Mansfield2015-09-04T09:04:55-00:00Re: Stereotypes
https://www.eclipse.org/forums/index.php/mv/msg/1069988/1707371/#msg_1707371
You can show the value of attributes with the 'getValue' method as below.
[for (cl : Class | Class.allInstances()->filter(Class)->sortedBy(name))]
Class name: [cl.name/]