Author: scabanovich
Date: 2007-10-18 06:28:51 -0400 (Thu, 18 Oct 2007)
New Revision: 4320
Modified:
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/action/StrutsMultiPageContributor.java
Log:
JBIDE-800
Modified:
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/action/StrutsMultiPageContributor.java
===================================================================
---
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/action/StrutsMultiPageContributor.java 2007-10-18
10:28:06 UTC (rev 4319)
+++
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/action/StrutsMultiPageContributor.java 2007-10-18
10:28:51 UTC (rev 4320)
@@ -126,11 +126,10 @@
updateStatus();
}
- public static void registerKeyBindings(IHandlerService handler, String[] actions,
ActionRegistry registry) {
+ public void registerKeyBindings(IHandlerService handler, String[] actions,
ActionRegistry registry) {
for (int i = 0; i < actions.length; i++) {
IAction action = registry.getAction(actions[i]);
- if(action == null) continue;
- handler.activateHandler(actions[i], new ActionHandler(action));
+ registerKeyBinding(handler, actions[i], action);
}
}
Show replies by date