Search in sources :

Example 1 with VBoxLayout

use of com.haulmont.cuba.gui.components.VBoxLayout in project cuba by cuba-platform.

the class AppWorkAreaLoader method createComponent.

@Override
public void createComponent() {
    resultComponent = (AppWorkArea) factory.createComponent(AppWorkArea.NAME);
    loadId(resultComponent, element);
    Element initialLayoutElement = element.element("initialLayout");
    initialLayoutLoader = getLoader(initialLayoutElement, VBoxLayout.NAME);
    initialLayoutLoader.createComponent();
    VBoxLayout initialLayout = (VBoxLayout) initialLayoutLoader.getResultComponent();
    resultComponent.setInitialLayout(initialLayout);
}
Also used : VBoxLayout(com.haulmont.cuba.gui.components.VBoxLayout) Element(org.dom4j.Element)

Aggregations

VBoxLayout (com.haulmont.cuba.gui.components.VBoxLayout)1 Element (org.dom4j.Element)1