org.openbp.cockpit.itemeditor
Class ItemOpenDispatcherPlugin.Events

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

public class ItemOpenDispatcherPlugin.Events
extends EventModule

Event module.


Field Summary
protected  JaspiraPage modelerPage
          Modeler page
 
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
ItemOpenDispatcherPlugin.Events()
           
 
Method Summary
 java.lang.String getName()
          The name of this module like "editor.file".
 int getPriority()
          Gets the module priority.
 JaspiraEventHandlerCode open_componenteditor(OpenEvent oe)
          Event handler: Opens a process in the modeler.
 JaspiraEventHandlerCode plugin_association_supports(RequestEvent event)
          Event handler: Check supported mime types for the open event.
 
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
 

Field Detail

modelerPage

protected JaspiraPage modelerPage
Modeler page

Constructor Detail

ItemOpenDispatcherPlugin.Events

public ItemOpenDispatcherPlugin.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 high priority.

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

open_componenteditor

public JaspiraEventHandlerCode open_componenteditor(OpenEvent oe)
Event handler: Opens a process in the modeler.

Parameters:
oe - Event
Returns:
The event status code

plugin_association_supports

public JaspiraEventHandlerCode plugin_association_supports(RequestEvent event)
Event handler: Check supported mime types for the open event. Adds the event names for open events for process and action items to the result of the poll event.

Parameters:
event - Event
Returns:
The event status code


Copyright © 2011. All Rights Reserved.