Project: Eclipse_Platform_UI
Bug 370219 Selection service could use an ability to pause dependency recording
Reported: 2012-01-31 09:48:52 | Status: verified fixed

Some Run-and-Tracks might benefit from an ability to stop & resume dependency recording, for instance, when calling 3rd party code such as listeners. In particular, selection service uses async calls to work around this issue which changes expected behavior. I'll add the following methods to RunAndTrack: pauseRecording() resumeRecoding() to provide this functionality and will update selection service to use it.

Files changed in fix:
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/UITest.java