Bug 269869 [Markers] No "Restore Defaults" button in filter dialog for ProblemsView
After trying to configure the ProblemsView with various filters, I noticed that there is no "Restore Defaults" button in many of the dialogs used for filtering views. Some examples include: ProblemsView > "Configure Contents..." (Problems View) PackageExplorerPart > "Filters..." (Package Explorer) CommonNavigator > "Customize View..." (Project Explorer) I know this is probably an enhancement request rather than a bug report, but I think that from a usability standpoint, you should be able to reset a view's filter(s) back to the default without having to reset the perspective. Also, would like to note that the reason why I'm posting this bug is because just then, when trying to filter the problems view to show errors/warnings "On selected element only", it at first did not give me the results I expected. After trying to get the filters back to show errors in the entire workspace, absolutely zero problems were showing up in my view.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/CachedMarkerBuilder.java
private static final MarkerCategory[] EMPTY_CATEGORY_ARRAY = new MarkerCategory[0];
	private static final MarkerEntry[] EMPTY_ENTRY_ARRAY = new MarkerEntry[0];
	private static final int SHORT_DELAY = 100;
	
	private static final int TIME_OUT = 30000;
	private static final String TAG_FILTERS_SECTION = "filterGroups"; 
	private static final String TAG_GROUP_ENTRY = "filterGroup"; 
	private static final String TAG_AND = "andFilters"; 
	private static final String TAG_CATEGORY_GROUP = "categoryGroup"; 
	private static final String TAG_COLUMN_VISIBILITY = "visible"; 
	private static final String VALUE_NONE = "none"; 
	private static final String TAG_LEGACY_FILTER_ENTRY = "filter"; 
	private static final Integer[] EMPTY_MARKER_COUNTS = { new Integer(0),
			new Integer(0), new Integer(0) };
	private boolean building = true;
	
	private MarkerCategory[] categories;
	private MarkerMap currentMap = null;
	private MarkerContentGenerator generator; 
	
	
	private Job markerProcessJob;
	private IWorkbenchSiteProgressService progressService;
	private Job updateJob;
	private MarkerGroup categoryGroup;
	private Collection enabledFilters;
	private Collection filters;
	private IResource[] focusResources = MarkerSupportInternalUtilities.EMPTY_RESOURCE_ARRAY;