Browse Source

REPORT-71213 关闭alphafine 默认不展示悬浮弹窗

new-design
hades 3 years ago
parent
commit
985c713e2e
  1. 9
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/question/QuestionWindow.java

9
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/question/QuestionWindow.java

@ -1,5 +1,6 @@
package com.fr.design.mainframe.alphafine.question;
import com.fr.design.DesignerEnvManager;
import com.fr.design.i18n.Toolkit;
import com.fr.design.mainframe.DesignerContext;
import com.fr.design.mainframe.alphafine.AlphaFineHelper;
@ -68,6 +69,14 @@ public class QuestionWindow extends JWindow {
DesignerContext.getDesignerFrame().getHeight() - 100);
}
@Override
public void setVisible(boolean visible) {
if (visible && !DesignerEnvManager.getEnvManager().getAlphaFineConfigManager().isEnabled()) {
return;
}
super.setVisible(visible);
}
public static QuestionWindow getInstance() {
return INSTANCE;
}

Loading…
Cancel
Save