fJavaElementLabelProvider, getViewSite().getDecoratorManager())
fJavaElementLabelProvider, PlatformUI.getWorkbench().getDecoratorManager())
	public void createPartControl(Composite parent) {		fViewer= new ProblemTreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);				boolean showCUChildren= JavaBasePreferencePage.showCompilationUnitChildren();		fViewer.setContentProvider(new JavaElementContentProvider(showCUChildren, false));				JavaPlugin.getDefault().getProblemMarkerManager().addListener(fViewer);				JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);				fJavaElementLabelProvider= 			new StandardJavaUILabelProvider(				StandardJavaUILabelProvider.DEFAULT_TEXTFLAGS | JavaElementLabels.P_COMPRESSED,				StandardJavaUILabelProvider.DEFAULT_IMAGEFLAGS | JavaElementImageProvider.SMALL_ICONS,				StandardJavaUILabelProvider.getAdornmentProviders(true, null)			);				fViewer.setLabelProvider(new DecoratingLabelProvider(			fJavaElementLabelProvider, getViewSite().getDecoratorManager())		);		fViewer.setSorter(new JavaElementSorter());		fViewer.addFilter(new EmptyInnerPackageFilter());		fViewer.setUseHashlookup(true);		fViewer.addFilter(fPatternFilter);		fViewer.addFilter(fLibraryFilter);				fMemberFilterActionGroup= new MemberFilterActionGroup(fViewer, "PackageView"); // adds filter			fViewer.addFilter(fWorkingSetFilter);		if(fMemento != null) 			restoreFilters();		else			initFilterFromPreferences();					// Set input after filter and sorter has been set. This avoids resorting		// and refiltering.		fViewer.setInput(findInputElement());		initDragAndDrop();		initFrameList();		initKeyListener();		updateTitle();				MenuManager menuMgr= new MenuManager("#PopupMenu"); //$NON-NLS-1$		menuMgr.setRemoveAllWhenShown(true);		menuMgr.addMenuListener(this);		fContextMenu= menuMgr.createContextMenu(fViewer.getTree());		fViewer.getTree().setMenu(fContextMenu);		getSite().registerContextMenu(menuMgr, fViewer);				makeActions(); // call before registering for selection changes					fSelectionListener= new ISelectionChangedListener() {			public void selectionChanged(SelectionChangedEvent event) {				handleSelectionChanged(event);			}		};		fViewer.addSelectionChangedListener(fSelectionListener);				fViewer.addDoubleClickListener(new IDoubleClickListener() {			public void doubleClick(DoubleClickEvent event) {				handleDoubleClick(event);			}		});		getSite().setSelectionProvider(fViewer);		getSite().getPage().addPartListener(fPartListener);		IStatusLineManager slManager= getViewSite().getActionBars().getStatusLineManager();		fViewer.addSelectionChangedListener(new StatusBarUpdater(slManager));		fViewer.addTreeListener(fExpansionListener);			if (fMemento != null)			restoreState(fMemento);		fMemento= null;		// Set help for the view 		JavaUIHelp.setHelp(fViewer, IJavaHelpContextIds.PACKAGES_VIEW);				fillActionBars();	}