|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.netbeans.spi.debugger.ActionsProvider
Represents implementation of one or more actions.
| Constructor Summary | |
ActionsProvider()
|
|
| Method Summary | |
abstract void |
addActionsProviderListener(ActionsProviderListener l)
Adds property change listener. |
abstract void |
doAction(Object action)
Called when the action is called (action button is pressed). |
abstract Set |
getActions()
Returns set of actions supported by this ActionsProvider. |
abstract boolean |
isEnabled(Object action)
Should return a state of given action. |
void |
postAction(Object action,
Runnable actionPerformedNotifier)
Post the action and let it process asynchronously. |
abstract void |
removeActionsProviderListener(ActionsProviderListener l)
Removes property change listener. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ActionsProvider()
| Method Detail |
public abstract Set getActions()
public abstract void doAction(Object action)
action - an action which has been calledpublic abstract boolean isEnabled(Object action)
action - actionpublic abstract void addActionsProviderListener(ActionsProviderListener l)
l - new listener.public abstract void removeActionsProviderListener(ActionsProviderListener l)
l - removed listener.public void postAction(Object action, Runnable actionPerformedNotifier)
doAction(java.lang.Object)
in a separate thread and returns immediately.
action - The action to postactionPerformedNotifier - run this notifier after the action is
done.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||