Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsModify element appearance at runtime
https://www.eclipse.org/forums/index.php/mv/msg/200056/638420/#msg_638420
I'd like to modify the appearance of a Comment at runtime, with custom code, in this way:
like a user would do, using the option in the appearance tab, show a stereotype with the button
"Display selected stereotype for the current selected element in the diagram"
I think there's a method that gets the name of the stereotype and the editpart of the element and then modify its appearance.
I've looked for the code that implements this feature, but couldn't find it.
Thanks in advance, 123star]]>123star 2010-11-11T09:29:33-00:00Re: Modify element appearance at runtime
https://www.eclipse.org/forums/index.php/mv/msg/200056/639437/#msg_639437
For the display of applied stereotypes, you should look in the plugin org.eclipse.papyrus.profile.
The class