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