use of io.vertigo.studio.ui.model.DefinitionTypeModel in project vertigo by KleeGroup.
the class Studio method definitionTypes.
private List<DefinitionTypeModel> definitionTypes() {
final ListBuilder<DefinitionTypeModel> listBuilder = new ListBuilder<>();
for (final Class<? extends Definition> definitionClass : app.getDefinitionSpace().getAllTypes()) {
final DefinitionTypeModel definitionTypeModel = new DefinitionTypeModel(definitionClass, app.getDefinitionSpace().getAll(definitionClass));
listBuilder.add(definitionTypeModel);
}
return listBuilder.unmodifiable().build();
}
Aggregations