net.sf.taverna.update.plugin.event
Class PluginEvent
java.lang.Object
java.util.EventObject
net.sf.taverna.update.plugin.event.PluginEvent
- All Implemented Interfaces:
- java.io.Serializable
public class PluginEvent
- extends java.util.EventObject
An event to notify listeners that a Plugin has changed.
- Author:
- David Withers
- See Also:
- Serialized Form
|
Constructor Summary |
PluginEvent(java.lang.Object source,
Plugin plugin)
Constructs an instance of PluginEvent. |
PluginEvent(java.lang.Object source,
Plugin plugin,
int action)
Constructs an instance of PluginEvent. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NONE
public static final int NONE
- See Also:
- Constant Field Values
ENABLED
public static final int ENABLED
- See Also:
- Constant Field Values
DISABLED
public static final int DISABLED
- See Also:
- Constant Field Values
PluginEvent
public PluginEvent(java.lang.Object source,
Plugin plugin)
- Constructs an instance of PluginEvent.
- Parameters:
source - the source of the eventplugin - the Plugin that has changed
PluginEvent
public PluginEvent(java.lang.Object source,
Plugin plugin,
int action)
- Constructs an instance of PluginEvent.
- Parameters:
source - the source of the eventplugin - the Plugin that has changedaction -
getPlugin
public Plugin getPlugin()
- Returns the plugin.
- Returns:
- the plugin
getAction
public int getAction()
- Returns the action.
- Returns:
- the action