use of com.haulmont.cuba.gui.presentation.Presentations in project jmix by jmix-framework.
the class WebTable method createTablePresentations.
@Override
protected TablePresentations createTablePresentations() {
Presentations presentations = applicationContext.getBean(Presentations.class, this);
presentationsDelegate = applicationContext.getBean(LegacyPresentationsDelegate.class, this, presentations, getSettingsBinder());
return presentations;
}
use of com.haulmont.cuba.gui.presentation.Presentations in project jmix by jmix-framework.
the class WebGroupTable method createTablePresentations.
@Override
protected TablePresentations createTablePresentations() {
Presentations presentations = applicationContext.getBean(Presentations.class, this);
presentationsDelegate = applicationContext.getBean(LegacyPresentationsDelegate.class, this, presentations, getSettingsBinder());
return presentations;
}
use of com.haulmont.cuba.gui.presentation.Presentations in project jmix by jmix-framework.
the class CubaSavePresentationAction method setSettingsToPresentation.
@Override
protected void setSettingsToPresentation(TablePresentations presentations, TablePresentation current) {
if (table.getFrame().getFrameOwner() instanceof CubaLegacySettings) {
Presentations ps = (Presentations) presentations;
Element e = ps.getSettings(current);
((HasSettings) table).saveSettings(e);
ps.setSettings(current, e);
} else {
super.setSettingsToPresentation(presentations, current);
}
}
use of com.haulmont.cuba.gui.presentation.Presentations in project jmix by jmix-framework.
the class WebTreeTable method createTablePresentations.
@Override
protected TablePresentations createTablePresentations() {
Presentations presentations = applicationContext.getBean(Presentations.class, this);
presentationsDelegate = applicationContext.getBean(LegacyPresentationsDelegate.class, this, presentations, getSettingsBinder());
return presentations;
}
Aggregations