Bug 201664 [Markers] Problems view's "Show items of type" filter does not work correctly
The Problems view's "Show items of type" filter does not work correctly: 1. Open the Problems view. 2. Click the "Configure the filters to apply to this view" tool. 3. Under "Show items of type", click the "Deselect All" button. 4. Click the "OK" button to accept the changes and close the dialog. 5. Click the "Configure the filters to apply to this view" tool. 6. Under "Show items of type", click the "Select All" button. 7. Click the "OK" button to accept the changes and close the dialog. 8. Click the "Configure the filters to apply to this view" tool. 9. Notice that not all the items are checked. The following are NOT checked: [] Java Build Path Problems [] Build Path Problems [] JRE System Library Problems []Java Problems []Java Problem [] PDE Problems []PDE Problem
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerFilter.java
});
		typesViewer.setInput(getSelectedFilter().getRootTypes().toArray());
		Composite buttonComposite = new Composite(composite, SWT.NONE);
		GridLayout buttonLayout = new GridLayout();
		buttonLayout.marginWidth = 0;
		buttonComposite.setLayout(buttonLayout);
		selectAllButton = createButton(buttonComposite, SELECT_ALL_ID,
				MarkerMessages.filtersDialog_selectAllTypes, false);
		deselectAllButton = createButton(buttonComposite, DESELECT_ALL_ID,
				MarkerMessages.filtersDialog_deselectAllTypes, false);
	}
	/**
	 * Get the currently selected marker filter if there is only one selection.
	 * 
	 * @return MarkerFilter or <code>null</code>.
	 */
	protected MarkerFilter getSelectedFilter() {
		if (selectedFilters.length == 1) {
			return selectedFilters[0];
		}
		return null;
	}
	/**
	 * Get the content provider for the receiver.
	 * 
	 * @return ITreeContentProvider
	 */
	private ITreeContentProvider getTypesContentProvider() {
		return new ITreeContentProvider() {
			/*