use of com.avaloq.tools.ddk.xtext.format.format.FormatConfiguration in project dsl-devkit by dsldevkit.
the class FormatHyperlinkHelper method getExtendedModels.
/**
* Gets all extended models.
*
* @param model
* the model
* @return list with all extended models
*/
private List<FormatConfiguration> getExtendedModels(final FormatConfiguration model) {
FormatConfiguration extendedModel = model.getExtendedFormatConfiguration();
List<FormatConfiguration> result = Lists.newArrayList();
if (extendedModel != null) {
result.add(extendedModel);
result.addAll(getExtendedModels(extendedModel));
}
return result;
}
Aggregations