Author: scabanovich
Date: 2007-10-18 06:27:46 -0400 (Thu, 18 Oct 2007)
New Revision: 4318
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/JSFMultiPageContributor.java
Log:
JBIDE-800
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/JSFMultiPageContributor.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/JSFMultiPageContributor.java 2007-10-18
10:27:18 UTC (rev 4317)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/JSFMultiPageContributor.java 2007-10-18
10:27:46 UTC (rev 4318)
@@ -132,11 +132,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