You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
619 B
28 lines
619 B
2 years ago
|
package com.fr.env;
|
||
2 years ago
|
|
||
2 years ago
|
import com.fr.env.detect.EnvDetectorCenter;
|
||
2 years ago
|
import com.fr.module.Activator;
|
||
|
|
||
|
/**
|
||
|
* 设计器环境准备
|
||
2 years ago
|
* 更多的是一些钩子,需要在环境启动、切换时进行处理
|
||
|
* 使用监听 {@link com.fr.workspace.WorkspaceEvent} 只能满足
|
||
|
* before -> stop -> start -> after
|
||
|
* 现在支持 =>
|
||
|
* before -> stop -> prepare -> start -> after
|
||
2 years ago
|
*
|
||
|
* created by Harrison on 2022/05/29
|
||
|
**/
|
||
|
public class EnvPrepare extends Activator {
|
||
|
|
||
|
@Override
|
||
|
public void start() {
|
||
|
EnvDetectorCenter.getInstance().init();
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void stop() {
|
||
|
|
||
|
}
|
||
|
}
|