|
Re: [DataBinding] ComputedList refresh [message #534443 is a reply to message #534432] |
Wed, 19 May 2010 08:43 |
Eclipse User |
|
|
|
Originally posted by: Thomas.Kowatsch.ruag.com
Hi Matt.
There is a DelayedObservableValue class which does the same thing for
IObservableValues.
I did not find something similar for lists/sets/maps.
I didn't had a look into the implementation of DelayedObservableValue,
but you might be able to adapt that for lists/sets/maps?
I also think it would make sense to have a DelayedObservableList, etc.
integrated in the databinding in the framework.
Cheers.
--Thomas
Matt Biggs schrieb:
> I have a TableViewer bound to a ComputedList which is calculated from a
> standard EMF EList.
> At one point i have to execute a fairly large number of commands.
> These are all wrapped up in a CompoundCommand however when each sub
> command executes it's causes the ComputedList to trigger and fires off
> rather alot of refresh events on the TableViewer.
>
> Is there a way i can either disable notifications in EMF to prevent the
> databinding triggering, or a ComputedList that works with a delay to
> batch up the events a bit like EMF's
> AdapterFactoryContentProvider.ViewerRefresh does?
>
> Any help would be much appreciated.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02635 seconds