|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.actions.ActionManager
Collects access methods to implementation depended functionality for actions package.
Field Summary | |
static String |
PROP_CONTEXT_ACTIONS
name of property that is fired when set of context actions changes. |
Constructor Summary | |
ActionManager()
|
Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Registers PropertyChangeListener to receive events. |
protected void |
firePropertyChange(String name,
Object o,
Object n)
Notifies all registered listeners about the event. |
abstract SystemAction[] |
getContextActions()
Get all registered actions that should be displayed by tools action. |
static ActionManager |
getDefault()
Get the default action manager from lookup. |
void |
invokeAction(Action a,
ActionEvent e)
Deprecated. Just use ActionListener.actionPerformed(java.awt.event.ActionEvent) directly instead. Since 4.11. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes PropertyChangeListener from the list of listeners. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String PROP_CONTEXT_ACTIONS
Constructor Detail |
public ActionManager()
Method Detail |
public static ActionManager getDefault()
public abstract SystemAction[] getContextActions()
null
s that will be replaced by separators.
public void invokeAction(Action a, ActionEvent e)
ActionListener.actionPerformed(java.awt.event.ActionEvent)
directly instead. Since 4.11.
public final void addPropertyChangeListener(PropertyChangeListener listener)
listener
- The listener to register.public final void removePropertyChangeListener(PropertyChangeListener listener)
listener
- The listener to remove.protected final void firePropertyChange(String name, Object o, Object n)
name
- property nameo
- old valuen
- new value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |