use of io.jmix.ui.WindowConfig in project jmix by jmix-framework.
the class AddAction method getWindowId.
/**
* @return lookup screen id
*/
public String getWindowId() {
if (windowId != null) {
return windowId;
} else {
WindowConfig windowConfig = AppBeans.get(WindowConfig.class);
MetaClass metaClass = target.getDatasource().getMetaClass();
return windowConfig.getAvailableLookupScreenId(metaClass);
}
}
use of io.jmix.ui.WindowConfig in project jmix by jmix-framework.
the class EditAction method getWindowId.
/**
* @return editor screen identifier
*/
public String getWindowId() {
if (windowId != null) {
return windowId;
} else {
MetaClass metaClass = target.getDatasource().getMetaClass();
WindowConfig windowConfig = AppBeans.get(WindowConfig.class);
return windowConfig.getEditorScreenId(metaClass);
}
}
use of io.jmix.ui.WindowConfig in project jmix by jmix-framework.
the class CreateAction method getWindowId.
/**
* @return editor screen identifier
*/
public String getWindowId() {
if (windowId != null) {
return windowId;
} else {
MetaClass metaClass = target.getDatasource().getMetaClass();
WindowConfig windowConfig = AppBeans.get(WindowConfig.class);
return windowConfig.getEditorScreenId(metaClass);
}
}
Aggregations