private void saveAllData() {
try {
Collection<PluginProvider> plugins = MAP_PLUGIN.values();
if (plugins != null && !plugins.isEmpty()) {
for (Iterator<PluginProvider> ite = plugins.iterator(); ite.hasNext();) {
final PluginProvider plugin = ite.next();
if (Answare.NEGATIVE.equals(plugin.onSavingData())) {
log("WRN - Can't save plugin:" + plugin.getId() + " RETURN FALSE");
Platform.runLater(() -> {
plugin.setSelected();
});
Tab tab = findTab(plugin.getId());
selectTab(tab);
return;
}
}
}