org.openbp.cockpit.plugins.debugger
Class DebuggerPlugin.ClientEvents

java.lang.Object
  extended by org.openbp.jaspira.plugin.EventModule
      extended by org.openbp.cockpit.plugins.debugger.DebuggerPlugin.ClientEvents
All Implemented Interfaces:
JaspiraEventListener
Enclosing class:
DebuggerPlugin

public class DebuggerPlugin.ClientEvents
extends EventModule

Event module for client-side debugger events. These are actually toolbar or menu actions.


Field Summary
 
Fields inherited from class org.openbp.jaspira.plugin.EventModule
EVENT_CONSUMED, EVENT_HANDLED, EVENT_IGNORED, MODULE_POST_GLOBAL, MODULE_PRE_GLOBAL, MODULE_TREE
 
Constructor Summary
DebuggerPlugin.ClientEvents()
           
 
Method Summary
 JaspiraEventHandlerCode clearbreakpoints(JaspiraActionEvent jae)
          Event handler that clears all breakpoints.
 JaspiraEventHandlerCode connectionlost(QualifierEvent je)
          Event handler: Connection to the server has been lost.
 JaspiraEventHandlerCode getdebuggerid(AskEvent ae)
          Event handler: Returns the id if the debugger client.
 java.lang.String getName()
          The name of this module like "editor.file".
 int getPriority()
          Returns the priority of the module.
 JaspiraEventHandlerCode modeler_view_activated(JaspiraEvent je)
          Event handler: A modeler view has become active.
 JaspiraEventHandlerCode modeler_view_closed(JaspiraEvent je)
          Event handler: A modeler view has become inactive.
 JaspiraEventHandlerCode modeler_view_selectionchanged(JaspiraEvent je)
          Event handler: The selection of a modeler view has changed.
 JaspiraEventHandlerCode plugin_serverconnection_reconnect(JaspiraEvent je)
          Event handler: The cockpit has reconnected to the server.
 JaspiraEventHandlerCode resume(JaspiraActionEvent jae)
          Event handler: Executes the resume process command.
 JaspiraEventHandlerCode setBreakOnException(JaspiraActionEvent jae)
          Event handler: Sets break on exception mode.
 JaspiraEventHandlerCode setBreakOnTopLevel(JaspiraActionEvent jae)
          Event handler: Toggles break on top level mode.
 JaspiraEventHandlerCode setBreakOnWorkflow(JaspiraActionEvent jae)
          Event handler: Toggles break on top level mode.
 JaspiraEventHandlerCode stepInto(JaspiraActionEvent jae)
          Event handler: Executes the step into command.
 JaspiraEventHandlerCode stepNext(JaspiraActionEvent jae)
          Event handler: Executes the step out command.
 JaspiraEventHandlerCode stepOut(JaspiraActionEvent jae)
          Event handler: Executes the step out command.
 JaspiraEventHandlerCode stepOver(JaspiraActionEvent jae)
          Event handler: Executes the step over command.
 JaspiraEventHandlerCode stepUntil(QualifierEvent je)
          Event handler: Executes the step until command.
 JaspiraEventHandlerCode stop(JaspiraActionEvent jae)
          Event handler: Executes the stop process command.
 JaspiraEventHandlerCode toggleBreakpoint(QualifierEvent je)
          Event handler: Toggles a breakpoint.
 JaspiraEventHandlerCode togglebreakpoints(JaspiraActionEvent jae)
          Event handler that toggles the breakpoints associated with the selected object(s).
 
Methods inherited from class org.openbp.jaspira.plugin.EventModule
eventFired, getEventActionNames, getForeignEventNames, getModuleType, handleUnaccountedEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebuggerPlugin.ClientEvents

public DebuggerPlugin.ClientEvents()
Method Detail

getName

public java.lang.String getName()
Description copied from class: EventModule
The name of this module like "editor.file". Decides which events will be received.

Specified by:
getName in class EventModule

getPriority

public int getPriority()
Returns the priority of the module. We are low-level priority.

