Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2008-09-24 09:51:41 -0400
committeratikhomirov2008-09-24 09:51:41 -0400
commitdfec74fe9972a44923f81d065388e083c94014a7 (patch)
treed2db95976ab8c57e954e657ea7cd61813c1d1f96
parent906912e223cab2e383833de1ebfbc607197ad5c1 (diff)
downloadorg.eclipse.gmf-tooling-dfec74fe9972a44923f81d065388e083c94014a7.tar.gz
org.eclipse.gmf-tooling-dfec74fe9972a44923f81d065388e083c94014a7.tar.xz
org.eclipse.gmf-tooling-dfec74fe9972a44923f81d065388e083c94014a7.zip
[174961] Code generation support for custom actions, fix RCP
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/application/ActionBarAdvisor.xpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/application/ActionBarAdvisor.xpt b/plugins/org.eclipse.gmf.codegen/templates/xpt/application/ActionBarAdvisor.xpt
index 9ac26bd95..4332a4d07 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/application/ActionBarAdvisor.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/application/ActionBarAdvisor.xpt
@@ -126,7 +126,7 @@ public class «actionBarAdvisorClassName» extends org.eclipse.ui.application.Acti
«LET managerVar + "X" AS menuVar-»
{
org.eclipse.jface.action.IMenuManager «menuVar» = new org.eclipse.jface.action.MenuManager(
- «IF null != name»«EXPAND xpt::Externalizer::accessorCall(i18nKeyForMenu()) FOR this.application.editorGen»«ELSE»null«ENDIF»«IF null != iD», «iD»«ENDIF»);
+ «IF null != name»«EXPAND xpt::Externalizer::accessorCall(i18nKeyForMenu()) FOR editorGen»«ELSE»null«ENDIF»«IF null != iD», «iD»«ENDIF»);
«EXPAND contribute(menuVar) FOREACH items-»
«managerVar».add(«menuVar»);
}

Back to the top