blob: 05d98e917d955bc86804fa8efe0fa4a7780d62ac [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<HEAD>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. 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>Controlling single and double click behavior</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>Controlling single and double click behavior</H1>
<p>You can control how the Workbench responds to single and double clicks. To do this:
</p>
<ol>
<li>Open the
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.Workbench)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="command link">
<b>General</b></a> preference page.</li>
<li>Select the behavior you want to change from the <b>Open mode</b> group.</li>
<li>Click <b>OK</b>.</li>
</ol>
<p>The effect of these selections varies by view. For example, in one of the navigation
views: </p>
<dl>
<dt>Double click</dt>
<dd>Will cause a single click on a resource to select it, and a
double click to open it in an editor.</dd>
<dt>Single click</dt>
<dd>Will cause a single click on a resource to both select it and
immediately open an editor on it.</dd>
</dl>
<p>The checkboxes under the <b>Single click</b> radio button further refine
the single click behavior. Checking <b>Select on hover</b> will cause the resource
to be selected if you hover over it with the mouse. Checking <b>Open when using
arrow keys</b> will cause the resource to be opened if you use the arrow keys to
navigate to it.
</p>
<p><img border="0" src="../images/ngrelr.png" alt="Related reference" ><br>
<a href="../reference/ref-10.htm">General</a><br>
</p>
</BODY>
</HTML>