Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates/impl/actions/MenuAction.qvto')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/impl/actions/MenuAction.qvto17
1 files changed, 14 insertions, 3 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/impl/actions/MenuAction.qvto b/plugins/org.eclipse.gmf.codegen/templates/impl/actions/MenuAction.qvto
index ac0840e3b..4066b3a99 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/impl/actions/MenuAction.qvto
+++ b/plugins/org.eclipse.gmf.codegen/templates/impl/actions/MenuAction.qvto
@@ -1,11 +1,22 @@
-modeltype genModel uses "http://www.eclipse.org/gmf/2008/GenModel";
+/*
+ * Copyright (c) 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 MenuAction;
-helper hasCommandsToContribute(editorGen : genModel::GenEditorGenerator) : Boolean {
+helper hasCommandsToContribute(editorGen : gmfgen::GenEditorGenerator) : Boolean {
return not editorGen.contextMenus->isEmpty()
}
-helper hasHandlersToContribute(editorGen : genModel::GenEditorGenerator) : Boolean {
+helper hasHandlersToContribute(editorGen : gmfgen::GenEditorGenerator) : Boolean {
return hasCommandsToContribute(editorGen)
}

Back to the top