Bug 229351 [Contributions] Customize Perspective dialog removes menu entires
I20080429-0100. (works in 3.4 M6a) 1. start fresh workspace 2. verify that the 'Edit' menu contains, e.g. Cut, Copy, Paste 3. Window > Customize Perspective... 4. click 'Cancel' (alternatively you can go and edit, then click 'OK') 5. observe: menu entries are gone from the 'Edit' menu The user has to restart in order to get the menu working again.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
public boolean isWorkbenchCoolItemId(String id) {
        if (IWorkbenchActionConstants.TOOLBAR_FILE.equalsIgnoreCase(id)) {
			return true;
		}
        if (IWorkbenchActionConstants.TOOLBAR_NAVIGATE.equalsIgnoreCase(id)) {
			return true;
		}
        return false;
    }
    /**
     * Fills the status line with the workbench contribution items.
     */
    protected void fillStatusLine(IStatusLineManager statusLine) {
        statusLine.add(statusLineItem);
    }
    /**
     * Creates actions (and contribution items) for the menu bar, toolbar and status line.
     */
    protected void makeActions(final IWorkbenchWindow window) {
    	ISharedImages sharedImages = window.getWorkbench().getSharedImages();
    	IActionCommandMappingService acms = (IActionCommandMappingService) window
				.getService(IActionCommandMappingService.class);
        
        statusLineItem = new StatusLineContributionItem("ModeContributionItem"); 
        newWizardAction = ActionFactory.NEW.create(window);
        register(newWizardAction);
        newWizardDropDownAction = IDEActionFactory.NEW_WIZARD_DROP_DOWN
                .create(window);
        register(newWizardDropDownAction);
        importResourcesAction = ActionFactory.IMPORT.create(window);