blob: 175ca89fc22e8b2fa6b599b6d766d315a53061a1 [file]
<!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>Configuring perspective command groups</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>Configuring perspective command groups</H1>
<p>You can choose which command groups are available in a perspective. Command
groups contribute menu items, toolbar buttons and key bindings, all of which
run commands. Making a command group unavailable in a perspective removes
these methods of running commands. Making a command group available makes it
possible for these methods to be used, however they can be turned on and off
with more fine-grained control via the <b>Menu Visibility</b> and
<b>Tool Bar Visibility</b> tabs of the <b>Customize Perspective</b>
dialog.</p>
<p>To configure command group availability:</p>
<ol>
<li>Switch to the perspective that you want to configure.</li>
<li>Select <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.customizePerspective")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="command link">
<b>Window &gt; Customize Perspective...</b></a>.</li>
<li>Open the <b>Command Groups Availability</b> tab.</li>
<li>Select the command group in the <b>Available command groups</b> list whose
availability you want to edit.</li>
<li>Preview the menu items and toolbar buttons which are contributed by the
selected command group in the <b>Menubar details</b> and
<b>Toolbar details</b> trees. Hover over items in these trees to view
their key bindings. </li>
<li>Use the check box next to the command group to make it available
or unavailable.</li>
<li>Click <b>OK</b> to cause the changes to take effect.</li>
</ol>
<p><img border="0" src="../images/ngrelc.png" alt="Related concepts." ><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-24.htm">Changing where perspectives open</a><br>
<a href="tasks-31.htm">Specifying the default perspective</a><br>
<a href="tasks-9i.htm">Saving a user defined perspective</a>
</p>
</BODY>
</HTML>