Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Label decoration for files containing errors
Label decoration for files containing errors [message #1397977] Thu, 10 July 2014 12:28 Go to next message
Benoit Ries is currently offline Benoit RiesFriend
Messages: 86
Registered: May 2013
Member
Hi,

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 ?

thanks in advance,
Benoît
Re: Label decoration for files containing errors [message #1397987 is a reply to message #1397977] Thu, 10 July 2014 12:49 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
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
Re: Label decoration for files containing errors [message #1398537 is a reply to message #1397987] Fri, 11 July 2014 08:00 Go to previous message
Benoit Ries is currently offline Benoit RiesFriend
Messages: 86
Registered: May 2013
Member
ok done.

bugzilla created, see below
https://bugs.eclipse.org/bugs/show_bug.cgi?id=439402
Previous Topic:Edges in containers
Next Topic:Reusing viewpoint descriptions
Goto Forum:
  


Current Time: Fri Apr 26 11:14:59 GMT 2024

Powered by FUDForum. Page generated in 0.03300 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top