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