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

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

public class DebuggerPlugin.InteractionEvents
extends InteractionModule

Interaction module.


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.InteractionEvents()
           
 
Method Summary
 int getPriority()
          Gets the module priority.
 JaspiraEventHandlerCode popup(InteractionEvent ie)
          Standard event handler that is called when a popup menu is to be shown.
 JaspiraEventHandlerCode toolbar(InteractionEvent ie)
          Standard event handler that is called when a toolbar is (re-)generated.
 
Methods inherited from class org.openbp.jaspira.plugin.InteractionModule
getName
 
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.InteractionEvents

public DebuggerPlugin.InteractionEvents()
Method Detail

getPriority

public int getPriority()
Gets the module priority. We are high priority.

Specified by:
getPriority in interface JaspiraEventListener
Overrides:
getPriority in class EventModule
Returns:
The priority. 0 is lowest, 100 is highest.

popup

public JaspiraEventHandlerCode popup(InteractionEvent ie)
Standard event handler that is called when a popup menu is to be shown. Adds the debugger popup menu entries for entry and final nodes and node sockets.

Overrides:
popup in class InteractionModule
Parameters:
ie - Event
Returns:
The event status code

toolbar

public JaspiraEventHandlerCode toolbar(InteractionEvent ie)
Standard event handler that is called when a toolbar is (re-)generated. Adds the toolbar entries to the modeler view plugin and the web browser plugin.

Overrides:
toolbar in class InteractionModule
Parameters:
ie - Event
Returns:
The event status code


Copyright © 2011. All Rights Reserved.