|
|
|
@ -6,7 +6,7 @@ import com.fr.plugin.context.PluginContext;
|
|
|
|
|
import com.fr.plugin.manage.PluginManager; |
|
|
|
|
import com.fr.stable.os.AbstractOperatingSystem; |
|
|
|
|
import com.fr.stable.os.OperatingSystem; |
|
|
|
|
import com.fr.start.common.DesignerStartupConfig; |
|
|
|
|
import com.fr.start.common.DesignerStartupContext; |
|
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
|
|
|
|
|
|
import java.lang.management.ManagementFactory; |
|
|
|
@ -117,7 +117,8 @@ public class DesignerStartupModel {
|
|
|
|
|
|
|
|
|
|
private void fillMode() { |
|
|
|
|
|
|
|
|
|
this.setMode(DesignerStartupConfig.getInstance().isEnabled() ? 0 : 1); |
|
|
|
|
// 这里需要使用 showStartupPage , 表示是否存在启动页
|
|
|
|
|
this.setMode(DesignerStartupContext.getInstance().isShowStartupPage() ? 0 : 1); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void fill() { |
|
|
|
|