Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334288

Summary: Eclipse extension eclipse.ui.decorators does not work for ModelExplorer in version 0.7.1
Product: [Modeling] Papyrus Reporter: Grit Dudeck <grit.du>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Chokri.Mraidha
Version: 0.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
The attached patch allows decorators for the ModelExplorer none

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