Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 6d865b75fa12ee61396df32c2cd092b7f586bd58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
«IMPORT org::eclipse::papyrus::message::editor::xtext::umlMessage»

«EXTENSION templates::Extensions»

«DEFINE main FOR Greeting-»
«FILE name+".txt"-»
This is an example of a generated file.

The input element was "Hello «name»!"

All greetings in the same file:
«FOREACH ((Model)eContainer()).sortedGreetings() AS g SEPARATOR ', '»«g.name»«ENDFOREACH»
«ENDFILE-»
«ENDDEFINE»

Back to the top