[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: tree viewer refresh problem ...

Hi guys thanks for your help but none of the solution works :-(



I have checked and printed the status of the model before actually calling 
the refresh or update, it is correct but the decorator is not called ...



hope I haven't done anything wrong in the viewer...



anything I can check :-(



Cheers

Kar


"Tom Schindl" <tom.schindl@xxxxxxxxxxxxxxx> wrote in message 
news:fr82cr$8h4$1@xxxxxxxxxxxxxxxxxxxx
> isn't viewer update(Object,null) enough to update the decoration status?
>
> Tom
>
> Shawn Spiars schrieb:
>> KarSc wrote:
>>
>>>
>>> Note: I have seen that If I run the refresh on the item itself the label
>>> will not get properly updated .
>>>
>>
>> Not sure if this will work, but you might try refresh on the item with 
>> the updateLabels set to true.
>>
>> viewer.refresh(Object element, boolean updateLabels);
>
>
> -- 
> B e s t S o l u t i o n . at
> --------------------------------------------------------------------
> Tom Schindl                                          JFace-Committer
> --------------------------------------------------------------------