Browse Source

REPORT-60693 开启引导的时候设计器窗口最大化

research/11.0
kuangshuai 3 years ago
parent
commit
e1ec51d506
  1. 3
      designer-base/src/main/java/com/fr/design/mainframe/guide/base/Guide.java

3
designer-base/src/main/java/com/fr/design/mainframe/guide/base/Guide.java

@ -1,11 +1,13 @@
package com.fr.design.mainframe.guide.base; package com.fr.design.mainframe.guide.base;
import com.fr.design.mainframe.DesignerContext;
import com.fr.design.mainframe.guide.collect.GuideCollector; import com.fr.design.mainframe.guide.collect.GuideCollector;
import com.fr.design.mainframe.guide.scene.GuideScene; import com.fr.design.mainframe.guide.scene.GuideScene;
import com.fr.design.mainframe.guide.ui.GuideCompleteDialog; import com.fr.design.mainframe.guide.ui.GuideCompleteDialog;
import com.fr.design.mainframe.guide.ui.GuideManageDialog; import com.fr.design.mainframe.guide.ui.GuideManageDialog;
import com.fr.stable.StringUtils; import com.fr.stable.StringUtils;
import javax.swing.JFrame;
import javax.swing.SwingUtilities; import javax.swing.SwingUtilities;
import javax.swing.SwingWorker; import javax.swing.SwingWorker;
@ -92,6 +94,7 @@ public class Guide {
* 开启引导流程 * 开启引导流程
*/ */
public void go() { public void go() {
DesignerContext.getDesignerFrame().setExtendedState(JFrame.MAXIMIZED_BOTH);
// 同时只能启动一个引导 // 同时只能启动一个引导
if (GuideManager.getInstance().getCurrentGuide() != null) { if (GuideManager.getInstance().getCurrentGuide() != null) {
return; return;

Loading…
Cancel
Save