|
|
|
@ -27,6 +27,7 @@ import com.fr.design.gui.ibutton.UISaveForbiddenButton;
|
|
|
|
|
import com.fr.design.gui.imenu.UIMenuItem; |
|
|
|
|
import com.fr.design.gui.imenu.UIPopupMenu; |
|
|
|
|
import com.fr.design.gui.itoolbar.UILargeToolbar; |
|
|
|
|
import com.fr.design.i18n.DesignI18nProviderImpl; |
|
|
|
|
import com.fr.design.mainframe.ActiveKeyGenerator; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
import com.fr.design.mainframe.InformationCollector; |
|
|
|
@ -68,6 +69,8 @@ import com.fr.runtime.FineRuntime;
|
|
|
|
|
import com.fr.stable.ProductConstants; |
|
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
import com.fr.stable.bridge.StableFactoryBase; |
|
|
|
|
import com.fr.stable.fun.I18nProvider; |
|
|
|
|
import com.fr.stable.lifecycle.FineLifecycleFatalError; |
|
|
|
|
import com.fr.stable.xml.XMLTools; |
|
|
|
|
import com.fr.start.common.DesignerStartupContext; |
|
|
|
@ -89,6 +92,7 @@ import java.awt.event.ActionEvent;
|
|
|
|
|
import java.awt.event.ActionListener; |
|
|
|
|
import java.io.File; |
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.ServiceLoader; |
|
|
|
|
import java.util.concurrent.CompletableFuture; |
|
|
|
|
import java.util.concurrent.LinkedBlockingQueue; |
|
|
|
|
import java.util.concurrent.ThreadFactory; |
|
|
|
@ -123,6 +127,10 @@ public class MainDesigner extends BaseDesigner {
|
|
|
|
|
DesignerStartupContext.getRecorder().start(); |
|
|
|
|
// 设置一下默认的logger,启动后再Reset
|
|
|
|
|
FineLoggerFactory.setLogger(SystemOutLoggerProvider.getInstance()); |
|
|
|
|
ServiceLoader<I18nProvider> i18nProviders = ServiceLoader.load(I18nProvider.class); |
|
|
|
|
for (I18nProvider i18nProvider : i18nProviders) { |
|
|
|
|
StableFactoryBase.registerMarkedClass(I18nProvider.MARK_STRING, i18nProvider.getClass()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
showSplash(); |
|
|
|
|
|
|
|
|
|