Destiny.Lin
2 years ago
7 changed files with 65 additions and 25 deletions
@ -0,0 +1,19 @@
|
||||
package com.fr.design.actions.help.replace; |
||||
|
||||
|
||||
/** |
||||
* 定义一些底层操作 |
||||
* |
||||
* @author Destiny.Lin |
||||
* @version 11.0 |
||||
* created by Destiny.Lin on 2022-09-27 |
||||
*/ |
||||
public interface ITReplaceHelper { |
||||
|
||||
|
||||
/** |
||||
* 关闭面板 |
||||
*/ |
||||
void close(); |
||||
|
||||
} |
@ -0,0 +1,26 @@
|
||||
package com.fr.design.actions.help.replace; |
||||
|
||||
import com.fr.design.module.DesignModuleFactory; |
||||
import com.fr.log.FineLoggerFactory; |
||||
|
||||
/** |
||||
* 工具类 |
||||
* |
||||
* @author Destiny.Lin |
||||
* @version 11.0 |
||||
* created by Destiny.Lin on 2022-09-27 |
||||
*/ |
||||
public class ITReplaceUtils { |
||||
|
||||
|
||||
/** |
||||
* 进入权限编辑&开发者调试时要关闭面板 |
||||
*/ |
||||
public static void close(){ |
||||
try { |
||||
DesignModuleFactory.getReplacePane().newInstance().close(); |
||||
} catch (Exception e) { |
||||
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue