org.openbp.cockpit.plugins.association
Class ExternalAssociationPlugin.ExternalAssociationEvents

java.lang.Object
  extended by org.openbp.jaspira.plugin.EventModule
      extended by org.openbp.cockpit.plugins.association.ExternalAssociationPlugin.ExternalAssociationEvents
All Implemented Interfaces:
JaspiraEventListener
Enclosing class:
ExternalAssociationPlugin

public class ExternalAssociationPlugin.ExternalAssociationEvents
extends EventModule

Event 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
ExternalAssociationPlugin.ExternalAssociationEvents()
           
 
Method Summary
 JaspiraEventHandlerCode associations_mimetypes(JaspiraEvent je)
          Event handler: The external MIME type assocations have been changed in the options dialog.
 java.lang.String getName()
          The name of this module like "editor.file".
 JaspiraEventHandlerCode openfile(OpenEvent openEvent)
          Event handler: Open a file.
 
Methods inherited from class org.openbp.jaspira.plugin.EventModule
eventFired, getEventActionNames, getForeignEventNames, getModuleType, getPriority, handleUnaccountedEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalAssociationPlugin.ExternalAssociationEvents

public ExternalAssociationPlugin.ExternalAssociationEvents()
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

openfile

public JaspiraEventHandlerCode openfile(OpenEvent openEvent)
Event handler: Open a file. Normalizes separator characters and checks for file existence if the file name does not appear to be an URL before attempting to execute the openTarget method.

Parameters:
openEvent - Open event
Returns:
The event status code

associations_mimetypes

public JaspiraEventHandlerCode associations_mimetypes(JaspiraEvent je)
Event handler: The external MIME type assocations have been changed in the options dialog.

Parameters:
je - Event
Returns:
The event status code


Copyright © 2011. All Rights Reserved.