Action Wizard: Action Type
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 Action Type page, you have to set the type:
- 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.
- See Also
- About NetBeans Platform and Module Development
- About the NetBeans Platform
Legal Notices