org.openbp.jaspira.option
Class OptionMgr.Events

java.lang.Object
  extended by org.openbp.jaspira.plugin.EventModule
      extended by org.openbp.jaspira.option.OptionMgr.Events
All Implemented Interfaces:
JaspiraEventListener
Enclosing class:
OptionMgr

public class OptionMgr.Events
extends EventModule

Event module. Handles the global.interaction.openoptioneditor event.


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
OptionMgr.Events()
           
 
Method Summary
 java.lang.String getName()
          The name of this module like "editor.file".
 int getPriority()
          Gets the module priority.
 JaspiraEventHandlerCode openoptiondialog(JaspiraActionEvent je)
          Event handler: Opens the option editor.
 
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

OptionMgr.Events

public OptionMgr.Events()
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()
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.

openoptiondialog

public JaspiraEventHandlerCode openoptiondialog(JaspiraActionEvent je)
Event handler: Opens the option editor.

Parameters:
je - Event
Returns:
The event status code


Copyright © 2011. All Rights Reserved.