Search in sources :

Example 1 with TablePresentations

use of com.haulmont.cuba.web.gui.components.presentations.TablePresentations in project cuba by cuba-platform.

the class WebAbstractTable method loadPresentations.

@Override
public void loadPresentations() {
    if (isUsePresentations()) {
        presentations = new PresentationsImpl(this);
        setTablePresentations(new TablePresentations(this));
    } else {
        throw new UnsupportedOperationException("Component doesn't use presentations");
    }
}
Also used : TablePresentations(com.haulmont.cuba.web.gui.components.presentations.TablePresentations) PresentationsImpl(com.haulmont.cuba.gui.presentations.PresentationsImpl)

Aggregations

PresentationsImpl (com.haulmont.cuba.gui.presentations.PresentationsImpl)1 TablePresentations (com.haulmont.cuba.web.gui.components.presentations.TablePresentations)1