Bug 81372 Package Explorer working set mode can't be restored anymore
M4 test pass - create project - go into this project - press go up to show all projects again - switch to working set mode - close Eclipe - restart observe: Package explorer comes up in project mode again. Even if you switch to working set mode again the package explorer will be in project mode on every restart. Problem is that the package explorer restores the last frame on restart which in this case is alwasy the JavaModel.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
private static final int FLAT_LAYOUT= 0x2;
	
	public final static String VIEW_ID= JavaUI.ID_PACKAGES;
				
	
	static final String TAG_SELECTION= "selection"; 
	static final String TAG_EXPANDED= "expanded"; 
	static final String TAG_ELEMENT= "element"; 
	static final String TAG_PATH= "path"; 
	static final String TAG_VERTICAL_POSITION= "verticalPosition"; 
	static final String TAG_HORIZONTAL_POSITION= "horizontalPosition"; 
	static final String TAG_FILTERS = "filters"; 
	static final String TAG_FILTER = "filter"; 
	static final String TAG_LAYOUT= "layout"; 
	static final String TAG_CURRENT_FRAME= "currentFramge"; 
	static final String TAG_ROOT_MODE= "rootMode"; 
	
	private int fRootMode;
	private WorkingSetModel fWorkingSetModel;
	
	private PackageExplorerLabelProvider fLabelProvider;	
	private PackageExplorerContentProvider fContentProvider;
	private FilterUpdater fFilterUpdater;
	
	private PackageExplorerActionGroup fActionSet;
	private ProblemTreeViewer fViewer; 
	private Menu fContextMenu;		
	
	private IMemento fMemento;	
	private ISelectionChangedListener fSelectionListener;