Bug 535686 - use one queue for scheduling async tasks

Queue async tasks coming from ChildrenUpdate's jobs via
scheduleViewerUpdate() in the same queue with async tasks coming from
modelChanged(), so that they all run in more predictable order. This
allows us to run async UI updates triggered by ElementContentProvider
jobs before we run next batch of model change events.

Additionally this should further reduce the number of
Display.asyncExec() tasks coming from debugger.

Change-Id: I4a16e9cc79ab453b35d064c85440b726a4772442
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
1 file changed