Action Wizard: GUI Registration
See Also
The New Action wizard creates a new Action.
You open the New Action wizard by right-clicking a module project, choosing New > Other and selecting Action
from the Module Development category.
In the GUI Registration page, you have to specify how the user will
be able to call the new action.
- Category. Specifies where the action will be displayed
in the Keymap section of the Options window.
- Global Menu Item. Specifies the menu where the action
will be displayed as an item. You can also specify the position within the menu,
and whether you want a separator to appear before it, after it, or both.
- Global Toolbar Button. Specifies the toolbar where the action
will be displayed as a button. You can also specify the position within the menu.
- Global Keyboard Shortcut. Specifies a shortcut that will invoke the
action.
Only if Conditionally Enabled (use CookieAction) is selected in the Action Type page
can you set the following items:
- File Type Context Menu Item. Specifies the file type where
the action will be displayed in the pop-up menu.
- Editor Context Menu Item. Specifies the IDE editor where the
action will be displayed in the pop-up menu.
- See Also
- About NetBeans Platform and Module Development
- About the NetBeans Platform
Legal Notices