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
lastSet = last.getWorkingSet();
			}
			else 
				BuildSetAction.lastBuilt = null;
        }
        
        for (int i = 0; i < sets.length; i++) {
            if (lastSet != null && lastSet.equals(sets[i]))
                continue;
            BuildSetAction action = new BuildSetAction(sets[i], window,
                    actionBars);
            addMnemonic(action, accel++);
            action.setEnabled(!isAutoBuilding);
            new ActionContributionItem(action).fill(menu, -1);
        }
        
        new Separator().fill(menu, -1);
        selectBuildWorkingSetAction.setEnabled(!isAutoBuilding);
        new ActionContributionItem(selectBuildWorkingSetAction).fill(menu, -1);
    }
    public boolean isDirty() {
        return dirty;
    }
    /**
     * Overridden to always return true and force dynamic menu building.
     */
    public boolean isDynamic() {
        return true;
    }
}