diff options
author | Henrik Rentz-Reichert | 2012-01-12 15:06:59 +0000 |
---|---|---|
committer | Henrik Rentz-Reichert | 2012-01-12 15:06:59 +0000 |
commit | 9b85a9a9621f6fd1b2fb38c36f657b5174c853e9 (patch) | |
tree | 15cd6dc3d3e4c81e5894282cac7b7dca9db05463 /plugins/org.eclipse.etrice.generator.java/src | |
parent | caa7cd1c95a48b30b65f6b3fa6486b498dac56a3 (diff) | |
download | org.eclipse.etrice-9b85a9a9621f6fd1b2fb38c36f657b5174c853e9.tar.gz org.eclipse.etrice-9b85a9a9621f6fd1b2fb38c36f657b5174c853e9.tar.xz org.eclipse.etrice-9b85a9a9621f6fd1b2fb38c36f657b5174c853e9.zip |
[core.room and affected] added possibility of private Messages and of PortClass Operations sending Messages
- grammar changes
- formatting
- outline
- new icons
- incoming/outgoing optional but validation checks >0 messages
- behavior message selection adds PortClass operations
- generator makes send message methods private
- made use of this in ALogService.room
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.java/src')
-rw-r--r-- | plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend index 3087db7c9..e9364d78e 100644 --- a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend +++ b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend @@ -228,7 +228,7 @@ class ProtocolClassGen { }
def messageSignature(Message m) {
- '''public void «m.name»(«IF m.data!=null»«m.data.type.typeName» «m.data.name»«ENDIF»)'''
+ '''«IF m.priv»private«ELSE»public«ENDIF» void «m.name»(«IF m.data!=null»«m.data.type.typeName» «m.data.name»«ENDIF»)'''
}
def messageSignatureExplicit(Message m) {
|