use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.
the class WebFrame method openEditor.
@Override
public Window.Editor openEditor(String windowAlias, Entity item, WindowManager.OpenType openType, Map<String, Object> params) {
WindowConfig windowConfig = AppBeans.get(WindowConfig.NAME);
WindowInfo windowInfo = windowConfig.getWindowInfo(windowAlias);
WebWindowManager wm = App.getInstance().getWindowManager();
return wm.openEditor(windowInfo, item, openType, params);
}
use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.
the class WebFrame method openEditor.
@Override
public Window.Editor openEditor(String windowAlias, Entity item, WindowManager.OpenType openType, Datasource parentDs) {
WindowConfig windowConfig = AppBeans.get(WindowConfig.NAME);
WindowInfo windowInfo = windowConfig.getWindowInfo(windowAlias);
WebWindowManager wm = App.getInstance().getWindowManager();
return wm.openEditor(windowInfo, item, openType, parentDs);
}
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, Map<String, Object> params) {
WindowConfig windowConfig = AppBeans.get(WindowConfig.NAME);
WindowInfo windowInfo = windowConfig.getWindowInfo(windowAlias);
WebWindowManager wm = App.getInstance().getWindowManager();
return wm.openLookup(windowInfo, handler, openType, params);
}
use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.
the class WebFrame method showMessageDialog.
@Override
public void showMessageDialog(String title, String message, MessageType messageType) {
WebWindowManager wm = App.getInstance().getWindowManager();
wm.showMessageDialog(title, message, messageType);
}
use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.
the class WebFrame method openEditor.
@Override
public Window.Editor openEditor(String windowAlias, Entity item, WindowManager.OpenType openType) {
WindowConfig windowConfig = AppBeans.get(WindowConfig.NAME);
WindowInfo windowInfo = windowConfig.getWindowInfo(windowAlias);
WebWindowManager wm = App.getInstance().getWindowManager();
return wm.openEditor(windowInfo, item, openType);
}
Aggregations