Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 46565 - [EditorMgmt] Move an editor pane to another Window
Summary: [EditorMgmt] Move an editor pane to another Window
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-13 07:36 EST by Thorbjørn Ravn Andersen CLA
Modified: 2014-06-26 10:27 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorbjørn Ravn Andersen CLA 2003-11-13 07:36:09 EST
I have a dual monitor setup, and I can open an extra window to have two eclipse
windows, where the second has a gray pane where the editor is in the first window.

Then I would like to eb able to drag a window pane (like when you split a single
editor window) to the _other_ window to move the editor pane there, and now have
two editor windows.
Comment 1 Debbie Wilson CLA 2003-11-13 10:26:47 EST
Nick,  Not sure if we need to involve SWT in this one.  Can you clarify?
Comment 2 Nick Edgar CLA 2003-11-13 11:16:10 EST
See also bug 13585 for general view/editor detaching issues.

For now, you can do the following:
- in window 1, select the file in the Navigator or Package Explorer view (if 
Link with Editor is on, then the selection automatically tracks the active 
editor)
- drag the file to the editor area of window 2

In general, dragging a file to the editor area opens it.
Comment 3 Eric Estievenart CLA 2003-11-14 13:10:30 EST
Could be interesting, but this may be dangerous for some implementations.

A database client supporting multiple connections may want
to display each in a separate workbench window, so if you
move an editor/view from one window to another :
- It may not be relevant at all (e.g. a dynamically generated
  editor displaying a particular record)
- Users may want not to move, but to duplicate the editor/view,
  by holding the CTRL key (I don't know if is possible/planned)
- The editor/view should be asked if it accepts to be dropped
  in another window, e.g. something like
   boolean IWorkbenchPart.acceptsDrop( IWorkbenchPage other, boolean bForDup )
- If accepted, the View/Part needs either to be notified of the
  window change or reconstructed from scratch, based on the editor input
  (or view configuration)

Hope this helps
-- Steve
Comment 4 Susan McCourt CLA 2009-07-09 19:03:31 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 5 Boris Bokowski CLA 2009-11-17 12:59:47 EST
Remy is now responsible for watching the [EditorMgmt] component area.
Comment 6 Mickael Istria CLA 2014-06-26 09:28:38 EDT
This has been possible since e4 was introduced IIRC.
What's the procedure to close such an old bug? Mark it as WORKSFORME or setting a Target Milestone and resolving?
Comment 7 Mickael Istria CLA 2014-06-26 10:27:13 EDT
Works at least since Eclipse 4.2.