| 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: | Core | Assignee: | 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
Grit Dudeck
The decorate method of the lightweight decorator is called but the icon/text is not shown in the model explorer. 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.
Bug fix committed on the branch (version 0.8.X). Fixed |