|
|
|
|
|
|
Re: EDate and XPand [message #629712 is a reply to message #629615] |
Wed, 29 September 2010 11:00 |
|
Hi
the workflow should look like
<bean id="emf" class="org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel"/>
<bean id="java" class="org.eclipse.xtend.type.impl.java.JavaBeansMetaModel"/>
..
<component class="org.eclipse.xpand2.Generator">
<metaModel idRef="emf"/>
<metaModel idRef="java"/>
metamodelContributor=org.eclipse.xtend.typesystem.emf.ui.Emf MetamodelContributor,org.eclipse.xtend.shared.ui.core.metamo del.jdt.javabean.JavaBeanMetamodelContributor
works fine for mewith this extension:
String toSpecialDate(java::util::Date d) :
"xxx" + d.toString();
~Christian
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
|
|
|
|
Powered by
FUDForum. Page generated in 0.04170 seconds