use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.
the class WebFrame method openEditor.
@Override
public Window.Editor openEditor(Entity item, WindowManager.OpenType openType, Map<String, Object> params, Datasource parentDs) {
WindowConfig windowConfig = AppBeans.get(WindowConfig.NAME);
WindowInfo editorScreen = windowConfig.getEditorScreen(item);
WebWindowManager wm = App.getInstance().getWindowManager();
return wm.openEditor(editorScreen, item, openType, params, parentDs);
}
Aggregations