Project: Eclipse_Platform_UI
Bug 29840 [WorkbenchParts] Need API to get the zoomed state of a workbench page
Reported: 2003-01-20 15:53:23 | Status: verified fixed

In several of our views, we have to either get the zoomed state of a pane or toggle the zoom state of a pane. To do this we need access to the WorkbenchPage for ex: ((WorkbenchPage) getSite().getPage()).isZoomed(); ((WorkbenchPage) getSite().getWorkbenchWindow().getActivePage()).toggleZoom (MultiPageViewPart.this); WorkBenchPage is an internal class and a public API to determine and toggle the zoom state is needed.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IWorkbenchPage.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchIntroManager.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java tests/org.eclipse.ui.tests/Eclipse Part References Test/org/eclipse/ui/parts/tests/util/PartsTestUtil.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api/StickyViewTest.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/zoom/ZoomTestCase.java