|
Re: Label decoration for files containing errors [message #1397987 is a reply to message #1397977] |
Thu, 10 July 2014 12:49 |
|
Le 10/07/2014 14:28, Benoit Ries a écrit :
> Hi,
Hi Benoit,
>
> When I have a file with errors, the file label decoration doesn't show the related red star, see screenshot attached to this post. Note that the decoration appears correctly on projects and folders.
>
> Any idea, why ?
The Sirius's CNF content management label provider used in the Modeling
Exlorer adds the "M" decorator to the file icon [1]. It get the original
image, add the decorator and use a cache. When the validation add its
decorator, I think we get the previous decorated icon from the
SiriusEditPlugin cache and so the image might not be decorated. We
should eventually check the descriptors in this class before taking the
cached image and look why the validation decorator is not added by the
decorator service.
Could you create a bugzilla to track this issue ?
>
> thanks in advance,
> Benoît
>
Regards,
Maxime
[1]
org.eclipse.sirius.ui.tools.internal.views.common.navigator.SiriusCommonLabelProvider.getImage(Object)
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03300 seconds