use of com.haulmont.cuba.gui.screen.UiController in project cuba by cuba-platform.
the class UiControllerClassMeta method getControllerId.
protected String getControllerId(Class<? extends FrameOwner> screenClass) {
UiController uiController = screenClass.getAnnotation(UiController.class);
String idAttr = null;
String valueAttr = null;
if (uiController != null) {
idAttr = uiController.id();
valueAttr = uiController.value();
}
return UiDescriptorUtils.getInferredScreenId(idAttr, valueAttr, screenClass.getName());
}
Aggregations