public abstract static class PluginManager.EventListenerAdapter extends Object implements PluginManager.EventListener
Constructor and Description |
---|
EventListenerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
pluginActivated(Plugin plugin)
This method will be called by the manager just after plug-in has been
successfully activated.
|
void |
pluginDeactivated(Plugin plugin)
This method will be called by the manager just before plug-in
deactivation.
|
void |
pluginDisabled(PluginDescriptor descriptor)
This method will be called by the manager just before plug-in
disabling.
|
void |
pluginEnabled(PluginDescriptor descriptor)
This method will be called by the manager just after plug-in
enabling.
|
public void pluginActivated(Plugin plugin)
PluginManager.EventListener
pluginActivated
in interface PluginManager.EventListener
plugin
- just activated plug-inPluginManager.EventListener.pluginActivated(
org.java.plugin.Plugin)
public void pluginDeactivated(Plugin plugin)
PluginManager.EventListener
pluginDeactivated
in interface PluginManager.EventListener
plugin
- plug-in to be deactivatedPluginManager.EventListener.pluginDeactivated(
org.java.plugin.Plugin)
public void pluginDisabled(PluginDescriptor descriptor)
PluginManager.EventListener
pluginDisabled
in interface PluginManager.EventListener
descriptor
- descriptor of plug-in to be disabledPluginManager.EventListener.pluginDisabled(
org.java.plugin.registry.PluginDescriptor)
public void pluginEnabled(PluginDescriptor descriptor)
PluginManager.EventListener
pluginEnabled
in interface PluginManager.EventListener
descriptor
- descriptor of enabled plug-inPluginManager.EventListener.pluginEnabled(
org.java.plugin.registry.PluginDescriptor)
Copyright © 2019. All rights reserved.