Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates/xpt/GenEditorGenerator.qvto')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/GenEditorGenerator.qvto19
1 files changed, 16 insertions, 3 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/GenEditorGenerator.qvto b/plugins/org.eclipse.gmf.codegen/templates/xpt/GenEditorGenerator.qvto
index e2ca0489d..ea1396c55 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/GenEditorGenerator.qvto
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/GenEditorGenerator.qvto
@@ -1,7 +1,20 @@
-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:
+ * Artem Tikhomirov (Borland) - initial API and implementation
+ */
+
+modeltype gmfgen uses "http://www.eclipse.org/gmf/2009/GenModel";
library GenEditorGenerator;
-helper hasAudits(editorGen : genModel::GenEditorGenerator) : Boolean {
- return editorGen.audits <> null and not editorGen.audits.rules->isEmpty()
+-- FIXME remove java-only GenEditorGenerator#hasAudits or declare it in metamodel
+helper hasAudits(editorGen : gmfgen::GenEditorGenerator) : Boolean {
+ return editorGen.audits <> null and editorGen.audits.rules->notEmpty()
}

Back to the top