tmf: Update the refresh handler
authorPatrick Tasse <patrick.tasse@gmail.com>
Wed, 23 Jul 2014 14:58:08 +0000 (10:58 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Mon, 11 Aug 2014 21:23:05 +0000 (17:23 -0400)
commitaae89862e537730ad917111dd4b68f21d2e33984
tree37c96f1cace5f7939482019baee649f3aa65d9e4
parentdb84bbc308f5cfbc0916e6d9246881e008e32b9a
tmf: Update the refresh handler

- Remove delay when the handler is not busy
- Allow any Object as source to allow a component to queue different
  types of update that don't cancel each other
- Only execute one update at a time to allow other (non-coalesced) UI
  runnables to execute between updates and to allow updates from other
  sources to be replaced while the handler is busy

Change-Id: I9af49d6a11e8e224bc7ff527ba592c238715c7d7
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30341
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/controlflow/ControlFlowView.java
org.eclipse.linuxtools.tmf.analysis.xml.ui/src/org/eclipse/linuxtools/internal/tmf/analysis/xml/ui/views/xychart/XmlXYViewer.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/TmfUiRefreshHandler.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/TmfStatisticsViewer.java
This page took 0.025313 seconds and 5 git commands to generate.