blob: 71668236dcc3f80b870ee543b7a744302ec1c325 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<title>Moving and docking views</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>Moving and docking views</H1>
<p>To change the location of a view in the current perspective:
</p>
<ol>
<li>Drag the view by its title bar. Do not release the left
mouse button yet.</li>
<li>As you move the view around the Workbench, the mouse pointer
changes to one of the <i>drop cursors</i> shown in the table below. The drop
cursor indicates where the view will be docked if you release the left mouse
button. To see the drop cursor change, drag the view over the left, right,
top, or bottom border of another view or editor.</li>
<li>When the view is in the location that you want, relative to
the view or editor area underneath the drop cursor, release the left mouse
button.</li>
<li>(Optional) If you want to save your changes, select
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.savePerspective")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
<b>Window &gt; Save Perspective As...</b></a> from the main menu bar.</li>
<li>Note that a group of stacked views can be dragged using the empty space to
the right of the view tabs.</li>
</ol>
<p>You can also move a view by using the pop-up menu for the view. (Left-click
on the icon at the left end of the view's title bar, or right-click anywhere
else in the view's title bar).
</p>
<TABLE BORDER="1" cellspacing="0" cellpadding="5">
<THEAD>
</THEAD>
<TBODY>
<TR>
<th COLSPAN="1" valign="bottom" align="left" height="38"> Drop cursor </th>
<th COLSPAN="1" valign="bottom" align="left" height="38"> Where the view
will be moved to </th>
</TR>
<TR>
<TD COLSPAN="1" align="center" height="38"> <P CLASS="Para"> <img src="../images/drop_top_source.png" alt=" Up icon" border="0" >
</P></TD>
<TD COLSPAN="1" valign="top" align="left" height="38"> <P CLASS="Para">
Dock above: The view is docked above the view underneath the cursor.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1" align="center" height="38"> <P CLASS="Para">
<img src="../images/drop_bottom_source.png" alt=" Down icon" border="0" >
</P></TD>
<TD ROWSPAN="1" COLSPAN="1" valign="top" align="left" height="38"> <p CLASS="Para">
Dock below: The view is docked below the view underneath the cursor.</p>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1" align="center" height="38"> <P CLASS="Para"><img align="texttop" border="0" src="../images/drop_right_source.png" alt="Right icon" >
</P></TD>
<TD ROWSPAN="1" COLSPAN="1" valign="top" align="left" height="38"> <p CLASS="Para">
Dock to the right: The view is docked to the right of the view underneath
the cursor.</p></TD>
</TR>
<TR>
<TD COLSPAN="1" align="center" height="38"> <img align="texttop" border="0" src="../images/drop_left_source.png" alt=" Left icon" >
</TD>
<TD COLSPAN="1" valign="top" align="left" height="38"> Dock to the left:
The view is docked to the left of the view underneath the cursor. </TD>
</TR>
<TR>
<TD COLSPAN="1" align="center" height="38"> <img align="texttop" border="0" src="../images/drop_stack.png" alt=" Stack views" >
</TD>
<TD COLSPAN="1" valign="top" align="left" height="38"> Stack: The view is
docked as a Tab in the same pane as the view underneath the cursor. </TD>
</TR>
<TR>
<TD COLSPAN="1" align="center" height="38"> <img align="texttop" border="0" src="../images/drop_invalid_source.png" alt=" Restricted icon" >
</TD>
<TD COLSPAN="1" valign="top" align="left" height="38"> Restricted: You cannot
dock the view in this area. </TD>
</TR>
</TBODY>
</TABLE>
<p><img border="0" src="../images/ngrelc.png" alt="Related concepts." ><br>
<a href="../concepts/concepts-5.htm">Views</a><br>
<a href="../concepts/concepts-21.htm">Fast views</a><br>
<a href="../concepts/concepts-4.htm">Perspectives</a>
</p>
<p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
<a href="tasks-3.htm">Opening views</a><br>
<a href="tasks-9b.htm">Creating fast views</a><br>
<a href="tasks-3i.htm">Maximizing a view or editor</a><br>
<a href="tasks-9i.htm">Saving a user defined perspective</a><br>
<a href="tasks-9j.htm">Resetting perspectives</a>
</p>
</BODY>
</HTML>