blob: b4a7ac5a67cf01de68e5c4a3e7dca509eb447787 [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=utf-8">
<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.svg" 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>
<h3 class="related">Related reference</h3><a href="../reference/ref-10.htm">General</a>
</body>
</html>