Bug 482324

Summary: Need to add Decoration to Tree View items
Product: [Modeling] Sirius Reporter: Yariv Amar <yariv.amar>
Component: TreeAssignee: Project Inbox <sirius.tree-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: maxime.porhel
Version: 3.1.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Yariv Amar CLA 2015-11-16 19:24:10 EST
The Decoration feature is very cool and useful in diagrams.
I would like to have similar feature for Tree View Items.
Comment 1 Maxime Porhel CLA 2015-11-17 09:16:46 EST
Hi,

this looks like an interesting area to explore but we have no plans to work on it in the following weeks. 

That said this enhancement could move forward if you provide a fix for it (see the Contributor Guide) or you contact Obeo for sponsored work. 

Regards

Maxime
Comment 2 Maxime Porhel CLA 2015-11-17 09:20:53 EST
Note that DTable and DTree Sirius editors uses org.eclipse.sirius.table.ui.tools.internal.editor.provider.DTableDecoratingLabelProvider and org.eclipse.sirius.tree.ui.tools.internal.editor.provider.DTreeDecoratingLabelProvider which are instanciated with PlatformUI.getWorkbench().getDecoratorManager().getLabelDecorator();


This make possible to declare decorators using the org.eclipse.ui.decorators extension point. This might allow you to define your own decorators for you tables/trees editors until a similar feature than the diagram decoration is made for DTable/DTree with specification from the VSM editor.