Bug 124883 problems view: automatically disable marker limits when in group mode
20060123 When in the problem view shows groups, the marker limits should be automatically disabled. Or the limits should specify the maximum numbers of all markers in a group, not for the total number of problems.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java
}
	/**
	 * Return the elements in the adapter.
	 * 
	 * @param root
	 * @return Object[]
	 */
	public Object[] getElements() {
		if (lastMarkers == null) {
			view.scheduleMarkerUpdate();
			building = true;
		}
		if (building)
			return Util.EMPTY_MARKER_ARRAY;
		if (isShowingHierarchy() && categories != null)
			return categories;
		return lastMarkers.toArray();
	}
	/**
	 * Return whether or not the receiver has markers without scheduling
	 * anything if it doesn't.
	 * 
	 * @return boolean <code>true</code> if the markers have not been
	 *         calculated.
	 */
	public boolean hasNoMarkers() {
		return lastMarkers == null;
	}
}