|
|
|
@ -58,14 +58,10 @@ public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraCh
|
|
|
|
|
//所有图表存储器
|
|
|
|
|
private static LinkedHashMap<String, IndependentChartUIProvider> chartTypeInterfaces = new LinkedHashMap<String, IndependentChartUIProvider>(); |
|
|
|
|
|
|
|
|
|
//插件图表存储器
|
|
|
|
|
private static LinkedHashMap<String, IndependentChartUIProvider> vanChartTypeInterfaces = new LinkedHashMap<String, IndependentChartUIProvider>(); |
|
|
|
|
|
|
|
|
|
public synchronized static ChartTypeInterfaceManager getInstance() { |
|
|
|
|
if (classManager == null) { |
|
|
|
|
classManager = new ChartTypeInterfaceManager(); |
|
|
|
|
chartTypeInterfaces.clear(); |
|
|
|
|
vanChartTypeInterfaces.clear(); |
|
|
|
|
} |
|
|
|
|
return classManager; |
|
|
|
|
} |
|
|
|
@ -154,9 +150,6 @@ public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraCh
|
|
|
|
|
if (chartTypeInterfaces != null && !chartTypeInterfaces.containsKey(plotID)) { |
|
|
|
|
chartTypeInterfaces.put(plotID, provider); |
|
|
|
|
} |
|
|
|
|
if (vanChartTypeInterfaces != null && !vanChartTypeInterfaces.containsKey(plotID)) { |
|
|
|
|
vanChartTypeInterfaces.put(plotID, provider); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|