|
Re: XPand [message #1006375 is a reply to message #1006141] |
Thu, 31 January 2013 07:35 |
|
Hi Serhat,
You usually would have an Xtend function to return the value and access this function:
templates.Foo.ext:
==================
String MyGlobalVarValue() : GLOBALVAR my_global_var_name;
templates.Foo.xpt:
==================
extension templates::Foo;
...
«MyGlobalVarValue()»
Kind regards,
~Karsten
Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
|
|
|
|
Re: XPand [message #1007181 is a reply to message #1007177] |
Mon, 04 February 2013 19:22 |
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1187.34">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 15.0px; font: 12.0px Helvetica}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 15.0px; font: 12.0px Helvetica; min-height: 14.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 12.0px Helvetica; min-height: 14.0px}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #929292}
</style>
</head>
<body>
<p class="p1">Hi,</p>
<p class="p2"><br></p>
<p class="p1">have a look at the docs</p>
<p class="p1"><a href="http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.xpand.doc%2Fhelp%2Fr10_expressions_language.html">http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.xpand.doc%2Fhelp%2Fr10_expressions_language.html</a></p>
<p class="p2"><br></p>
<p class="p1">~Christian</p>
<p class="p3"><br></p>
<p class="p4"><br></p>
<p class="p5">--<span class="Apple-converted-space"> </span></p>
<p class="p5">Need training, onsite consulting or any other kind of help for Xtext?<span class="Apple-converted-space"> </span></p>
<p class="p5">Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de</p>
</body>
</html>
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
Powered by
FUDForum. Page generated in 0.03726 seconds