Bug 325610 - [General] Papyrus shall enable to set dynamically decoration on elements within a diagram
Summary: [General] Papyrus shall enable to set dynamically decoration on elements with...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: Indigo   Edit
Assignee: Cedric Dumoulin CLA
QA Contact:
URL:
Whiteboard: Usability
Keywords: plan, usability
Depends on:
Blocks:
 
Reported: 2010-09-17 11:31 EDT by Cedric Dumoulin CLA
Modified: 2012-03-28 05:06 EDT (History)
3 users (show)

See Also:
sebastien.gerard: indigo+


Attachments
Decoration Service Zip (295.73 KB, application/octet-stream)
2011-05-23 10:57 EDT, Amine EL KOUHEN CLA
rschnekenburger: iplog+
Details
MarkerMonitorService (29.00 KB, application/octet-stream)
2011-05-23 10:58 EDT, Amine EL KOUHEN CLA
rschnekenburger: iplog+
Details
Validation plugin patch (51.75 KB, patch)
2011-05-23 10:59 EDT, Amine EL KOUHEN CLA
rschnekenburger: iplog+
Details | Diff
Model Explorer plugin patch (34.78 KB, patch)
2011-05-23 10:59 EDT, Amine EL KOUHEN CLA
rschnekenburger: iplog+
Details | Diff
oep.common plugin patch (85.19 KB, patch)
2011-05-23 11:00 EDT, Amine EL KOUHEN CLA
rschnekenburger: iplog+
Details | Diff
Decoration Service Architecture (404.95 KB, application/octet-stream)
2011-05-23 11:01 EDT, Amine EL KOUHEN CLA
rschnekenburger: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
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