refactoring of Plugin Manager and storage plugin

This commit is contained in:
Alexander Nozik 2015-12-20 21:05:07 +03:00
parent 63e344d956
commit 4bdc1d492e

View File

@ -203,7 +203,7 @@ public class MspViewController implements Initializable, MspListener {
} }
Meta config = getViewConfig(); Meta config = getViewConfig();
if (config.hasNode("plotFrame")) { if (config.hasNode("plotFrame")) {
this.plotFrame.updateConfig(config.getNode("plotFrame")); this.plotFrame.configure(config.getNode("plotFrame"));
} }
if (config.hasNode("peakJump.line")) { if (config.hasNode("peakJump.line")) {
for (Meta an : config.getNodes("peakJump.line")) { for (Meta an : config.getNodes("peakJump.line")) {
@ -214,7 +214,7 @@ public class MspViewController implements Initializable, MspListener {
this.plottables.addPlottable(newPlottable); this.plottables.addPlottable(newPlottable);
plotFrame.add(newPlottable); plotFrame.add(newPlottable);
} else { } else {
plottables.getPlottable(mass).updateConfig(an); plottables.getPlottable(mass).configure(an);
} }
} }
} else { } else {