diff options
author | Tom Schindl | 2015-11-26 10:00:57 +0000 |
---|---|---|
committer | Tom Schindl | 2015-11-26 10:00:57 +0000 |
commit | 9ecaf10c4f90fb58ee862643e3facff00168fc87 (patch) | |
tree | 03bfa2c95ab02729a7b1ea899303dd99c085a2fd | |
parent | 1121fcbe2d4bf7e9fed41f78ab2001c599a2192e (diff) | |
download | org.eclipse.efxclipse-9ecaf10c4f90fb58ee862643e3facff00168fc87.tar.gz org.eclipse.efxclipse-9ecaf10c4f90fb58ee862643e3facff00168fc87.tar.xz org.eclipse.efxclipse-9ecaf10c4f90fb58ee862643e3facff00168fc87.zip |
fixed generation of included bundle messages
-rw-r--r-- | bundles/tooling/org.eclipse.fx.ide.l10n/src/org/eclipse/fx/ide/l10n/generator/NLSDslGenerator.xtend | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n/src/org/eclipse/fx/ide/l10n/generator/NLSDslGenerator.xtend b/bundles/tooling/org.eclipse.fx.ide.l10n/src/org/eclipse/fx/ide/l10n/generator/NLSDslGenerator.xtend index 12ff29eca..45c56b3f8 100644 --- a/bundles/tooling/org.eclipse.fx.ide.l10n/src/org/eclipse/fx/ide/l10n/generator/NLSDslGenerator.xtend +++ b/bundles/tooling/org.eclipse.fx.ide.l10n/src/org/eclipse/fx/ide/l10n/generator/NLSDslGenerator.xtend @@ -188,6 +188,10 @@ class NLSDslGenerator implements IGenerator { return bundle_«in.name».«me.name»(«me.paramList.map[p|p.^var].join(", ")»); } «ENDIF» + + public java.util.function.Supplier<String> «me.name»_supplier(«me.paramList.map[p|p.predefined.toSourceString + " " + p.^var].join(", ")») { + return () -> «me.name»(«me.paramList.map[p|p.^var].join(", ")»); + } «ENDFOR» «ENDFOR» } |