Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* @param decorator a label decorator or <code>null</code> for no decorations.
	 */
	public void setLabelDecorator(ILabelDecorator decorator) {
		int labelFlags= JavaElementLabelProvider.SHOW_BASICS | JavaElementLabelProvider.SHOW_OVERLAY_ICONS |
					JavaElementLabelProvider.SHOW_SMALL_ICONS | JavaElementLabelProvider.SHOW_VARIABLE;
		JavaElementLabelProvider javaProvider= new JavaElementLabelProvider(labelFlags);
		javaProvider.setErrorTickManager(new MarkerErrorTickProvider());
		if (decorator == null) {
			fViewer.setLabelProvider(javaProvider);
		} else {
			fViewer.setLabelProvider(new DecoratingLabelProvider(javaProvider, decorator));
		}
	}
	
	/*
	 * @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
	 */
	public void propertyChange(PropertyChangeEvent event) {
		if (event.getProperty() != IPreferencesConstants.SHOW_CU_CHILDREN) 
			return;
					
		if (fViewer != null) {
			IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();
			boolean b= store.getBoolean(IPreferencesConstants.SHOW_CU_CHILDREN);
			((JavaElementContentProvider)fViewer.getContentProvider()).setProvideMembers(b);
			fViewer.refresh();
		}
	}
}