Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
return;
		} else	if (selection.isEmpty() && !isInputResetBy(part)) {
			fPreviousSelectionProvider= part;
			return;
		} else if (selectedElement == null && part == fPreviousSelectionProvider) {
			setInput(null);
			fPreviousSelectionProvider= part;
			return;
		}
		fPreviousSelectionProvider= part;
		
		 
		if (selectedElement instanceof IJavaElement)
			adjustInputAndSetSelection((IJavaElement)selectedElement);
		else
			setSelection(StructuredSelection.EMPTY, true);
	}
	void setHasWorkingSetFilter(boolean state) {
		fHasWorkingSetFilter= state;
	}
	void setHasCustomSetFilter(boolean state) {
		fHasCustomFilter= state;
	}
	
	protected void setInput(Object input) {
		setViewerInput(input);
		updateTitle();
	}
	private void setViewerInput(Object input) {
		fProcessSelectionEvents= false;