Browse Source
Merge in DESIGN/design from ~HARRISON/design:feature/x to feature/x * commit '6926245b3f92b8359f179487e1c362ef5d57179d': REPORT-75786 11.0feature版本设计器无法启动 DesignUtils.initLookAndFeel 需要先解密。 会用到 GeneralUtils 的逻辑feature/x
Harrison
2 years ago
3 changed files with 59 additions and 16 deletions
@ -0,0 +1,24 @@
|
||||
package com.fr.base.function; |
||||
|
||||
import com.fr.design.utils.DesignUtils; |
||||
import com.fr.runtime.FineRuntime; |
||||
|
||||
/** |
||||
* UI 终止动作 |
||||
* |
||||
* created by Harrison on 2022/07/14 |
||||
**/ |
||||
public abstract class UITerminator { |
||||
|
||||
public void run() { |
||||
|
||||
// 先执行必须的逻辑
|
||||
FineRuntime.start(); |
||||
DesignUtils.initLookAndFeel(); |
||||
|
||||
// 在执行核心逻辑
|
||||
doRun(); |
||||
} |
||||
|
||||
protected abstract void doRun(); |
||||
} |
Loading…
Reference in new issue