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
/**
     * Returns the window to which this action builder is contributing.
     */
    private IWorkbenchWindow getWindow() {
        return window;
    }
    /**
     * Hooks listeners on the preference store and the window's page, perspective and selection services.
     */
    private void hookListeners() {
        pageListener = new IPageListener() {
            public void pageActivated(IWorkbenchPage page) {
                enableActions(page.getPerspective() != null);
            }
            public void pageClosed(IWorkbenchPage page) {
                IWorkbenchPage pg = getWindow().getActivePage();
                enableActions(pg != null && pg.getPerspective() != null);
            }
            public void pageOpened(IWorkbenchPage page) {
                
            }
        };
        getWindow().addPageListener(pageListener);
        perspectiveListener = new IPerspectiveListener() {
            public void perspectiveActivated(IWorkbenchPage page,
                    IPerspectiveDescriptor perspective) {
                enableActions(true);
            }
            public void perspectiveChanged(IWorkbenchPage page,
                    IPerspectiveDescriptor perspective, String changeId) {