ModelContext conceptsModelContext = new ModelContext();
conceptsModelContext.setDomainModel(app.getDomainModel());
Models models = (Models) app.getEntry("Models");
Model model = (Model) models.last();
Concepts concepts = null;
if (model != null) {
concepts = model.getConcepts();
}
conceptsModelContext.setEntities(concepts);
ViewContext conceptsViewContext = new ViewContext();