use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.
the class WebFrame method showOptionDialog.
@Override
public void showOptionDialog(String title, String message, MessageType messageType, List<Action> actions) {
WebWindowManager wm = App.getInstance().getWindowManager();
wm.showOptionDialog(title, message, messageType, actions.toArray(new Action[actions.size()]));
}
use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.
the class WebFrame method openLookup.
@Override
public Window.Lookup openLookup(String windowAlias, Window.Lookup.Handler handler, WindowManager.OpenType openType) {
WindowConfig windowConfig = AppBeans.get(WindowConfig.NAME);
WindowInfo windowInfo = windowConfig.getWindowInfo(windowAlias);
WebWindowManager wm = App.getInstance().getWindowManager();
return wm.openLookup(windowInfo, handler, openType);
}
use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.
the class WebFrame method showWebPage.
@Override
public void showWebPage(String url, @Nullable Map<String, Object> params) {
WebWindowManager wm = App.getInstance().getWindowManager();
wm.showWebPage(url, params);
}
use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.
the class WebFrame method showOptionDialog.
@Override
public void showOptionDialog(String title, String message, MessageType messageType, Action[] actions) {
WebWindowManager wm = App.getInstance().getWindowManager();
wm.showOptionDialog(title, message, messageType, actions);
}
use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.
the class WebFrame method openWindow.
@Override
public Window openWindow(String windowAlias, WindowManager.OpenType openType) {
WindowConfig windowConfig = AppBeans.get(WindowConfig.NAME);
WindowInfo windowInfo = windowConfig.getWindowInfo(windowAlias);
WebWindowManager wm = App.getInstance().getWindowManager();
return wm.openWindow(windowInfo, openType);
}
Aggregations