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/ui/actions/BuildActionGroup.java
fBuildAction= new BuildAction(shell, IncrementalProjectBuilder.INCREMENTAL_BUILD);
		fBuildAction.setText(ActionMessages.getString("BuildAction.label")); 
		
		fFullBuildAction= new BuildAction(shell, IncrementalProjectBuilder.FULL_BUILD);
		fFullBuildAction.setText(ActionMessages.getString("RebuildAction.label")); 
		
		fRefreshAction= new RefreshAction(shell);
		
		provider.addSelectionChangedListener(fBuildAction);
		provider.addSelectionChangedListener(fFullBuildAction);
		provider.addSelectionChangedListener(fRefreshAction);
	}
	
	/**
	 * Returns the refresh action managed by this group.
	 * 
	 * @return the refresh action. If this group doesn't manage a refresh action
	 * 	<code>null</code> is returned.
	 */
	public RefreshAction getRefreshAction() {
		return fRefreshAction;
	}
	/* (non-Javadoc)
	 * Method declared in ActionGroup
	 */
	public void fillActionBars(IActionBars actionBar) {
		super.fillActionBars(actionBar);
		setGlobalActionHandlers(actionBar);
	}