net.sf.taverna.raven.plugins.event
Class PluginManagerEvent
java.lang.Object
java.util.EventObject
net.sf.taverna.raven.plugins.event.PluginManagerEvent
- All Implemented Interfaces:
- java.io.Serializable
public class PluginManagerEvent
- extends java.util.EventObject
An event to notify listeners that the PluginManager
has changed.
- Author:
- David Withers
- See Also:
- Serialized Form
Constructor Summary |
PluginManagerEvent(java.lang.Object source,
Plugin plugin,
int pluginIndex)
Constructs an instance of PluginManagerEvent. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PluginManagerEvent
public PluginManagerEvent(java.lang.Object source,
Plugin plugin,
int pluginIndex)
- Constructs an instance of PluginManagerEvent.
- Parameters:
source
- plugin
- pluginIndex
- - the index of the plugin in the managers list of plugins
getPlugin
public Plugin getPlugin()
- Returns the plugin.
- Returns:
- the plugin
getPluginIndex
public int getPluginIndex()
- Returns:
- the index of the plugin in the plugin managers internal list