Bug 39513 - [ViewMgmt] new CompositeViewPart (with patch)
Summary: [ViewMgmt] new CompositeViewPart (with patch)
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api, needinfo
Depends on:
Blocks:
 
Reported: 2003-07-01 17:00 EDT by Dan Rubel CLA
Modified: 2009-08-30 02:10 EDT (History)
3 users (show)

See Also:


Attachments
new CompositeViewPart with supporting class (18.93 KB, patch)
2003-07-01 17:02 EDT, Dan Rubel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Rubel CLA 2003-07-01 17:00:39 EDT
Views can be opened, moved around, and closed on an individual basis by the 
user.  If the user wishes to reposition several views, each view must be moved 
and resized individually.  There is no public API for several related views to 
be programmatically tied together in as generic way as possible so that a single 
new view can be composed of several other views.  For example, the JDT 
"Projects", "Packages", "Types", and "Members" views are all interrelated, and 
could be tied together as a single composite view to be opned, moved, and closed 
as a single unit.

To accomplish this, we created a CompositeViewPart to provide this composite 
functionality.  A patch containing this code has been attached.  Please consider 
this functionality for inclusion in the Eclipse 3.0 M2 build.
Comment 1 Dan Rubel CLA 2003-07-01 17:02:37 EDT
Created attachment 5325 [details]
new CompositeViewPart with supporting class
Comment 2 Nick Edgar CLA 2003-09-29 21:52:16 EDT
I have the following concerns with this suggested change.

1. This limits how the user can manipulate views.  Of course, the same 
argument could be applied for nested editors.  However, I would want to 
understand the particular concrete use cases that you have for this in your 
product in order to consider adding something like this to Eclipse.  Have you 
considered refactoring the nested views as nested viewers, and implementing 
the outer view as a regular view containing the nested viewers?  This could be 
done without introducing the notion of nested views.  A good example of this 
is the JDT Hierarchy view.

2. The code appears to draw a gradient for nested panes.  This blurs the 
distinction between active parts.  See guideline 1.2 at:
http://eclipse.org/articles/Article-UI-Guidelines/Index.html
Comment 3 Erich Gamma CLA 2003-10-01 06:58:58 EDT
We have investigated into composite parts when we implemented the Java 
perspective layouts. We eventually stop going down this path, because:
* users need to be able to fully customize a perspective even when there are 
composite parts. This includes adding and removing a part from a composite, 
creating a new composite etc. We couldn't come up with a satisfying solution 
that doesn't introduce a lot of complexity. It doesn't look like the patch 
covers the user configurability problem.

* we have eventually found that "flat" parts are more flexible to the user 
(Java Browsing perspective) and that nested viewers work well (type hierarchy)
Comment 4 Nick Edgar CLA 2006-03-15 13:27:55 EST
Reassigning bugs in component areas that are changing ownership.
Comment 5 Boris Bokowski CLA 2006-10-24 21:12:27 EDT
Please reopen with concrete use cases if this enhancement request is still valid.  (Or is this a dupe of the infamous bug 46207?)
Comment 6 Denis Roy CLA 2009-08-30 02:10:18 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.