Bug 127746 [build path] Build Path action "no actions available" should be disabled
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/GenerateBuildPathActionGroup.java
*/
    public GenerateBuildPathActionGroup(IViewPart part) {
        this(part.getSite());
    }
    
    private GenerateBuildPathActionGroup(IWorkbenchSite site) {
        fSite= site;
        
        final AddSourceFolderAction addSourceFolderAction= new AddSourceFolderAction();
		final UpdateJarFileAction updateAction= new UpdateJarFileAction();
		final ISelectionProvider provider= fSite.getSelectionProvider();
		provider.addSelectionChangedListener(addSourceFolderAction);
		provider.addSelectionChangedListener(updateAction);
		final EditFilterAction editFilterAction= new EditFilterAction();
		provider.addSelectionChangedListener(editFilterAction);
		
		final AddLinkedSourceFolderAction addLinkedSourceFolderAction= new AddLinkedSourceFolderAction();
		provider.addSelectionChangedListener(addLinkedSourceFolderAction);
		
		final BuildActionSelectionContext context= new BuildActionSelectionContext();
		fActions= new Action[] {
				addLinkedSourceFolderAction,
				addSourceFolderAction,
				createBuildPathAction(fSite, IClasspathInformationProvider.ADD_SEL_SF_TO_BP, context),
				createBuildPathAction(fSite, IClasspathInformationProvider.ADD_SEL_LIB_TO_BP, context),
				createBuildPathAction(fSite, IClasspathInformationProvider.REMOVE_FROM_BP, context),
				createBuildPathAction(fSite, IClasspathInformationProvider.ADD_JAR_TO_BP, context),
				createBuildPathAction(fSite, IClasspathInformationProvider.ADD_LIB_TO_BP, context),
				updateAction,
				createBuildPathAction(fSite, IClasspathInformationProvider.EXCLUDE, context),