Bug 445498

Summary: Specific representation icon
Product: [Modeling] Sirius Reporter: Frédéric Madiot <frederic.madiot>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: claudiai, florent.latombe, maxime.porhel, mickael.lanoe, thierrymoundo
Version: 1.0.1Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Frédéric Madiot CLA 2014-09-30 08:53:20 EDT
On a representation definition (diagram, table, tree) it should possible to associate a specific icon.
This icon would represent the representation in the model explorer.
Currently all the diagrams have the same icon (same with tables and trees).
Comment 1 Maxime Porhel CLA 2014-09-30 09:26:24 EDT
See also how the 'icon path' attribute of mappings and the 'icon' attribute of Viewpoint are handled.

Should we decorate the VSM specified icon with a dialect specific decorator ?
Comment 2 Mickael LANOE CLA 2015-06-24 08:35:45 EDT
It would be interesting to add an icon property for all representation in the VSM.

The initial image is set by this following method:

org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramEditorSessionListenerDelegate.getInitialImage()

The method should be modified to take into account the icon property in the VSM.