org.openbp.jaspira.gui.plugin
Class ApplicationBase.MenuInteractionEvents

java.lang.Object
  extended by org.openbp.jaspira.plugin.EventModule
      extended by org.openbp.jaspira.plugin.InteractionModule
          extended by org.openbp.jaspira.gui.plugin.ApplicationBase.MenuInteractionEvents
All Implemented Interfaces:
JaspiraEventListener
Enclosing class:
ApplicationBase

public class ApplicationBase.MenuInteractionEvents
extends InteractionModule

Interaction module that handles activations of the application-related menu items.


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
ApplicationBase.MenuInteractionEvents()
           
 
Method Summary
 JaspiraEventHandlerCode exit(JaspiraActionEvent je)
          Event handler: Exits the application.
 int getPriority()
          Gets the module priority.
 JaspiraEventHandlerCode openaboutbox(JaspiraActionEvent ie)
          Event handler: Opens the about box.
 JaspiraEventHandlerCode pluginmanageropen(JaspiraActionEvent je)
          Event handler: Opens the plugin manager.
 
Methods inherited from class org.openbp.jaspira.plugin.InteractionModule
getName, popup, 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

ApplicationBase.MenuInteractionEvents

public ApplicationBase.MenuInteractionEvents()
Method Detail

getPriority

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

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

exit

public JaspiraEventHandlerCode exit(JaspiraActionEvent je)
Event handler: Exits the application.

Parameters:
je - Event
Returns:
The event status code

pluginmanageropen

public JaspiraEventHandlerCode pluginmanageropen(JaspiraActionEvent je)
Event handler: Opens the plugin manager.

Parameters:
je - Event
Returns:
The event status code

openaboutbox

public JaspiraEventHandlerCode openaboutbox(JaspiraActionEvent ie)
Event handler: Opens the about box.

Parameters:
ie - Event
Returns:
The event status code


Copyright © 2011. All Rights Reserved.