Bug 135559 [Markers] Problem view sections collapse after manual build
3.2 M6 The sections in the problem view collapse after a manual build For example: - set autobuild off - expand the errors section in the problem view - click on a problem - fix the problem - build - notice that the "error" section is now collapsed.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
}
		} else {
			MarkerFilter[] newFilters = new MarkerFilter[sections.length];
			for (int i = 0; i < sections.length; i++) {
				newFilters[i] = createFilter(sections[i].getID());
				newFilters[i].restoreState(sections[i]);
			}
			setFilters(newFilters);
		}
		if (markerFilters.length == 0) {
			createDefaultFilter();
		}
	}
	/**
	 * Create a default filter for the receiver.
	 * 
	 */
	private void createDefaultFilter() {
		MarkerFilter filter = createFilter(MarkerMessages.MarkerFilter_defaultFilterName);
		setFilters(new MarkerFilter[] { filter });
	}
	/**
	 * Create a filter called name.
	 * 
	 * @param name
	 * @return MarkerFilter
	 */
	protected abstract MarkerFilter createFilter(String name);
	/**
	 * Return the memento tag for the receiver.