Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/GenEditorGenerator.qvto')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/GenEditorGenerator.qvto7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/GenEditorGenerator.qvto b/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/GenEditorGenerator.qvto
new file mode 100644
index 000000000..e2ca0489d
--- /dev/null
+++ b/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/GenEditorGenerator.qvto
@@ -0,0 +1,7 @@
+modeltype genModel uses "http://www.eclipse.org/gmf/2008/GenModel";
+
+library GenEditorGenerator;
+
+helper hasAudits(editorGen : genModel::GenEditorGenerator) : Boolean {
+ return editorGen.audits <> null and not editorGen.audits.rules->isEmpty()
+}

Back to the top