Action Wizard: GUI Registration

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.

Element Description

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 is selected in the Action Type page can you set the following items:

Element Description

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.


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.