Bug 15157 New-> menu disappears when folder is selected
Build: 20020501 The New-> menu in the packages view is not added to the pop-up menu when a folder is selected. It is added when a source folder is selected.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
menu.appendToGroup(
			IContextMenuConstants.GROUP_OPEN, 
			new PatchedOpenInNewWindowAction(getSite().getWorkbenchWindow(), (IContainer)element));
	}
	private void createActions() {		
		fActionGroups= new CompositeActionGroup(new ActionGroup[] {
				new OpenEditorActionGroup(this), 
				new OpenViewActionGroup(this), 
				new ShowActionGroup(this), 
				fCCPActionGroup= new CCPActionGroup(this), 
				new RefactorActionGroup(this),
				new ImportActionGroup(this),
				new GenerateActionGroup(this),
				fBuildActionGroup= new BuildActionGroup(this),
				new JavaSearchActionGroup(this, getViewer())});
		String viewId= getConfigurationElement().getAttribute("id"); 
		Assert.isNotNull(viewId);
		
		IPropertyChangeListener titleUpdater= new IPropertyChangeListener() {
			public void propertyChange(PropertyChangeEvent event) {
				String property= event.getProperty();
				if (IWorkingSet.CHANGE_WORKING_SET_NAME_CHANGE.equals(property))
					updateTitle();
			}
		};
		fWorkingSetFilterActionGroup= new WorkingSetFilterActionGroup(fViewer, viewId, getShell(), titleUpdater);
	}
	
	/**
	 * Returns the shell to use for opening dialogs.