Bug 52506 [Workbench] minimize needs keyboard shortcut and menu entry
I20040219 1. I start to like the new look - a lot more polished than the previews a couple weeks back. 2. I *love* the minimze capabilities of views - this enables a "docking" like interaction with, say, the console when put to the bottom of the screen. -> Minimize needs a shortcut as Maximize has Ctrl+M. How about Ctrl+Shift+M? -> Minimize is also not yet present in the view menu.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
menubar.add(createWindowMenu());
        menubar.add(createHelpMenu());
    }
    /**
     * Creates and returns the File menu.
     */
    private MenuManager createFileMenu() {
        MenuManager menu = new MenuManager(IDEWorkbenchMessages
                .getString("Workbench.file"), IWorkbenchActionConstants.M_FILE); 
        menu.add(new GroupMarker(IWorkbenchActionConstants.FILE_START));
        {
            
            String newText = IDEWorkbenchMessages.getString("Workbench.new"); 
            String newId = ActionFactory.NEW.getId();
            MenuManager newMenu = new MenuManager(newText, newId) {
                public String getMenuText() {
                    String result = super.getMenuText();
                    if (newQuickMenu == null)
                        return result;
                    String shortCut = newQuickMenu.getShortCutString();
                    if (shortCut == null)
                        return result;
                    return result + "\t" + shortCut; 
                }
            };
            newMenu.add(new Separator(newId));
            this.newWizardMenu = new NewWizardMenu(getWindow());
            newMenu.add(this.newWizardMenu);
            newMenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
            menu.add(newMenu);