Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (decorator == null)
			fViewer.setLabelProvider(fJavaElementLabelProvider);
		else
			fViewer.setLabelProvider(new DecoratingLabelProvider(fJavaElementLabelProvider, decorator));
	}
	
	/*
	 * @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
	 */
	public void propertyChange(PropertyChangeEvent event) {
		if (fViewer == null)
			return;
		
		boolean refreshViewer= false;
	
		if (event.getProperty() == JavaBasePreferencePage.SHOW_CU_CHILDREN) {
			IActionBars actionBars= getViewSite().getActionBars();
			fillToolBar(actionBars.getToolBarManager());
			actionBars.updateActionBars();
			
			boolean showCUChildren= JavaBasePreferencePage.showCompilationUnitChildren();
			((JavaElementContentProvider)fViewer.getContentProvider()).setProvideMembers(showCUChildren);
			
			refreshViewer= true;
		}			
		if (refreshViewer)
			fViewer.refresh();
	}
}