Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2009-01-13 11:00:53 -0500
committeratikhomirov2009-01-13 11:00:53 -0500
commit1677877d761940c64098033b1aa8137d5dc73994 (patch)
tree6dcb25dc81eb0c44189e719f60d334cc10795019
parentbea7f96f2ea56c539b8ea3d382913e8a5ff53221 (diff)
downloadorg.eclipse.gmf-tooling-1677877d761940c64098033b1aa8137d5dc73994.tar.gz
org.eclipse.gmf-tooling-1677877d761940c64098033b1aa8137d5dc73994.tar.xz
org.eclipse.gmf-tooling-1677877d761940c64098033b1aa8137d5dc73994.zip
[260860] GenCustomAction with generateBoilerplate=true are always disabled (duplicated handler class)
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates.migrated/impl/actions/extensions.xpt15
1 files changed, 7 insertions, 8 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates.migrated/impl/actions/extensions.xpt b/plugins/org.eclipse.gmf.codegen/templates.migrated/impl/actions/extensions.xpt
index dbf3d6f08..ccb75d9b4 100644
--- a/plugins/org.eclipse.gmf.codegen/templates.migrated/impl/actions/extensions.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates.migrated/impl/actions/extensions.xpt
@@ -56,26 +56,25 @@
<menuContribution locationURI="«locationURI»">
«EXPAND menuEntry(contextMenu) FOREACH items-»
</menuContribution>
-«EXPAND menuContribution(contextMenu) FOREACH (items)[gmfgen::GenContributionManager]-»
+«EXPAND menuContribution(contextMenu) FOREACH items[gmfgen::GenContributionManager]-»
«ENDDEFINE»
«DEFINE commandContribution FOR gmfgen::GenContributionManager-»
-«EXPAND commandContribution FOREACH (items)[gmfgen::GenCustomAction]-»
-«EXPAND commandContribution FOREACH (items)[gmfgen::GenAction]-»
-«EXPAND commandContribution FOREACH (items)[gmfgen::GenContributionManager]-»
+«EXPAND commandContribution FOREACH items[gmfgen::GenCustomAction]-»
+«EXPAND commandContribution FOREACH items[gmfgen::GenAction]-»
+«EXPAND commandContribution FOREACH items[gmfgen::GenContributionManager]-»
«ENDDEFINE»
«DEFINE handlerContribution FOR gmfgen::GenContributionManager-»
-«EXPAND handlerContribution FOREACH (items)[gmfgen::GenCustomAction]->select(a | a.generateBoilerplate)-»
-«EXPAND handlerContribution FOREACH (items)[gmfgen::GenContributionManager]-»
+«EXPAND handlerContribution FOREACH items[gmfgen::GenCustomAction]-»
+«EXPAND handlerContribution FOREACH items[gmfgen::GenContributionManager]-»
«ENDDEFINE»
«DEFINE commandContribution FOR gmfgen::GenCustomAction-»
<command id="«EXPAND commandIdentifier»"
name="«name»"
- categoryId="«owner.editorGen.editor.iD»"
- defaultHandler="«qualifiedClassName»"/>
+ categoryId="«owner.editorGen.editor.iD»"/>
«ENDDEFINE»
«DEFINE commandContribution FOR gmfgen::GenAction-»

Back to the top