Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.doc/src/org/eclipse/etrice/generator/doc/gen/AsciiDocGen.xtend')
-rw-r--r--plugins/org.eclipse.etrice.generator.doc/src/org/eclipse/etrice/generator/doc/gen/AsciiDocGen.xtend13
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/org.eclipse.etrice.generator.doc/src/org/eclipse/etrice/generator/doc/gen/AsciiDocGen.xtend b/plugins/org.eclipse.etrice.generator.doc/src/org/eclipse/etrice/generator/doc/gen/AsciiDocGen.xtend
index 62e864963..18e163099 100644
--- a/plugins/org.eclipse.etrice.generator.doc/src/org/eclipse/etrice/generator/doc/gen/AsciiDocGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.doc/src/org/eclipse/etrice/generator/doc/gen/AsciiDocGen.xtend
@@ -548,12 +548,13 @@ class AsciiDocGen {
private new(String name, Iterable<RoomModel> models) {
this.name = name
- systems = models.map[it.systems].flatten.sortBy[name]
- subSystemClasses = models.map[it.subSystemClasses].flatten.sortBy[name]
- protocolClasses = models.map[it.protocolClasses].flatten.sortBy[name]
- enumerationTypes = models.map[it.enumerationTypes].flatten.sortBy[name]
- dataClasses = models.map[it.dataClasses].flatten.sortBy[name]
- actorClasses = models.map[it.actorClasses].flatten.sortBy[name]
+ val roomClasses = models.flatMap[roomClasses]
+ systems = roomClasses.filter(LogicalSystem).sortBy[name]
+ subSystemClasses = roomClasses.filter(SubSystemClass).sortBy[name]
+ protocolClasses = roomClasses.filter(GeneralProtocolClass).sortBy[name]
+ enumerationTypes = roomClasses.filter(EnumerationType).sortBy[name]
+ dataClasses = roomClasses.filter(DataClass).sortBy[name]
+ actorClasses = roomClasses.filter(ActorClass).sortBy[name]
}
}

Back to the top