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
{ 
            IMenuManager popUpMenu = new MenuManager();
            popUpMenu.add(new ActionContributionItem(lockToolBarAction));
            popUpMenu.add(new ActionContributionItem(editActionSetAction));
            cbManager.setContextMenuManager(popUpMenu);
        }
        cbManager.add(new GroupMarker(IIDEActionConstants.GROUP_FILE));
        { 
            IToolBarManager fileToolBar = new ToolBarManager(cbManager
                    .getStyle());
            fileToolBar.add(new Separator(IWorkbenchActionConstants.NEW_GROUP));
            fileToolBar.add(newWizardDropDownAction);
            fileToolBar.add(new GroupMarker(IWorkbenchActionConstants.NEW_EXT));
            fileToolBar.add(new GroupMarker(
                    IWorkbenchActionConstants.SAVE_GROUP));
            fileToolBar.add(saveAction);
            fileToolBar
                    .add(new GroupMarker(IWorkbenchActionConstants.SAVE_EXT));
            fileToolBar.add(printAction);
            fileToolBar
                    .add(new GroupMarker(IWorkbenchActionConstants.PRINT_EXT));
            fileToolBar
                    .add(new Separator(IWorkbenchActionConstants.BUILD_GROUP));
            fileToolBar
                    .add(new GroupMarker(IWorkbenchActionConstants.BUILD_EXT));
            fileToolBar.add(new Separator(
                    IWorkbenchActionConstants.MB_ADDITIONS));
            
            cbManager.add(new ToolBarContributionItem(fileToolBar,
                    IWorkbenchActionConstants.TOOLBAR_FILE));