Search in sources :

Example 1 with UiComponents

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

the class WebAppWorkArea method setBeanLocator.

@Inject
public void setBeanLocator(BeanLocator beanLocator) {
    super.setBeanLocator(beanLocator);
    UiComponents cf = beanLocator.get(UiComponents.NAME);
    setInitialLayout(cf.create(VBoxLayout.NAME));
    this.tabbedContainer = createTabbedModeContainer();
    UserSettingsTools userSettingsTools = beanLocator.get(UserSettingsTools.NAME);
    setMode(userSettingsTools.loadAppWindowMode());
}
Also used : UiComponents(com.haulmont.cuba.gui.UiComponents) UserSettingsTools(com.haulmont.cuba.web.app.UserSettingsTools) Inject(javax.inject.Inject)

Aggregations

UiComponents (com.haulmont.cuba.gui.UiComponents)1 UserSettingsTools (com.haulmont.cuba.web.app.UserSettingsTools)1 Inject (javax.inject.Inject)1