Browse Source
Merge in DESIGN/design from ~HADES/design:release/10.0 to release/10.0 * commit '3e2daccbbc6e164112323f606258a7a2e33fbcc2': REPORT-30557 fix name REPORT-30557 fix name REPORT-30557 【10.0.6】设计器启动类替换接口feature/big-screen
Hades
5 years ago
3 changed files with 56 additions and 2 deletions
@ -0,0 +1,23 @@ |
|||||||
|
package com.fr.design.fun; |
||||||
|
|
||||||
|
import com.fr.stable.fun.mark.Mutable; |
||||||
|
import com.fr.start.BaseDesigner; |
||||||
|
|
||||||
|
/** |
||||||
|
* 设计器启动类替换接口 |
||||||
|
* |
||||||
|
* @author hades |
||||||
|
* @version 10.0 |
||||||
|
* Created by hades on 2020/5/7 |
||||||
|
*/ |
||||||
|
|
||||||
|
public interface DesignerStartClassProcessor extends Mutable { |
||||||
|
|
||||||
|
String MARK_STRING = "DesignerStartClassProcessor"; |
||||||
|
|
||||||
|
int CURRENT_LEVEL = 1; |
||||||
|
|
||||||
|
|
||||||
|
Class<? extends BaseDesigner> transform(); |
||||||
|
|
||||||
|
} |
@ -0,0 +1,23 @@ |
|||||||
|
package com.fr.design.fun.impl; |
||||||
|
|
||||||
|
import com.fr.design.fun.DesignerStartClassProcessor; |
||||||
|
import com.fr.stable.fun.mark.API; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author hades |
||||||
|
* @version 10.0 |
||||||
|
* Created by hades on 2020/5/7 |
||||||
|
*/ |
||||||
|
@API(level = DesignerStartClassProcessor.CURRENT_LEVEL) |
||||||
|
public abstract class AbstractDesignerStartClassProcessorProcessor implements DesignerStartClassProcessor { |
||||||
|
|
||||||
|
@Override |
||||||
|
public String mark4Provider() { |
||||||
|
return getClass().getName(); |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public int currentAPILevel() { |
||||||
|
return CURRENT_LEVEL; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue