Browse Source

整理

master
fr_shine 8 years ago
parent
commit
d57ab06309
  1. 7
      designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java

7
designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java

@ -84,7 +84,6 @@ public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraCh
} }
public static WidgetOption[] initWidgetOption(){ public static WidgetOption[] initWidgetOption(){
checkDefault();
ChartInternationalNameContentBean[] typeName = ChartTypeManager.getInstance().getAllChartBaseNames(); ChartInternationalNameContentBean[] typeName = ChartTypeManager.getInstance().getAllChartBaseNames();
ChartWidgetOption[] child = new ChartWidgetOption[typeName.length]; ChartWidgetOption[] child = new ChartWidgetOption[typeName.length];
@ -133,11 +132,6 @@ public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraCh
} }
} }
private static void checkDefault() {
if(chartTypeInterfaces.size() == 0){
readDefault();
}
}
/** /**
* 增加界面接口定义 * 增加界面接口定义
* *
@ -177,7 +171,6 @@ public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraCh
* @param paneList pane容器 * @param paneList pane容器
*/ */
public void addPlotTypePaneList(List<FurtherBasicBeanPane<? extends Chart>> paneList) { public void addPlotTypePaneList(List<FurtherBasicBeanPane<? extends Chart>> paneList) {
checkDefault();
Iterator iterator = chartTypeInterfaces.entrySet().iterator(); Iterator iterator = chartTypeInterfaces.entrySet().iterator();
while (iterator.hasNext()) { while (iterator.hasNext()) {

Loading…
Cancel
Save