@Component(value="cuba_ScreenTools") public class WebScreenTools extends java.lang.Object implements ScreenTools
Modifier and Type | Field and Description |
---|---|
protected UserSettingService |
userSettingService |
protected WebConfig |
webConfig |
protected WindowConfig |
windowConfig |
NAME
Constructor and Description |
---|
WebScreenTools() |
Modifier and Type | Method and Description |
---|---|
void |
openDefaultScreen(Screens screens)
Opens default screen.
|
@Inject protected WebConfig webConfig
@Inject protected WindowConfig windowConfig
@Inject protected UserSettingService userSettingService
public void openDefaultScreen(Screens screens)
ScreenTools
Default screen can be defined with the cuba.web.defaultScreenId
application property.
openDefaultScreen
in interface ScreenTools
screens
- Screens
bean reference