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
getSelectedResources(), getEnabledFilters(), andFilters());
		return currentResources;
	}
	
	/*
	 * See Bug 296695: This method is trickier than it may seem/appears to be.If
	 * it is ever desired to use this, it would need to be *RE-IMPLEMENTED* and
	 * would need a good amount of testing with various combination of filters
	 * and scopes. The key here is to understand and getting it right how filter
	 * scope and our trimmed, optimized resources and selected resource elements
	 * interact.
	 * Another possible way to check if content has changed is by
	 * comparing the markers gathered freshly with the previously gathered
	 * markers(cache them when an update is not canceled), whether this up to a
	 * visible limit, or completely, or selected filters we have to see. I am
	 * assuming that this takes little time to do. If this is done prior to
	 * sorting a good amount of time can be saved; we still save the UI time if
	 * checked after sorting. In the sorted case we can use a Binary search as
	 * well.Anyhow if this does take up time, we should skip this method.
	 */
	/**
	 * Refresh gathered markers entries
	 * 
	 * @param monitor
	 */
	Collection generateMarkerEntries(IProgressMonitor monitor) {
		List result = new LinkedList();
		String[] typeIds = getTypes();
		boolean includeSubTypes = builder.includeMarkerSubTypes();
		boolean cancelled = gatherMarkers(typeIds, includeSubTypes, result,