use of com.haulmont.cuba.core.global.BuildInfo in project cuba by cuba-platform.
the class AboutWindow method init.
@Override
public void init(Map<String, Object> params) {
BuildInfo.Content content = buildInfo.getContent();
for (Map.Entry<String, String> entry : content.getProperties().entrySet()) {
KeyValueEntity entity = new KeyValueEntity();
String name = messages.getMainMessage("buildInfo." + entry.getKey());
if (name.equals("buildInfo." + entry.getKey()))
name = entry.getKey();
entity.setValue("name", name);
entity.setValue("value", entry.getValue());
buildInfoDs.includeItem(entity);
}
}
Aggregations