Bug 2606 - "Dynamic Editor" option (1GGZ4KV)
Summary: "Dynamic Editor" option (1GGZ4KV)
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Kevin Haaland CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2001-10-10 22:39 EDT by Randy Giffen CLA
Modified: 2002-01-22 15:14 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Giffen CLA 2001-10-10 22:39:44 EDT
Two important usability problems are:
1) Managing >4 open editors
2) Having to double click to open an editor

We should support a "dynamic editor" option/mode
When an editor is open in dynamic mode then it changes its input based on the selection 
in the navigator (if an appropriate file type is selected).
Thus one could open a single java editor and easily browse code by selecting different .java files

If the editor contains unsaved changes and you select another file you would be prompted to 
a) save the changes
b) open another editor
c) cancel
In the case of b, the old editor becomes "static" with its current input and the new editor is the dynamic one.

This idea is similar to what the debug perspective does to show the source for stack frames.

NOTES:

EG (7/16/2001 10:50:09 AM)
	This is the right direction. 
	FYI, in 0.9 Search is doing the same as the debugger when stepping through search matches.

	Questions:

	Is there a way to make a dynamic editor "static"?
	For example,  when browsing search results I can decide that I want ro 
	have a separate editor for looking at a match without making any modifications
	to the editor.

	How is the dynamic option set?
    	a) global preference
	b) for each view that opens editors 
    	c) per editor, e.g., an editor could be set to dynamic and would be reused.
	d) per editor manager
	d1) per editor manager with a way to make a specific editor "static"

	Debugger and search differ from the above in that a dynamic editor
	is never reused when there are changes. It was considered as too annoying to
	prompt the user with a dialog.
Comment 1 DJ Houghton CLA 2001-10-29 19:04:08 EST
PRODUCT VERSION:
0.9

Comment 2 Randy Giffen CLA 2002-01-22 15:14:51 EST
This has been implemented