Action Wizard: Action Type

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

Always Enabled

Specifies that the action will be invoked from a menu item in the menu bar, from a toolbar button in a toolbar, or from a keyboard shortcut anywhere in the IDE.

Conditionally Enabled

Specifies the classes for which the action will be created. This is normally one of your own business objects. However, optionally, you can also include one or more of the following, which creates the action for all classes that subclass them:
  • DataObject
  • EditCookie
  • EditorCookie
  • OpenCookie
  • Project
  • User Selects One Node
  • User May Select Multiple Nodes. Specifies the conditions under which the action will be enabled. By default, the action will only be enabled when the node for which it is created is selected. If you select User May Select Multiple Nodes, the action will also be enabled when more nodes than just the node for which it is created is selected.


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

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