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
window,
				IDEActionFactory.OPEN_PROJECT.getId(),
				openProjectId,
				null,
				null,
				null,
				null, IDEWorkbenchMessages.OpenResourceAction_text, null,
				IDEWorkbenchMessages.OpenResourceAction_toolTip,
				CommandContributionItem.STYLE_PUSH, null, false);
		openProjectItem = new CommandContributionItem(openProjectParm);
        acms.map(IDEActionFactory.OPEN_PROJECT.getId(), openProjectId);
        String closeProjectId = "org.eclipse.ui.project.closeProject"; 
		CommandContributionItemParameter closeProjectParm = new CommandContributionItemParameter(
				window,
				IDEActionFactory.CLOSE_PROJECT.getId(),
				closeProjectId,
				null,
				null,
				null,
				null, IDEWorkbenchMessages.CloseResourceAction_text, null,
				IDEWorkbenchMessages.CloseResourceAction_text,
				CommandContributionItem.STYLE_PUSH, null, false);
		closeProjectItem = new CommandContributionItem(closeProjectParm);
        acms.map(IDEActionFactory.CLOSE_PROJECT.getId(), closeProjectId);
        openWorkspaceAction = IDEActionFactory.OPEN_WORKSPACE
                .create(window);
        register(openWorkspaceAction);
        projectPropertyDialogAction = IDEActionFactory.OPEN_PROJECT_PROPERTIES
                .create(window);
        register(projectPropertyDialogAction);