Browse Source

将Closeable的判断等事情放到专门的容器中

master
juhaoyu 8 years ago
parent
commit
be6f8a80d6
  1. 2
      designer_chart/src/com/fr/design/extra/ChartTypeInterfaceCloseableHandler.java

2
designer_chart/src/com/fr/design/extra/ChartTypeInterfaceCloseableHandler.java

@ -23,7 +23,7 @@ public class ChartTypeInterfaceCloseableHandler extends CloseableInvocationHandl
return super.invokeIsClosed() && containsChart(); return super.invokeIsClosed() && containsChart();
} }
//UI对应的chart如果没有关闭或者不存在,则UI关闭 //UI对应的chart如果关闭或者不存在,则UI关闭
private boolean containsChart() { private boolean containsChart() {
return ChartTypeManager.getInstance().containsPlot(plotID); return ChartTypeManager.getInstance().containsPlot(plotID);

Loading…
Cancel
Save