forked from fanruan/design
Browse Source
Merge in DESIGN/design from ~HADES/design:feature/big-screen to feature/big-screen * commit 'cb189d681a672b401c4090dbe4268aa713912255': 无jira 解决冲突 update REPORT-54643 最新的persist分支安装设计器内存监控安装失败且会导致面板无法编辑 漏传代码 REPORT-54643 最新的persist分支安装设计器内存监控安装失败且会导致面板无法编辑 REPORT-54643 回退 REPORT-54643 回退 CHART-19719 图例交互修改 && CHART-19692 仪表盘固定大小最小值修改 REPORT-54123 设计器报表块组件进入和退出编辑时单元格选中状态优化 REPORT-54573 设计器本地预览报错400请求头过大 REPORT-54643 最新的persist分支安装设计器内存监控安装失败且会导致面板无法编辑 REPORT-54643 最新的persist分支安装设计器内存监控安装失败且会导致面板无法编辑 REPORT-53902 远程设计无权限国际化显示不全 REPORT-54545 富文本默认字体本地化问题 REPORT-54574 远程设计环境不一致提示内容中,性能插件下的六个包被分别识别为了插件feature/big-screen
Hades
3 years ago
21 changed files with 218 additions and 60 deletions
@ -0,0 +1,84 @@ |
|||||||
|
package com.fr.design.mainframe; |
||||||
|
|
||||||
|
import com.fr.log.FineLoggerFactory; |
||||||
|
import java.awt.event.WindowEvent; |
||||||
|
import java.awt.event.WindowListener; |
||||||
|
|
||||||
|
/** |
||||||
|
* 保证监听运行出错也不影响其他功能正常使用 |
||||||
|
* |
||||||
|
* @author hades |
||||||
|
* @version 10.0 |
||||||
|
* Created by hades on 2021/6/30 |
||||||
|
*/ |
||||||
|
public class SafeWindowListener implements WindowListener { |
||||||
|
|
||||||
|
private final WindowListener windowListener; |
||||||
|
|
||||||
|
public SafeWindowListener(WindowListener windowListener) { |
||||||
|
this.windowListener = windowListener; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public void windowOpened(WindowEvent e) { |
||||||
|
try { |
||||||
|
windowListener.windowOpened(e); |
||||||
|
} catch (Throwable throwable) { |
||||||
|
FineLoggerFactory.getLogger().debug(throwable.getMessage(), throwable); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public void windowClosing(WindowEvent e) { |
||||||
|
try { |
||||||
|
windowListener.windowClosing(e); |
||||||
|
} catch (Throwable throwable) { |
||||||
|
FineLoggerFactory.getLogger().debug(throwable.getMessage(), throwable); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public void windowClosed(WindowEvent e) { |
||||||
|
try { |
||||||
|
windowListener.windowClosed(e); |
||||||
|
} catch (Throwable throwable) { |
||||||
|
FineLoggerFactory.getLogger().debug(throwable.getMessage(), throwable); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public void windowIconified(WindowEvent e) { |
||||||
|
try { |
||||||
|
windowListener.windowIconified(e); |
||||||
|
} catch (Throwable throwable) { |
||||||
|
FineLoggerFactory.getLogger().debug(throwable.getMessage(), throwable); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public void windowDeiconified(WindowEvent e) { |
||||||
|
try { |
||||||
|
windowListener.windowDeiconified(e); |
||||||
|
} catch (Throwable throwable) { |
||||||
|
FineLoggerFactory.getLogger().debug(throwable.getMessage(), throwable); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public void windowActivated(WindowEvent e) { |
||||||
|
try { |
||||||
|
windowListener.windowActivated(e); |
||||||
|
} catch (Throwable throwable) { |
||||||
|
FineLoggerFactory.getLogger().debug(throwable.getMessage(), throwable); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public void windowDeactivated(WindowEvent e) { |
||||||
|
try { |
||||||
|
windowListener.windowDeactivated(e); |
||||||
|
} catch (Throwable throwable) { |
||||||
|
FineLoggerFactory.getLogger().debug(throwable.getMessage(), throwable); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -1,4 +1,5 @@ |
|||||||
com.fr.design.mainframe.check.CheckButton=280*118 |
com.fr.design.mainframe.check.CheckButton=280*118 |
||||||
com.fr.design.mainframe.check.CheckFontInfoDialog.collapse=610*185 |
com.fr.design.mainframe.check.CheckFontInfoDialog.collapse=610*185 |
||||||
com.fr.design.mainframe.check.CheckFontInfoDialog.messageWithLink=610*31 |
com.fr.design.mainframe.check.CheckFontInfoDialog.messageWithLink=610*31 |
||||||
com.fr.design.mainframe.check.CheckFontInfoDialog.unfold=610*280 |
com.fr.design.mainframe.check.CheckFontInfoDialog.unfold=610*280 |
||||||
|
com.fr.env.RemoteEnvPane.dialog=458*132 |
@ -1,4 +1,5 @@ |
|||||||
com.fr.design.mainframe.check.CheckButton=230*118 |
com.fr.design.mainframe.check.CheckButton=230*118 |
||||||
com.fr.design.mainframe.check.CheckFontInfoDialog.collapse=490*185 |
com.fr.design.mainframe.check.CheckFontInfoDialog.collapse=490*185 |
||||||
com.fr.design.mainframe.check.CheckFontInfoDialog.messageWithLink=490*35 |
com.fr.design.mainframe.check.CheckFontInfoDialog.messageWithLink=490*35 |
||||||
com.fr.design.mainframe.check.CheckFontInfoDialog.unfold=490*280 |
com.fr.design.mainframe.check.CheckFontInfoDialog.unfold=490*280 |
||||||
|
com.fr.env.RemoteEnvPane.dialog=458*132 |
@ -1,4 +1,5 @@ |
|||||||
com.fr.design.mainframe.check.CheckButton=250*118 |
com.fr.design.mainframe.check.CheckButton=250*118 |
||||||
com.fr.design.mainframe.check.CheckFontInfoDialog.collapse=385*185 |
com.fr.design.mainframe.check.CheckFontInfoDialog.collapse=385*185 |
||||||
com.fr.design.mainframe.check.CheckFontInfoDialog.messageWithLink=385*31 |
com.fr.design.mainframe.check.CheckFontInfoDialog.messageWithLink=385*31 |
||||||
com.fr.design.mainframe.check.CheckFontInfoDialog.unfold=385*280 |
com.fr.design.mainframe.check.CheckFontInfoDialog.unfold=385*280 |
||||||
|
com.fr.env.RemoteEnvPane.dialog=308*132 |
@ -0,0 +1,21 @@ |
|||||||
|
package com.fr.van.chart.designer.style; |
||||||
|
|
||||||
|
import javax.swing.JPanel; |
||||||
|
|
||||||
|
/** |
||||||
|
* Created by eason on 2016/12/14. |
||||||
|
*/ |
||||||
|
public class VanLegendPaneWidthOutFixedCheck extends VanChartPlotLegendPane{ |
||||||
|
|
||||||
|
public VanLegendPaneWidthOutFixedCheck(){ |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
public VanLegendPaneWidthOutFixedCheck(VanChartStylePane parent){ |
||||||
|
super(parent); |
||||||
|
} |
||||||
|
|
||||||
|
protected JPanel createLegendPane(){ |
||||||
|
return this.createLegendPaneWithoutFixedCheck(); |
||||||
|
} |
||||||
|
} |
@ -1,21 +0,0 @@ |
|||||||
package com.fr.van.chart.designer.style; |
|
||||||
|
|
||||||
import javax.swing.JPanel; |
|
||||||
|
|
||||||
/** |
|
||||||
* Created by eason on 2016/12/14. |
|
||||||
*/ |
|
||||||
public class VanLegendPaneWidthOutHighlight extends VanChartPlotLegendPane{ |
|
||||||
|
|
||||||
public VanLegendPaneWidthOutHighlight(){ |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
public VanLegendPaneWidthOutHighlight(VanChartStylePane parent){ |
|
||||||
super(parent); |
|
||||||
} |
|
||||||
|
|
||||||
protected JPanel createLegendPane(){ |
|
||||||
return this.createLegendPaneWithoutHighlight(); |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue