Bug 153888 [Markers] Marker views update on each resource delta (was: Problems view flashes when launching anything)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
*/
		public IStatus runInUIThread(IProgressMonitor monitor) {
			if (getViewer().getControl().isDisposed()) {
				return Status.CANCEL_STATUS;
			}
			if (monitor.isCanceled())
				return Status.CANCEL_STATUS;
			getViewer().refresh(true);
			Tree tree = getTree();
			if (tree != null && !tree.isDisposed()) {
				updateStatusMessage();
				updateTitle();
				
				if (getCurrentMarkers().getSize() < 20) {
					getViewer().expandAll();
				} else {
					MarkerCategory[] categories = getMarkerAdapter()
							.getCategories();
					if (categories == null)
						categoriesToExpand.clear();
					else {
						if (categories.length == 1) {
							
							
							getViewer().expandAll();
							categoriesToExpand.clear();
							if (monitor.isCanceled())
								return Status.CANCEL_STATUS;
							categoriesToExpand.add(categories[0].getName());
						} else {