Community
Participate
Working Groups
build I20040324-0800 - changed the browser example to have View menu actions to toggle visibility of the menubar, cool bar, perspective bar and status line using IWorkbenchWindowConfigurer.setShow* - only the menu bar action had any effect (though I couldn't test turning it back on because the View menu went away <g>)
Kim, would you be able to have a look at this? In 3.1 I made an (unreleased) patch which changed public void setShowCoolBar(boolean show) { showToolBar = show; // @issue need to be able to reconfigure after window's controls created } to: public void setShowCoolBar(boolean show) { if (show != showToolBar) { showToolBar = show; window.updateLayout(); } } Likewise for setShowFastViewBars, setShowPerspectiveBar, setShowStatusLine and setShowProgressIndicator. But there have been subsequent changes here and I don't want to stomp on your toes.
This uses the following (new) method in WorkbenchWindow. /** * Updates the layout data for the default layout, and relays out the shell. * Note that this will only have an effect if the default implementation of * WorkbenchAdvisor.createWindowContents() has been invoked. */ void updateLayout() { if (defaultLayout == null) return; updateLayoutDataForContents(); if (getShell() != null && !getShell().isDisposed()) { getShell().layout(); } }
Boris, I'm inclined to close this as WONTFIX but will defer to you.
Prakash is now responsible for watching bugs in the [RCP] component area.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
This bug is marked as stale for some time. If it is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.