Docking a detached view with Eclipse

eclipse, view

Solution

As per njol's answer above, once you have your tab detached (showing as floating outside of your Eclipse IDE), simply click on the tab (not on the title of detached tab window) and drag. Then you will see mouse cursor change showing you where you can drop it to attach the tab to IDE.

Problem

When I drag a view outside of the Workbench window, the view becomes a detached view. The Eclipse help says (Workbench User Guide -> Tasks -> Working with views and editors -> Detaching views and editors): "To restore the view to be shown inside of the Workbench window, drag the view tab into the Workbench window." With my configuration (Windows 7; 2 screens; pushing the maximise button maximises Eclipse in one of the two screens) this does not work. I have to use "Windows -> Restore Perspective ..." to get the view back inside the Workbench. Is there an other way for reattaching a detached view?

Original source