Bug 445498 - Specific representation icon
Summary: Specific representation icon
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Windows 7
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-09-30 08:53 EDT by Frédéric Madiot CLA
Modified: 2016-10-06 05:33 EDT (History)
5 users (show)

See Also:


Attachments

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