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
int markerLimit = MarkerSupportInternalUtilities.getMarkerLimit();
			for (int i = 0; i < categories.length; i++) {
				filteredCount += markerLimit < 0 ? categories[i].getTotalSize()
						: Math.min(categories[i].getTotalSize(), markerLimit);
			}
		} else {
			filteredCount = MarkerSupportInternalUtilities.getMarkerLimit();
		}
		if (filteredCount < 0 || filteredCount >= totalCount) {
			status = NLS.bind(MarkerMessages.filter_itemsMessage, new Integer(
					totalCount));
		} else {
			status = NLS.bind(MarkerMessages.filter_matchedMessage,
					new Integer(filteredCount), new Integer(totalCount));
		}
		setContentDescription(status);
	}
	/**
	 * Set the selection of the receiver. reveal the item if reveal is true.
	 * 
	 * @param structuredSelection
	 * @param reveal
	 */
	void setSelection(StructuredSelection structuredSelection, boolean reveal) {
		List newSelection = new ArrayList(structuredSelection.size());
		for (Iterator i = structuredSelection.iterator(); i.hasNext();) {
			Object next = i.next();
			if (next instanceof IMarker) {
				MarkerItem marker = builder.getMarkerItem((IMarker) next);
				if (marker != null) {