org.openide.actions
Class ActionManager
java.lang.Object
|
+--org.openide.actions.ActionManager
- public abstract class ActionManager
- extends Object
Collects access methods to implementation depended functionality
for actions package.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_CONTEXT_ACTIONS
public static final String PROP_CONTEXT_ACTIONS
- name of property that is fired when set of context actions
changes.
ActionManager
public ActionManager()
getContextActions
public abstract SystemAction[] getContextActions()
- Get all registered actions that should be displayed
by tools action.
Can contain
null
s that will be replaced by separators.
- Returns:
- array of actions
invokeAction
public abstract void invokeAction(Action a,
ActionEvent e)
- Invokes action in a RequestPrecessor dedicated to performing
actions.
addPropertyChangeListener
public final void addPropertyChangeListener(PropertyChangeListener listener)
- Registers PropertyChangeListener to receive events.
- Parameters:
listener
- The listener to register.
removePropertyChangeListener
public final void removePropertyChangeListener(PropertyChangeListener listener)
- Removes PropertyChangeListener from the list of listeners.
- Parameters:
listener
- The listener to remove.
firePropertyChange
protected final void firePropertyChange(String name,
Object o,
Object n)
- Notifies all registered listeners about the event.
- Parameters:
name
- property nameo
- old valuen
- new value
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.