Community
Participate
Working Groups
We sometime want to add dynamically some decorations to elements in diagrams (and maybe in the model explorer). As example, an OCL checker can provide some warnings and errors. It could be interesting to be able to add dynamically a warning or error icon to the elements involved in the warning or error. The same can be true when we do a query on a model that return multiple elements: it could be interesting to be able to add an icon to the elements returned by the query. Such functionality can take the form of a service that allow to add "decoration icon" to a set of elements. You ask the service to decorate the provided elements with the provided icon. You can also ask the service to remove the decoration. The service is dynamic: when the service stop, all decorations disappear. The decorations are not saved in the Papyrus models. The service can be extended to work also on the model explorer
Created attachment 196346 [details] Decoration Service Zip Decoration Service plugin
Created attachment 196347 [details] MarkerMonitorService The Markers Monitoring Service
Created attachment 196348 [details] Validation plugin patch
Created attachment 196349 [details] Model Explorer plugin patch
Created attachment 196350 [details] oep.common plugin patch
Created attachment 196351 [details] Decoration Service Architecture
This plugin has not been correctly integrated. It is required by org.eclipse.papyrus.diagram.common, but it does not appear in any feature. Hence, the nightly build update site is completely broken and no update at all can be performed for UML. Could you please integrate it in the correct feature ?
fixed on 0.8 version