1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
* Copyright � 2006 Sun Microsystems, Inc. All rights reserved.
4
* Use is subject to license terms.
8
<title>Action Wizard: GUI Registration</title>
9
<link rel="StyleSheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
12
<h2>Action Wizard: GUI Registration</h2>
13
<p> <small><a href="#seealso">See Also</a> </small>
15
<p>The New Action wizard creates a new <a href="../create_plugin/filelevel_create/about_actions.html">Action</a>.
16
You open the New Action wizard by right-clicking a module project, choosing New > Other and selecting Action
17
from the Module Development category.
18
<p>In the GUI Registration page, you have to specify how the user will
19
be able to call the new action.
22
<li><b>Category.</b> Specifies where the action will be displayed
23
in the Keymap section of the Options window.
24
<li><b>Global Menu Item.</b> Specifies the menu where the action
25
will be displayed as an item. You can also specify the position within the menu,
26
and whether you want a separator to appear before it, after it, or both.
27
<li><b>Global Toolbar Button.</b> Specifies the toolbar where the action
28
will be displayed as a button. You can also specify the position within the menu.
29
<li><b>Global Keyboard Shortcut.</b> Specifies a shortcut that will invoke the
33
<p>Only if Conditionally Enabled (use CookieAction) is selected in the Action Type page
34
can you set the following items:
37
<li><b>File Type Context Menu Item.</b> Specifies the file type where
38
the action will be displayed in the pop-up menu.
39
<li><b>Editor Context Menu Item.</b> Specifies the IDE editor where the
40
action will be displayed in the pop-up menu.
44
<dt><a name="seealso">See Also</a></dt>
45
<dd> <a href="../about/nbmodule-about.html">About NetBeans Platform and Module Development</a></dd>
46
<dd><a href="../about/about-netbeans-platform.html">About the NetBeans Platform</a></dd>
49
<small><a href="../credits.html">Legal Notices</a></small>
50
<table cellpadding="20" border="0">
51
<tr><td> </td></tr>
52
<tr><td> </td></tr>
53
<tr><td> </td></tr>