blob: 2228a5252839b138a9d4eeccea013e600ecc3d7c [file]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
<HEAD>
<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>Tiling editors</title>
</HEAD>
<BODY BGCOLOR="#ffffff">
<h3>
Tiling editors</h3>
<P CLASS="Para">
The Workbench allows you to create two or more sets of editors in the editor
area. You can also resize the editor area but you cannot drag views into the editor
area.</P>
<ol>
<li>
<P CLASS="Para">
Open at least two editors in the editor area by double-clicking editable files in the Navigator view.</P>
</li>
<li>
<P CLASS="Para">
Click and drag one of the editor's tabs out of the editor area. Do not release the mouse button.</P>
</li>
<li>
<P CLASS="Para">
Notice that the restricted cursor displays if you attempt to drop the editor either on top of any view or outside the Workbench window.</P>
</li>
<li>
<P CLASS="Para">
Still holding down the mouse button, drag the editor over the editor area and move the cursor along all four edges as well as in the middle of the editor area, on top of another open editor. Notice that along the edges of the editor
area the directional arrow drop cursors appear, and in the middle of the editor
area the stack drop cursor appears.</P>
</li>
<li>
<P CLASS="Para">
Dock the editor on a directional arrow drop cursor so that two editors appear in the editor area.&nbsp;</P>
</li>
<li>
<P CLASS="Para">
Notice that you can also resize each editor as well as the entire editor area to
accommodate the editors and views as necessary.</P>
</li>
<li>
<p CLASS="Para">
It is important to observe the color of an editor tab (in the figure below there
are two groups, one above the other)
<p CLASS="Para"><b>blue</b> - indicates that the editor is currently active</p>
<p CLASS="Para"><b>default </b>(gray on Windows XP) - indicates that the editor
was the last active editor. If there is an active view, it will be the editor
that the active view is currently working with. This is important when working
with views like the Outline and Properties that work closely with the editor.</li>
<li>
<P CLASS="Para">
Drag and dock the editor somewhere else in the editor area, noting the behavior that results from docking on each kind of drop cursor. Continue to experiment with docking and resizing editors and views until you have arranged the Workbench to your satisfaction.
The figure below illustrates the layout if you drag and drop one editor below
another.</P>
</li>
</ol>
<P>&nbsp;<img src="../images/Image57_two_editors.gif" alt="Two editors" border="0" width="593" height="550"><br>
</P>
<P>
<a href="../hglegal2003.htm">
<img src="../images/ngibmcpy2003.gif" alt="Copyright IBM Corporation 2000, 2003. All Rights Reserved." border="0" width="324" height="14"></a>
</P>
</BODY>
</HTML>