Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/updater/extensions.xtend')
-rw-r--r--plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/updater/extensions.xtend40
1 files changed, 9 insertions, 31 deletions
diff --git a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/updater/extensions.xtend b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/updater/extensions.xtend
index e3308a9481d..d376c0e7c0d 100644
--- a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/updater/extensions.xtend
+++ b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/updater/extensions.xtend
@@ -1,5 +1,5 @@
-/*******************************************************************************
- * Copyright (c) 2007, 2020 Borland Software Corporation, CEA LIST, Artal and others
+/*****************************************************************************
+ * Copyright (c) 2007, 2020, 2021 Borland Software Corporation, CEA LIST, Artal and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -11,40 +11,18 @@
* Contributors:
* Alexander Shatalin (Borland) - initial API and implementation
* Michael Golubev (Montages) - #386838 - migrate to Xtend2
- * Aurelien Didier (ARTAL) - aurelien.didier51@gmail.com - Bug 569174
+ * Gabriel Pascual (ALL4TEC) - Bug 372322 : [Diagram - Refresh] The refresh action is not correctly binded to F5
+ * Etienne ALLOGO (ARTAL) - etienne.allogo@artal.fr - Bug 569174 : PapyrusGmfExtension epackage merge into gmfgen
*****************************************************************************/
package xpt.diagram.updater
-import com.google.inject.Inject
+import com.google.inject.Singleton
import org.eclipse.papyrus.gmf.codegen.gmfgen.GenDiagramUpdater
-@com.google.inject.Singleton class extensions {
- @Inject extension xpt.Common;
+@Singleton class extensions {
- def extensions(GenDiagramUpdater it) '''
- «extraLineBreak»
- «extraLineBreak»
- «tripleSpace(1)»<extension point="org.eclipse.ui.commands" id="update-cmd">
- «tripleSpace(2)»«xmlGeneratedTag»
- «tripleSpace(2)»<command
- «tripleSpace(3)»categoryId="org.eclipse.ui.category.edit"
- «tripleSpace(3)»defaultHandler="«getUpdateCommandQualifiedClassName()»"
- «tripleSpace(3)»description="%update.diagram.description"
- «tripleSpace(3)»id="«updateCommandID»"
- «tripleSpace(3)»name="%update.diagram.name"/>
- «tripleSpace(1)»</extension>
- «extraLineBreak»«outTab»
- «tripleSpace(1)»<extension point="org.eclipse.ui.bindings" id="update-cmd-binding">
- «tripleSpace(2)»«xmlGeneratedTag»
- «tripleSpace(2)»<key
- «tripleSpace(3)»commandId="«updateCommandID»"
- «tripleSpace(3)»contextId="«editorGen.editor.contextID»"
- «tripleSpace(3)»schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- «tripleSpace(3)»sequence="F5"/>
- «tripleSpace(1)»</extension>
- '''
-
- def outTab() {
- return ' ';
+ def extensions(GenDiagramUpdater it) {
+ // Override Refresh contribution
}
+
}

Back to the top