org.openbp.cockpit.plugins.finder
Class FinderResultPlugin.Interaction

java.lang.Object
  extended by org.openbp.jaspira.plugin.EventModule
      extended by org.openbp.jaspira.plugin.InteractionModule
          extended by org.openbp.cockpit.plugins.finder.FinderResultPlugin.Interaction
All Implemented Interfaces:
JaspiraEventListener
Enclosing class:
FinderResultPlugin

public class FinderResultPlugin.Interaction
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
FinderResultPlugin.Interaction()
           
 
Method Summary
 int getPriority()
          Get 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

FinderResultPlugin.Interaction

public FinderResultPlugin.Interaction()
Method Detail

getPriority

public int getPriority()
Get the module priority. We are super-low 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)
Description copied from class: InteractionModule
Standard event handler that is called when a popup menu is to be shown. Override this to add your own actions to a popup menu.

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

toolbar

public JaspiraEventHandlerCode toolbar(InteractionEvent ie)
Description copied from class: InteractionModule
Standard event handler that is called when a toolbar is (re-)generated. Override this to add your own actions to the toolbar.

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


Copyright © 2011. All Rights Reserved.