Bug 325610

Summary: [General] Papyrus shall enable to set dynamically decoration on elements within a diagram
Product: [Modeling] Papyrus Reporter: Cedric Dumoulin <cedric.dumoulin>
Component: CoreAssignee: Cedric Dumoulin <cedric.dumoulin>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: raphael.faudou, sebastien.gerard, vincent.hemery
Version: 0.8.0Keywords: plan, usability
Target Milestone: IndigoFlags: sebastien.gerard: indigo+
Hardware: All   
OS: All   
Whiteboard: Usability
Attachments:
Description Flags
Decoration Service Zip
rschnekenburger: iplog+
MarkerMonitorService
rschnekenburger: iplog+
Validation plugin patch
rschnekenburger: iplog+
Model Explorer plugin patch
rschnekenburger: iplog+
oep.common plugin patch
rschnekenburger: iplog+
Decoration Service Architecture rschnekenburger: iplog+

Description Cedric Dumoulin CLA 2010-09-17 11:31:28 EDT
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
Comment 1 Amine EL KOUHEN CLA 2011-05-23 10:57:03 EDT
Created attachment 196346 [details]
Decoration Service Zip

Decoration Service plugin
Comment 2 Amine EL KOUHEN CLA 2011-05-23 10:58:42 EDT
Created attachment 196347 [details]
MarkerMonitorService

The Markers Monitoring Service
Comment 3 Amine EL KOUHEN CLA 2011-05-23 10:59:21 EDT
Created attachment 196348 [details]
Validation plugin patch
Comment 4 Amine EL KOUHEN CLA 2011-05-23 10:59:52 EDT
Created attachment 196349 [details]
Model Explorer plugin patch
Comment 5 Amine EL KOUHEN CLA 2011-05-23 11:00:29 EDT
Created attachment 196350 [details]
oep.common plugin patch
Comment 6 Amine EL KOUHEN CLA 2011-05-23 11:01:54 EDT
Created attachment 196351 [details]
Decoration Service Architecture
Comment 7 Vincent Hémery CLA 2011-08-22 07:50:59 EDT
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 ?
Comment 8 Remi Schnekenburger CLA 2012-02-13 10:06:44 EST
fixed on 0.8 version