|
Re: [Decorator] Icons not refreshed [message #113107 is a reply to message #112883] |
Sun, 23 November 2008 11:04 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Gilles,
is the change of the item's state triggered by an interaction of the
current user or by some background operation? In the latter case you
might need to force an update of the client. You could have a look at
UiCallBack#activate().
Regards, Ralf
Gilles Scouvart wrote:
> Hi RAP team,
>
> We are using a decorator on a TreeViewer, showing when an item is locked.
> Despite all our efforts (calls to TreeViewer#refresh() and to
> DecoratorManager.update(MyDecorator.ID)), the icons are not immediately
> updated when an item gets locked, although the
> MyDecorator#decorate(Object,Decoration) method was called. Only after
> some other action (opening another editor, etc.) do we see the change.
>
> Do you have an idea as how to force a refresh?
>
> Thanks for your help!
>
|
|
|
|
|
Re: [Decorator] Icons not refreshed [message #114777 is a reply to message #114765] |
Mon, 08 December 2008 13:45 |
|
Emmanuel Marchal wrote:
> Can anybody help Gilles and I to solve this problem ?
> Thanks !
Please try to enable asynchronous UI updates by calling
UICallback#activate( some id ). For a simple test, you can put this call
into your WorkbenchWindowAdvisor implementation.
Ralf
|
|
|
Powered by
FUDForum. Page generated in 0.03751 seconds