Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates.migrated/impl/parsers/i18n.qvto')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates.migrated/impl/parsers/i18n.qvto21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates.migrated/impl/parsers/i18n.qvto b/plugins/org.eclipse.gmf.codegen/templates.migrated/impl/parsers/i18n.qvto
new file mode 100644
index 000000000..028d254d8
--- /dev/null
+++ b/plugins/org.eclipse.gmf.codegen/templates.migrated/impl/parsers/i18n.qvto
@@ -0,0 +1,21 @@
+library i18n;
+
+helper defaultAbstractParserClassName() : String {
+ return 'AbstractParser'
+}
+
+helper i18nKeyForAbstractParserUnexpectedValueTypeMessage() : String {
+ return defaultAbstractParserClassName() + '.UnexpectedValueType'
+}
+
+helper i18nKeyForAbstractParserWrongStringConversionMessage() : String {
+ return defaultAbstractParserClassName() + '.WrongStringConversion'
+}
+
+helper i18nKeyForAbstractParserUnknownLiteralMessage() : String {
+ return defaultAbstractParserClassName() + '.UnknownLiteral'
+}
+
+helper i18nKeyForMessageFormatParserInvalidInputError() : String {
+ return 'MessageFormatParser.InvalidInputError'
+}

Back to the top