📄 stateaware.java
字号:
package com.opensymphony.tonic;
/**
* Makes a tonic module aware of its activation state. Modules should implement this
* interface if they want to be notified when they are enabled and disabled.
*/
public interface StateAware
{
/**
* Called by the tonic manager when the module is activated. Modules that are active
* when the tonic manager is initialised will have this method called at that time.
*/
void enabled();
/**
* Called by the tonic manager when the module is deactivated. This method will only
* be called if the tonic is deactivated while the application is running: stopping
* the server will <i>not</i> cause this method to be called on any plugins.
*/
void disabled();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -