|Re: Add decorators to UML view [message #1488019 is a reply to message #1486986]
||Wed, 26 November 2014 08:42
| Camille Letavernier
Registered: February 2011
Decorators are currently not properly supported. It is possible, but the decorator service has been designed specifically for Validation Decorators, and is not very flexible. We use this for e.g. "External" elements decorator (Or inherited properties).
Alternatively, you may also use the Symbols framework, and use the "Decoration" display. To do so, apply the "Papyrus Internal > Symbols" profile, apply the TypeSymbolDefinition stereotype on an element, and specify the image via the "symbolPath" property. Then, in the appearance tab, you can display it via "Shape Decoration > Visible = true" (And specify the Position as well). That's not exactly the same display as decorators, but if the display is satisfying for you, I can explain you how you can generalize that from an external plug-in (I'll need more information on your exact use-case however)
Powered by FUDForum
. Page generated in 0.01970 seconds