Browse Source

REPORT-30557 fix name

feature/big-screen
hades 5 years ago
parent
commit
ebebf3673d
  1. 4
      designer-base/src/main/java/com/fr/design/fun/DesignerProcessor.java
  2. 6
      designer-base/src/main/java/com/fr/design/fun/impl/AbstractDesignerProcessor.java
  3. 8
      designer-realize/src/main/java/com/fr/start/DesignerInitial.java

4
designer-base/src/main/java/com/fr/design/fun/DesignerTransform.java → designer-base/src/main/java/com/fr/design/fun/DesignerProcessor.java

@ -11,9 +11,9 @@ import com.fr.start.BaseDesigner;
* Created by hades on 2020/5/7 * Created by hades on 2020/5/7
*/ */
public interface DesignerTransform extends Mutable { public interface DesignerProcessor extends Mutable {
String MARK_STRING = "DesignerTransform"; String MARK_STRING = "DesignerProcessor";
int CURRENT_LEVEL = 1; int CURRENT_LEVEL = 1;

6
designer-base/src/main/java/com/fr/design/fun/impl/AbstractDesignerTransform.java → designer-base/src/main/java/com/fr/design/fun/impl/AbstractDesignerProcessor.java

@ -1,6 +1,6 @@
package com.fr.design.fun.impl; package com.fr.design.fun.impl;
import com.fr.design.fun.DesignerTransform; import com.fr.design.fun.DesignerProcessor;
import com.fr.stable.fun.mark.API; import com.fr.stable.fun.mark.API;
/** /**
@ -8,8 +8,8 @@ import com.fr.stable.fun.mark.API;
* @version 10.0 * @version 10.0
* Created by hades on 2020/5/7 * Created by hades on 2020/5/7
*/ */
@API(level = DesignerTransform.CURRENT_LEVEL) @API(level = DesignerProcessor.CURRENT_LEVEL)
public abstract class AbstractDesignerTransform implements DesignerTransform { public abstract class AbstractDesignerProcessor implements DesignerProcessor {
@Override @Override
public String mark4Provider() { public String mark4Provider() {

8
designer-realize/src/main/java/com/fr/start/DesignerInitial.java

@ -1,7 +1,7 @@
package com.fr.start; package com.fr.start;
import com.fr.design.constants.DesignerLaunchStatus; import com.fr.design.constants.DesignerLaunchStatus;
import com.fr.design.fun.DesignerTransform; import com.fr.design.fun.DesignerProcessor;
import com.fr.design.mainframe.DesignerContext; import com.fr.design.mainframe.DesignerContext;
import com.fr.design.ui.util.UIUtil; import com.fr.design.ui.util.UIUtil;
import com.fr.event.Event; import com.fr.event.Event;
@ -23,9 +23,9 @@ public class DesignerInitial {
UIUtil.invokeLaterIfNeeded(new Runnable() { UIUtil.invokeLaterIfNeeded(new Runnable() {
@Override @Override
public void run() { public void run() {
DesignerTransform transform = StableFactory.getMarkedInstanceObjectFromClass(DesignerTransform.MARK_STRING, DesignerTransform.class); DesignerProcessor processor = StableFactory.getMarkedInstanceObjectFromClass(DesignerProcessor.MARK_STRING, DesignerProcessor.class);
if (transform != null) { if (processor != null) {
designer = Reflect.on(transform.transform()).create(args).get(); designer = Reflect.on(processor.transform()).create(args).get();
} else { } else {
designer = new MainDesigner(args); designer = new MainDesigner(args);
} }

Loading…
Cancel
Save