Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2014-03-18 17:30:12 +0000
committerHenrik Rentz-Reichert2014-03-18 17:30:12 +0000
commitbd0228ea007e60e1429759eaca60f23013233e19 (patch)
tree69e564b2436668cdd3503f9c4b9dcf077334b3e9 /plugins/org.eclipse.etrice.generator.ui/src/org/eclipse/etrice/generator/ui/wizard/ProjectFileFragments.xtend
parent2018ba36a3f6474ec19dd1e779c885b7b53682ee (diff)
downloadorg.eclipse.etrice-bd0228ea007e60e1429759eaca60f23013233e19.tar.gz
org.eclipse.etrice-bd0228ea007e60e1429759eaca60f23013233e19.tar.xz
org.eclipse.etrice-bd0228ea007e60e1429759eaca60f23013233e19.zip
[generator.ui] using more meaningful names in the model created by the wizard
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.ui/src/org/eclipse/etrice/generator/ui/wizard/ProjectFileFragments.xtend')
-rw-r--r--plugins/org.eclipse.etrice.generator.ui/src/org/eclipse/etrice/generator/ui/wizard/ProjectFileFragments.xtend14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/org.eclipse.etrice.generator.ui/src/org/eclipse/etrice/generator/ui/wizard/ProjectFileFragments.xtend b/plugins/org.eclipse.etrice.generator.ui/src/org/eclipse/etrice/generator/ui/wizard/ProjectFileFragments.xtend
index e3d35c25d..8eb78345a 100644
--- a/plugins/org.eclipse.etrice.generator.ui/src/org/eclipse/etrice/generator/ui/wizard/ProjectFileFragments.xtend
+++ b/plugins/org.eclipse.etrice.generator.ui/src/org/eclipse/etrice/generator/ui/wizard/ProjectFileFragments.xtend
@@ -21,14 +21,14 @@ class ProjectFileFragments {
def static String getBasicRoomModel(String baseName) {
'''
RoomModel «baseName» {
- LogicalSystem LogSys1 {
- SubSystemRef subSysRef1:SubSysClass1
+ LogicalSystem «baseName» {
+ SubSystemRef main: MainSubSystem
}
- SubSystemClass SubSysClass1 {
- ActorRef actorRef1:ActorClass1
+ SubSystemClass MainSubSystem {
+ ActorRef appl: Application
LogicalThread defaultThread
}
- ActorClass ActorClass1 {
+ ActorClass Application {
}
}
'''
@@ -69,8 +69,8 @@ class ProjectFileFragments {
MappingModel «baseName» {
import «baseName».* from "«baseName».room"
import «baseName».* from "«baseName».etphys"
- Mapping LogSys1 -> PhysSys1 {
- SubSystemMapping subSysRef1 -> nodeRef1 {
+ Mapping «baseName» -> PhysSys1 {
+ SubSystemMapping main -> nodeRef1 {
ThreadMapping defaultThread -> PhysicalThread1
}
}

Back to the top