org.openbp.cockpit.itemeditor
Class NodeItemEditorPlugin.InteractionEvents

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

public class NodeItemEditorPlugin.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
NodeItemEditorPlugin.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.
 
Methods inherited from class org.openbp.jaspira.plugin.InteractionModule
getName, toolbar
 
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

NodeItemEditorPlugin.InteractionEvents

public NodeItemEditorPlugin.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 popup menu entries for node sockets and parameters.

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


Copyright © 2011. All Rights Reserved.