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