Bug 339347 [Markers] Can't toggle item limits in Problems view any more without losing limit
I20110308-2000 I can't toggle item limits in Problems view any more without losing limits. After I've disabled the limits, the next time I enable limits, the value is "1". The stored value should not be changed.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerContentGenerator.java
* @param markerLimits The markerLimits to set.
	 */
	public void setMarkerLimits(int markerLimits) {
		this.markerLimits = markerLimits;
	}
	/**
	 * @return Collection of declared MarkerFieldFilterGroup(s)
	 */
	Collection getDeclaredFilters() {
		List filters = new ArrayList();
		IConfigurationElement[] filterReferences = generatorDescriptor.getFilterReferences();
		for (int i = 0; i < filterReferences.length; i++) {
			filters.add(new MarkerFieldFilterGroup(filterReferences[i], this));
		}
		
		if (viewId != null && viewId.equals(IPageLayout.ID_PROBLEM_VIEW)) {
			Iterator problemFilters = MarkerSupportRegistry.getInstance()
					.getRegisteredFilters().iterator();
			while (problemFilters.hasNext())
				filters.add(new CompatibilityMarkerFieldFilterGroup(
						(ProblemFilter) problemFilters.next(), this));
		}
		return filters;
	}
	/**
	 * Get the name of the filters preference for the receiver,
	 * 
	 * @return String
	 */
	private String getLegacyFiltersPreferenceName() {