Bug 3962 - [Perspectives] DCR: Allow to reuse a JavaTypeHierarchy (1GF9N77)
Summary: [Perspectives] DCR: Allow to reuse a JavaTypeHierarchy (1GF9N77)
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2001-10-10 23:03 EDT by Erich Gamma CLA
Modified: 2019-09-06 16:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2001-10-10 23:03:45 EDT
- Change the java preferences to "Open a new type hierarchy inside the hierarchy perspective".
	- Change the workbench preferences to open perspectives in new window.
	- Press F4 in a few class names to open hierarchy perspectives. 

	In a few minutes of work you endup with a number of windows. All windows will have the same
	title and that makes it a bit difficult to find them in the Windows taskbar.

	We should/could change the title to have the class name in the begining so
	we could see it in the Windows taskbar.


NOTES:
EG (7/11/2001 12:39:22 PM)
	should have a spring loaded mechanism to control whether a type hierarchy perspective
	should be reused.
Comment 1 Martin Aeschlimann CLA 2001-10-16 11:15:29 EDT
moved to 'active'
Comment 2 Erich Gamma CLA 2001-11-10 17:17:26 EST
given that we now have a history of inputs, reusing makes a lot of sense.
we should have a 3rd preference option: 
   reuse type hierarchy

without this option the type hierarchy perspective isn't very attractive you 
end up with too many of them.
Comment 3 Martin Aeschlimann CLA 2001-11-12 12:31:23 EST
DB is the specialist for the type hierarchy perspective....
Comment 4 Erich Gamma CLA 2001-11-12 15:51:11 EST
... and Dirk has complained about this as well.

we should only reuse the type hierarchy inside one workbench page.
Comment 5 Dirk Baeumer CLA 2002-01-18 08:09:47 EST
This is not possible since there is no API to set the input of a perspective. 
This leads to the following problem:
- window title doesn't update if we reuse the perspective under the cover
- the perspective might be reused also it already works on a different 
  hierarchy. Scenario:
  - open hierarchy on B
  - open hierarchy on A
  - switch to not reuse perspective in same window
  - open hierarchy on B
  - the hierarchy for A pops to front since because its input element is B, but
    it is showing the hierarchy for A

Bottom line: as long as the platform doesn't provide a method setInput on 
IWorkbenchPage this is not implementable. Opt to postpone
Comment 6 Dani Megert CLA 2002-02-27 11:35:36 EST
not for 2.0
Comment 7 Dirk Baeumer CLA 2002-07-25 12:48:03 EDT
Nick, does the workbench think about providing a setInput on perspective. If 
not please dispose PR. 
Comment 8 Nick Edgar CLA 2002-07-25 14:51:59 EDT
If we add setInput, then views would have to be able to get notified about the 
change and update accordingly.  Could do this by undeprecating 
IWorkbenchPage.add/removePropertyListener and define a property for the input.

Comment 9 Nick Edgar CLA 2002-07-25 14:52:21 EDT
Please see comments above.
Comment 10 Eduardo Pereira CLA 2002-10-03 10:53:05 EDT
Please see comments above.
Q1: Do you want this for 2.1?
Comment 11 Dirk Baeumer CLA 2002-10-09 04:24:26 EDT
Would be nice to get it for 2.1
Comment 12 Erich Gamma CLA 2002-10-09 04:58:36 EDT
I agree with Dirk: "nice to have"
Comment 13 Eduardo Pereira CLA 2002-10-09 10:52:20 EDT
Just talked to KH and he says this is a breaking change because views may not 
expect that the input of a page changes.
So, unless you guys object, I am going to defer this once more.
Comment 14 Erich Gamma CLA 2002-10-09 12:19:02 EDT
OK to defer
Comment 15 Tod Creasey CLA 2002-10-23 16:13:07 EDT
If it is a breaking change it will not go into 2.1. Reducing to P3.
Comment 16 Nick Edgar CLA 2006-03-15 11:21:40 EST
Reassigning bugs in component areas that are changing ownership.
Comment 17 Paul Webster CLA 2006-09-28 10:58:31 EDT
There are currently no plans to work on this feature.

PW
Comment 18 Denis Roy CLA 2007-06-22 09:32:27 EDT
Changes requested on bug 193523
Comment 19 Eclipse Webmaster CLA 2019-09-06 16:05:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.