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
import org.eclipse.ui.help.WorkbenchHelp;
import org.eclipse.ui.part.ISetSelectionTarget;
import org.eclipse.ui.part.ViewPart;
import org.eclipse.ui.views.internal.framelist.BackAction;
import org.eclipse.ui.views.internal.framelist.ForwardAction;
import org.eclipse.ui.views.internal.framelist.FrameList;
import org.eclipse.ui.views.internal.framelist.GoIntoAction;
import org.eclipse.ui.views.internal.framelist.UpAction;
/**
 * The ViewPart for the ProjectExplorer. It listens to part activation events.
 * When selection linking with the editor is enabled the view selection tracks
 * the active editor page. Similarly when a resource is selected in the packages
 * view the corresponding editor is activated. 
 */
public class PackageExplorerPart extends ViewPart implements ISetSelectionTarget, IMenuListener, IPackagesViewPart,  IPropertyChangeListener {
	
	public final static String VIEW_ID= JavaUI.ID_PACKAGES;
				
	
	static final String TAG_SELECTION= "selection"; 
	static final String TAG_EXPANDED= "expanded"; 
	static final String TAG_ELEMENT= "element"; 
	static final String TAG_PATH= "path"; 
	static final String TAG_VERTICAL_POSITION= "verticalPosition"; 
	static final String TAG_HORIZONTAL_POSITION= "horizontalPosition"; 
	static final String TAG_FILTERS = "filters"; 
	static final String TAG_FILTER = "filter"; 
	static final String TAG_SHOWLIBRARIES = "showLibraries"; 
	static final String TAG_SHOWBINARIES = "showBinaries"; 
	private JavaElementPatternFilter fPatternFilter= new JavaElementPatternFilter();