Browse Source
* commit '80e2c9bd167d06b092b42f42ee29b5ceed697213': REPORT-35692 国际化-页面设置-单位改为INCH,显示不全 方法替换 REPORT-34878 && REPORT-34936 linux下条件属性和超链保存问题 REPORT-35692 国际化-页面设置-单位改为INCH,显示不全 撤销一些代码 REPORT-35692 国际化-页面设置-单位改为INCH,显示不全 调整格式 REPORT-35692 国际化-页面设置-单位改为INCH,显示不全 REPORT-34996 && REPORT-34636 REPORT-34907 linux设计器-纸张背景-渐变色,右边的游标不能拖动 无 REPORT-35455 赶这一波发布 REPORT-35699 国际化修改对报表下拉框产生影响 添加import REPORT-35699 国际化修改对报表下拉框产生影响 REPORT-35699 国际化修改对报表下拉框产生影响 添加import REPORT-35699 国际化修改对报表下拉框产生影响research/11.0
superman
4 years ago
9 changed files with 105 additions and 42 deletions
@ -0,0 +1,39 @@ |
|||||||
|
package com.fr.design.os.impl; |
||||||
|
|
||||||
|
import com.fr.design.gui.controlpane.UIListControlPane; |
||||||
|
import com.fr.stable.os.OperatingSystem; |
||||||
|
import com.fr.stable.os.support.OSBasedAction; |
||||||
|
|
||||||
|
import java.awt.*; |
||||||
|
|
||||||
|
/** |
||||||
|
* linux下超链弹窗等保存问题 |
||||||
|
* |
||||||
|
* @author hades |
||||||
|
* @version 10.0 |
||||||
|
* Created by hades on 2020/7/21 |
||||||
|
*/ |
||||||
|
public class PopupDialogSaveAction implements OSBasedAction { |
||||||
|
|
||||||
|
private UIListControlPane currentControlPane; |
||||||
|
private Window popupDialog; |
||||||
|
|
||||||
|
@Override |
||||||
|
public void execute(Object... objects) { |
||||||
|
boolean canSave = OperatingSystem.isLinux() && popupDialog != null && popupDialog.isVisible() && currentControlPane != null; |
||||||
|
if (canSave) { |
||||||
|
currentControlPane.saveSettings(); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
public void register(UIListControlPane currentControlPane, Window popupDialog) { |
||||||
|
this.currentControlPane = currentControlPane; |
||||||
|
this.popupDialog = popupDialog; |
||||||
|
} |
||||||
|
|
||||||
|
public void unregister() { |
||||||
|
this.currentControlPane = null; |
||||||
|
this.popupDialog = null; |
||||||
|
} |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue