Bug 138359 [ProblemsView] Filters not restored on import
I have 2 problems view filters in my saved preferences. 1 is the default filter, changed to only work on the select item. 2 is a new filter, where the sev is Error. When created, it defaulted to "On working set" where the working set default was the Workspace Working set. I just created a new workspace in N20060425-0010, imported my preferences, and grabbed platform-ui from HEAD. None of the errors (for win32 and carbon) showed up, and when I checked my #2 filter, the working set has been changed to non-selected. PW
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/CachedMarkerBuilder.java
import org.eclipse.ui.progress.IWorkbenchSiteProgressService;
import org.eclipse.ui.statushandlers.StatusManager;
import org.eclipse.ui.views.markers.FilterConfigurationArea;
import org.eclipse.ui.views.markers.MarkerField;
import org.eclipse.ui.views.markers.MarkerItem;
import org.eclipse.ui.views.markers.internal.MarkerGroup;
import org.eclipse.ui.views.markers.internal.MarkerMessages;
import org.eclipse.ui.views.markers.internal.MarkerSupportRegistry;
import org.eclipse.ui.views.markers.internal.MarkerType;
import org.eclipse.ui.views.markers.internal.ProblemFilter;
import org.eclipse.ui.views.markers.internal.Util;
/**
 * The CachedMarkerBuilder is the object that generates the list of markers from
 * a generator.
 * 
 * @since 3.4
 * 
 */
public class CachedMarkerBuilder {
	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 VALUE_NONE = "none"; 
	private static final String TAG_LEGACY_FILTER_ENTRY = "filter";