Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (fActionSet != null)	
			fActionSet.dispose();
		super.dispose();	
	}
	/**
	 * Implementation of IWorkbenchPart.createPartControl(Composite)
	 */
	public void createPartControl(Composite parent) {
		fViewer= new ProblemTreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
		
		boolean showCUChildren= JavaBasePreferencePage.showCompilationUnitChildren();
		boolean reconcile= JavaBasePreferencePage.reconcileJavaViews();
		fViewer.setContentProvider(new JavaElementContentProvider(showCUChildren, reconcile));
		
		JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);
		
		ILabelProvider labelProvider= 
			new AppearanceAwareLabelProvider(
				AppearanceAwareLabelProvider.DEFAULT_TEXTFLAGS | JavaElementLabels.P_COMPRESSED,
				AppearanceAwareLabelProvider.DEFAULT_IMAGEFLAGS | JavaElementImageProvider.SMALL_ICONS,
				AppearanceAwareLabelProvider.getDecorators(true, null)
			);
		
		fViewer.setLabelProvider(new DecoratingLabelProvider(
			labelProvider, PlatformUI.getWorkbench().getDecoratorManager().getLabelDecorator())
		);
		fViewer.setSorter(new JavaElementSorter());
		fViewer.addFilter(new EmptyInnerPackageFilter());
		fViewer.setUseHashlookup(true);
		fViewer.addFilter(fPatternFilter);