Bug 63826 Project menu Build Working Set item has extra separator
build i20040520 The project menu "Build Working Set" submenu should be disabled when there are OR when you can not build a working set. (i.e. you are building automatically). Secondly. The submenu looks strange with the extra separator on the top when there are no working sets. This separator should not exist unless there is a working set. Perhaps "Select Working set..." should be on top (so it keeps the same position) and then once there is a working set, you add the separator and then the working sets.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/actions/BuildSetMenu.java
/**********************************************************************
 * Copyright (c) 2004 IBM Corporation and others. All rights reserved.   This
 * program and the accompanying materials are made available under the terms of
 * the Common Public License v1.0 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors: 
 * IBM - Initial API and implementation
 * hzhou@actuate.com - Fix for  Bug 71695 - 
 * [WorkingSets]Removed Working Set is still shown under the menu item 
 * when it is the recently used working set
 **********************************************************************/
package org.eclipse.ui.internal.ide.actions;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.jface.action.ActionContributionItem;
import org.eclipse.jface.action.ContributionItem;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;