Project: Eclipse_Platform_UI
Bug 70080 [RCP] Reset Perspective does not work if no perspective toolbar shown (RCP)
Reported: 2004-07-15 01:31:14 | Status: verified fixed

In my small Rich Client Platformt (RCP) app I support only one perspective and so do not show the perspective toolbar, but would like to allow the user to reset the perspective if they stuff it up by closing views etc. When no perspective toolbar is shown the standard reset perspective action does nothing. The method busyResetPerspective() in org.eclipse.ui.internal.WorkbenchPage unnecessarily exits if window.findPerspectiveShortcut(oldPersp.getDesc(), this) returns null.

Files changed in fix:
tests/org.eclipse.ui.tests.rcp/Eclipse RCP Tests/org/eclipse/ui/tests/rcp/IWorkbenchPageTest.java tests/org.eclipse.ui.tests.rcp/Eclipse RCP Tests/org/eclipse/ui/tests/rcp/RcpTestSuite.java tests/org.eclipse.ui.tests.rcp/Eclipse RCP Tests/org/eclipse/ui/tests/rcp/util/EmptyView.java