Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334288 - Eclipse extension eclipse.ui.decorators does not work for ModelExplorer in version 0.7.1
Summary: Eclipse extension eclipse.ui.decorators does not work for ModelExplorer in ve...
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 11:53 EST by Grit Dudeck CLA
Modified: 2013-05-30 05:15 EDT (History)
1 user (show)

See Also:


Attachments
The attached patch allows decorators for the ModelExplorer (19.19 KB, text/plain)
2011-03-09 17:01 EST, Grit Dudeck CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grit Dudeck CLA 2011-01-13 11:53:41 EST
Build Identifier: 20100917-0705

I have updated my Papyrus to version 0.7.1 and since then my label decorator does not work anymore. I've defined an extension for a lightweiht label decorator (org.eclipse.ui.decorators) that is enabled for EObjects. 

Reproducible: Always
Comment 1 Grit Dudeck CLA 2011-01-21 06:20:31 EST
The decorate method of the lightweight decorator is called but the icon/text is not shown in the model explorer.
Comment 2 Grit Dudeck CLA 2011-03-09 17:01:57 EST
Created attachment 190801 [details]
The attached patch allows decorators for the ModelExplorer

The problem is solved when changing code in class 'ModelExplorerView' in method 'createCommonViewerObject'. The label provider of the viewer has to be a  'NavigatorDecoratingLabelProvider' to allow decorators for the ModelExplorer.
Comment 3 Chokri Mraidha CLA 2012-01-06 09:40:46 EST
Bug fix committed on the branch (version 0.8.X).
Comment 4 Camille Letavernier CLA 2013-03-25 08:43:23 EDT
Fixed