@Override public void actionPerform(Component component) { tableImpl.hidePresentationsPopup(); Presentations presentations = table.getPresentations(); Presentation current = presentations.getCurrent(); Element e = presentations.getSettings(current); table.saveSettings(e); presentations.setSettings(current, e); presentations.commit(); } }
protected boolean handleSpecificVariables(Map<String, Object> variables) { boolean needReload = false; if (isUsePresentations() && presentations != null) { Presentations p = getPresentations(); if (p.getCurrent() != null && p.isAutoSave(p.getCurrent()) && needUpdatePresentation(variables)) { Element e = p.getSettings(p.getCurrent()); saveSettings(e); p.setSettings(p.getCurrent(), e); } } //noinspection ConstantConditions return needReload; }