Bug 482324 - Need to add Decoration to Tree View items
Summary: Need to add Decoration to Tree View items
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Tree (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-11-16 19:24 EST by Yariv Amar CLA
Modified: 2015-11-17 09:20 EST (History)
1 user (show)

See Also:


Attachments

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