Specified by:
getPriority in interface JaspiraEventListener
Overrides:
getPriority in class EventModule
Returns:
The standard implementation returns 50

togglebreakpoints

public JaspiraEventHandlerCode togglebreakpoints(JaspiraActionEvent jae)
Event handler that toggles the breakpoints associated with the selected object(s).

Parameters:
jae - Event
Returns:
The event status code

clearbreakpoints

public JaspiraEventHandlerCode clearbreakpoints(JaspiraActionEvent jae)
Event handler that clears all breakpoints.

Parameters:
jae - Event
Returns:
The event status code

setBreakOnTopLevel

public JaspiraEventHandlerCode setBreakOnTopLevel(JaspiraActionEvent jae)
Event handler: Toggles break on top level mode.

Parameters:
jae - Event
Returns:
The event status code

setBreakOnWorkflow

public JaspiraEventHandlerCode setBreakOnWorkflow(JaspiraActionEvent jae)
Event handler: Toggles break on top level mode.

Parameters:
jae - Event
Returns:
The event status code

setBreakOnException

public JaspiraEventHandlerCode setBreakOnException(JaspiraActionEvent jae)
Event handler: Sets break on exception mode.

Parameters:
jae - Event
Returns:
The event status code

stepInto

public JaspiraEventHandlerCode stepInto(JaspiraActionEvent jae)
Event handler: Executes the step into command.

Parameters:
jae - Event
Returns:
The event status code

stepOut

public JaspiraEventHandlerCode stepOut(JaspiraActionEvent jae)
Event handler: Executes the step out command.

Parameters:
jae - Event
Returns:
The event status code

stepOver

public JaspiraEventHandlerCode stepOver(JaspiraActionEvent jae)
Event handler: Executes the step over command.

Parameters:
jae - Event
Returns:
The event status code

stepNext

public JaspiraEventHandlerCode stepNext(JaspiraActionEvent jae)
Event handler: Executes the step out command.

Parameters:
jae - Event
Returns:
The event status code

stop

public JaspiraEventHandlerCode stop(JaspiraActionEvent jae)
Event handler: Executes the stop process command.

Parameters:
jae - Event
Returns:
The event status code

resume

public JaspiraEventHandlerCode resume(JaspiraActionEvent jae)
Event handler: Executes the resume process command.

Parameters:
jae - Event
Returns:
The event status code

getdebuggerid

public JaspiraEventHandlerCode getdebuggerid(AskEvent ae)
Event handler: Returns the id if the debugger client.

Parameters:
ae - Event
The id will be stored into the answer of the event.
Returns:
The event status code

toggleBreakpoint

public JaspiraEventHandlerCode toggleBreakpoint(QualifierEvent je)
Event handler: Toggles a breakpoint.

Parameters:
je - Event
Returns:
The event status code

stepUntil

public JaspiraEventHandlerCode stepUntil(QualifierEvent je)
Event handler: Executes the step until command.

Parameters:
je - Event
Model qualifier: ModelQualifier of the step target
Returns:
The event status code

connectionlost

public JaspiraEventHandlerCode connectionlost(QualifierEvent je)
Event handler: Connection to the server has been lost.

Returns:
The event status code

modeler_view_activated

public JaspiraEventHandlerCode modeler_view_activated(JaspiraEvent je)
Event handler: A modeler view has become active.

Parameters:
je - Event
Returns:
The event status code

modeler_view_closed

public JaspiraEventHandlerCode modeler_view_closed(JaspiraEvent je)
Event handler: A modeler view has become inactive.

Parameters:
je - Event
Returns:
The event status code

modeler_view_selectionchanged

public JaspiraEventHandlerCode modeler_view_selectionchanged(JaspiraEvent je)
Event handler: The selection of a modeler view has changed.

Parameters:
je - Event
Returns:
The event status code

plugin_serverconnection_reconnect

public JaspiraEventHandlerCode plugin_serverconnection_reconnect(JaspiraEvent je)
Event handler: The cockpit has reconnected to the server.

Parameters:
je - Event
Returns:
The event status code


Copyright © 2011. All Rights Reserved.