Bug 32714 Packages View: flickering and loosing expanded state when logical package is selected with hierarchical layout
In the java browsing perspective: - enable hierarchical layout for the packages view - select a logical package in the packages view - select types/methods in the types/methods views -> the packages view flickers and looses the expanded state (the tree is only expanded upto the logical package, other expanded subtrees are collapsed)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java
*/
	protected void setInput(Object input) {
		setViewerWrapperInput(input);
		super.updateTitle();
	}
	
	private void setViewerWrapperInput(Object input) {
		fWrappedViewer.setViewerInput(input);
	}
	
	/**
	 * @see org.eclipse.jdt.internal.ui.browsing.JavaBrowsingPart#fillActionBars(org.eclipse.ui.IActionBars)
	 */
	protected void fillActionBars(IActionBars actionBars) {
		super.fillActionBars(actionBars);
		fSwitchActionGroup.fillActionBars(actionBars);
	}
	
	
	private void setUpViewer(StructuredViewer viewer){
		Assert.isTrue(viewer != null);
		JavaUILabelProvider labelProvider= createLabelProvider();	
		viewer.setLabelProvider(createDecoratingLabelProvider(labelProvider));
		
		viewer.setSorter(createJavaElementSorter());
		viewer.setUseHashlookup(true);
		
		createContextMenu();