use of com.haulmont.cuba.desktop.gui.DesktopComponentsFactory in project cuba by cuba-platform.
the class DesktopFieldGroupTest method createComponentsFactory.
@Override
protected UiComponents createComponentsFactory() {
return new DesktopComponentsFactory() {
@Override
public List<ComponentGenerationStrategy> getComponentGenerationStrategies() {
DefaultComponentGenerationStrategy strategy = new DefaultComponentGenerationStrategy(messages);
strategy.setUiComponents(this);
return Collections.singletonList(strategy);
}
};
}
Aggregations