Project: Eclipse_Platform_UI
Bug 92171 WorkbenchPage.getViewStack is too eager to activate views
Reported: 2005-04-20 20:41:30 | Status: verified fixed

This method is too eager to activate views. The method states that it returns the IViewParts that are stacked with the given part, but it actually causes new parts to be created in the stack by calling getView(true). This is a performance issue due to unnecessary part creation. The current behavior may also mislead callers into believing that the method returns the set of *tabs* in the stack (the method could never do so because not every tab has an associated IViewPart).

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java