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
* @return Collection of {@link MarkerGroup}
	 */
	Collection getMarkerGroups() {
		return generatorDescriptor.getMarkerGroups();
	}
	/**
	 * Return the markerTypes for the receiver.
	 * 
	 * @return Collection of {@link MarkerType}
	 */
	public Collection getMarkerTypes() {
		return generatorDescriptor.getMarkerTypes();
	}
	/**
	 * Return the markerTypes for the receiver.
	 * 
	 * @return Array of type Ids
	 */
	public String[] getTypes() {
		Collection types = getMarkerTypes();
		String[] ids = new String[types.size()];
		Iterator iterator = types.iterator();
		int i = 0;
		while (iterator.hasNext()) {
			ids[i++] = ((MarkerType) iterator.next()).getId();
		}
		return ids;
	}
	/**
	 * Return the name for the receiver.