public final class ActionsManager extends Object
Modifier and Type | Field and Description |
---|---|
static Object |
ACTION_CONTINUE
Action constant for Continue Action.
|
static Object |
ACTION_EVALUATE
Action constant for Evaluate Action.
|
static Object |
ACTION_FIX
Action constant for Fix Action.
|
static Object |
ACTION_KILL
Action constant for Kill Action.
|
static Object |
ACTION_MAKE_CALLEE_CURRENT
Action constant for Make Callee Current Action.
|
static Object |
ACTION_MAKE_CALLER_CURRENT
Action constant for Make Caller Current Action.
|
static Object |
ACTION_NEW_WATCH
Action constant for New Watch Action.
|
static Object |
ACTION_PAUSE
Action constant for Pause Action.
|
static Object |
ACTION_POP_TOPMOST_CALL
Action constant for Pop Topmost Call Action.
|
static Object |
ACTION_RESTART
Action constant for Restart Action.
|
static Object |
ACTION_RUN_INTO_METHOD
Action constant for breakpoint hit action.
|
static Object |
ACTION_RUN_TO_CURSOR
Action constant for Run to Cursor Action.
|
static Object |
ACTION_START
Action constant for Start Action.
|
static Object |
ACTION_STEP_INTO
Action constant for Step Into Action.
|
static Object |
ACTION_STEP_OPERATION
Action constant for Step Operation Action.
|
static Object |
ACTION_STEP_OUT
Action constant for Step Out Action.
|
static Object |
ACTION_STEP_OVER
Action constant for Step Over Action.
|
static Object |
ACTION_TOGGLE_BREAKPOINT
Action constant for Toggle Breakpoint Action.
|
Modifier and Type | Method and Description |
---|---|
void |
addActionsManagerListener(ActionsManagerListener l)
Add ActionsManagerListener.
|
void |
addActionsManagerListener(String propertyName,
ActionsManagerListener l)
Add ActionsManagerListener.
|
void |
destroy()
Stops listening on all actions, stops firing events.
|
void |
doAction(Object action)
Performs action on this DebbuggerEngine.
|
boolean |
isEnabled(Object action)
Returns true if given action can be performed on this DebuggerEngine.
|
Task |
postAction(Object action)
Post action on this DebuggerEngine.
|
void |
removeActionsManagerListener(ActionsManagerListener l)
Removes ActionsManagerListener.
|
void |
removeActionsManagerListener(String propertyName,
ActionsManagerListener l)
Remove ActionsManagerListener.
|
public static final Object ACTION_STEP_OVER
public static final Object ACTION_RUN_INTO_METHOD
public static final Object ACTION_STEP_INTO
public static final Object ACTION_STEP_OUT
public static final Object ACTION_STEP_OPERATION
public static final Object ACTION_CONTINUE
public static final Object ACTION_START
public static final Object ACTION_KILL
public static final Object ACTION_MAKE_CALLER_CURRENT
public static final Object ACTION_MAKE_CALLEE_CURRENT
public static final Object ACTION_PAUSE
public static final Object ACTION_RUN_TO_CURSOR
public static final Object ACTION_POP_TOPMOST_CALL
public static final Object ACTION_FIX
public static final Object ACTION_RESTART
public static final Object ACTION_TOGGLE_BREAKPOINT
public static final Object ACTION_NEW_WATCH
public static final Object ACTION_EVALUATE
public final void doAction(Object action)
action
- action constant (default set of constants are defined
in this class with ACTION_ prefix)public final Task postAction(Object action)
#canPostAsynchronously
returns true.
Otherwise it behaves like ActionsManager.doAction(java.lang.Object)
.
The returned task, or
ActionsManagerListener
can be used to
be notified when the action is done.action
- action constant (default set of constants are defined
in this class with ACTION_ prefix)public final boolean isEnabled(Object action)
action
- action constant (default set of constants are defined
in this class with ACTION_ prefix)public void destroy()
public void addActionsManagerListener(ActionsManagerListener l)
l
- listener instancepublic void removeActionsManagerListener(ActionsManagerListener l)
l
- listener instancepublic void addActionsManagerListener(String propertyName, ActionsManagerListener l)
propertyName
- a name of property to listen onl
- the ActionsManagerListener to addpublic void removeActionsManagerListener(String propertyName, ActionsManagerListener l)
propertyName
- a name of property to listen onl
- the ActionsManagerListener to remove