Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 56086

Summary: [RCP] Workbench assumes one visible part per folder
Product: [Eclipse Project] Platform Reporter: Nick Edgar <n.a.edgar>
Component: UIAssignee: Stefan Xenos <sxenos>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Matthew_Hatem
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Nick Edgar CLA 2004-03-24 23:20:14 EST
build I20040323

In order to provide improved view spatial management with different
minimize/maximize semantics, Matt was investigating having a single stack
presentation presenting multiple parts side-by-side (or rather, arranged
vertically), with all parts visible at the same time.

There are a few places in the workbench where we assume that a folder has a
single visible part.  The primary one is encountered when opening or switching
perspectives: WorkbenchPage.updateVisibility calls
PerspectivePresentation.isPartVisible, which does folder.getVisiblePart() and
compares its id to the argument.

Can this assumption in the workbench be relaxed?  Can we delegate to the
presentation to determine whether a part should be visible?
The presentation already controls visibility of parts in some cases.
It would be nice if part visibility was entirely the presentation's responsibility.

For M8, Matt is investigating a workaround by keeping different stack
presentations for each part, tracking which ones are arranged together in the
presentation factory (on a per-perspective basis), and coordinating
minimize/maximize state between them.

The behaviour they want is something that has also been discussed for the SDK:
rather than having maximize give the whole page area to the view, simply
minimize all other folders in the same column of the perspective (like an
opposite to our minimize).

Stefan, if you have any other suggestions for how this could be done with the
current presentation support for M8, please let Matt know.
Comment 1 Nick Edgar CLA 2004-04-02 17:16:54 EST

*** This bug has been marked as a duplicate of 56147 ***