Classes | Public Member Functions | Static Public Member Functions | Static Package Attributes

org.openide.actions.ToolsAction Class Reference

Inherits org::openide::util::actions::SystemAction, and org::openide::util::ContextAwareAction.

List of all members.

Classes

class  DelegateAction
class  G
class  Inline
interface  Model
class  Popup

Public Member Functions

String getName ()
HelpCtx getHelpCtx ()
JMenuItem getMenuPresenter ()
JMenuItem getPopupPresenter ()
void actionPerformed (java.awt.event.ActionEvent ev)
Action createContextAwareInstance (Lookup actionContext)

Static Public Member Functions

static void setModel (Model m)

Static Package Attributes

static final long serialVersionUID = 4906417339959070129L

Detailed Description

A "meta-action" that displays (in a submenu) a list of enabled actions provided by modules. Such registered actions are called "service actions": they are provided externally but seem to provide additional services on existing components. Often they will be NodeActions or CookieActions so that they will be enabled based on the node selection, i.e. the node containing this popup. It is desirable for most nodes to include this action somewhere in their popup menu.

Note: you do not need to touch this class to add a service action! Just add the action to a module manifest in an Action section.

The list of registered service actions is provided to this action from the implementation by means of ActionManager.

Author:
Jaroslav Tulach

Member Function Documentation

void org.openide.actions.ToolsAction.actionPerformed ( java.awt.event.ActionEvent  ev  ) 
Action org.openide.actions.ToolsAction.createContextAwareInstance ( Lookup  actionContext  ) 

Implements ContextAwareAction interface method.

HelpCtx org.openide.actions.ToolsAction.getHelpCtx (  ) 
JMenuItem org.openide.actions.ToolsAction.getMenuPresenter (  ) 
String org.openide.actions.ToolsAction.getName (  ) 
JMenuItem org.openide.actions.ToolsAction.getPopupPresenter (  ) 
static void org.openide.actions.ToolsAction.setModel ( Model  m  )  [static]
Deprecated:
Useless, see ActionManager.

Member Data Documentation

final long org.openide.actions.ToolsAction.serialVersionUID = 4906417339959070129L [static, package]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties