Bug 339713 [Markers] number of visible items not preserved when view is closed
Build id: I20110310-1119 Problems view -> Configure contents -> Number of items visible per group Set the value to 10, close the Problems view, open the Problems view. Note that value is reset back to the default (100). Rest of the values on the "Configure contents" dialog seems to be preserved on view being closed. In 3.6 equivalent value is preserved when view is closed and reopened.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerContentGenerator.java
void internalUpdateSelectedElements(Object[] elements) {
		Collection resourceCollection = new ArrayList();
		for (int i = 0; i < elements.length; i++) {
			if (elements[i] instanceof IResource) {
				resourceCollection.add(elements[i]);
			} else {
				MarkerResourceUtil.addResources(resourceCollection,
						((ResourceMapping) elements[i]));
			}
		}
		IResource[] newSelection = new IResource[resourceCollection.size()];
		resourceCollection.toArray(newSelection);
		selectedResources = newSelection;
	}
	/**
	 * Update the receiver for a change in selection.
	 * 
	 * @param newElements
	 */
	void updateSelectedResource(Object[] newElements) {
		if (updateNeededForSelection(newElements)) {
			internalUpdateSelectedElements(newElements);
			
			
			requestMarkerUpdate();
			
		}
	}
	/**
	 * Return whether or not the list contains a resource that will require