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
}
		return false;
	}
	/**
	 * @return list of selected resources
	 */
	IResource[] getSelectedResources() {
		IResource[] selected=selectedResources;
		IResource[] resources = new IResource[selected.length];
		System.arraycopy(selected, 0, resources, 0,
				selected.length);
		return resources;
	}
	/**
	 * Note:As opposed to the previous scheme, the reason we gather markers only
	 * for the "effective"(ored/anded) resource collection is because collecting
	 * for individual filters and then adding them to a Set to remove duplicates
	 * is a lot more time-consuming than collecting only once,filtering once and
	 * adding to a list once.As a pre-filtering step, the
	 * MarkerFieldFilterGroup#selectByScope uses IPath comparison for selection,
	 * which happens real quickly.Also when filters are Anded we get a chance to
	 * gather only on resources that actually matter.And we get a tool to check
	 * at various places.
	 * 
	 * @return list of resource we want to collect markers for taking various
	 *         enabled filters into account.
	 * 
	 */
	Collection getResourcesForBuild() {
		currentResources = MarkerResourceUtil.computeResources(