Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates/xpt/providers/i18n.qvto')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/providers/i18n.qvto28
1 files changed, 16 insertions, 12 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/i18n.qvto b/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/i18n.qvto
index 020e3ceb7..288db8ded 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/i18n.qvto
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/i18n.qvto
@@ -1,15 +1,19 @@
-modeltype genModel uses "http://www.eclipse.org/gmf/2008/GenModel";
+/*
+ * Copyright (c) 2007, 2009 Borland Software Corporation
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Anna Karjakina (Borland) - initial API and implementation
+ */
-library i18n;
-
-helper i18nKeyForModelingAssistantProvider(diagram : genModel::GenDiagram) : String {
- return diagram.modelingAssistantProviderClassName
-}
+modeltype gmfgen uses "http://www.eclipse.org/gmf/2009/GenModel";
-helper titleKey(dialogKey : String) : String {
- return dialogKey + 'Title'
-}
+library i18n;
-helper messageKey(dialogKey : String) : String {
- return dialogKey + 'Message'
-}
+helper i18nKeyForModelingAssistantProvider(diagram : gmfgen::GenDiagram) : String { return diagram.modelingAssistantProviderClassName }
+helper titleKey(dialogKey : String) : String { return dialogKey + 'Title' }
+helper messageKey(dialogKey : String) : String { return dialogKey + 'Message' }

Back to the top