Bug 120691 [Markers] Expanded categories not persisted between sessions
build I20051213 - in the Problems view in hierarchical mode, with many problems showing, - expand a few categories, select some leaf problems - shutdown / restart - the tree is collapsed Users will expect that the work they did to expand/collapse categories to see the problems they care most about will be persisted between sessions.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/ExtendedMarkersView.java
getViewer().getTree().getItem(0));
				if (!categoriesToExpand.isEmpty()
						&& builder.isShowingHierarchy()) {
					MarkerItem[] items = builder.getElements();
					for (int i = 0; i < items.length; i++) {
						String name = ((MarkerCategory) items[i]).getName();
						if (categoriesToExpand.contains(name))
							getViewer().expandToLevel(items[i], 2);
					}
				}
				return Status.OK_STATUS;
			}
			/*
			 * (non-Javadoc)
			 * 
			 * @see org.eclipse.ui.progress.WorkbenchJob#shouldRun()
			 */
			public boolean shouldRun() {
				return !builder.isBuilding();
			}
		};
		updateJob.setSystem(true);
		return updateJob;
	}
	/**
	 * Return the object that is the input to the viewer.
	 * 
	 * @return Object
	 */
	Object getViewerInput() {