Author: scabanovich
Date: 2007-10-18 06:57:26 -0400 (Thu, 18 Oct 2007)
New Revision: 4322
Modified:
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/action/ClayMultiPageContributor.java
Log:
JBIDE-800
Modified:
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/action/ClayMultiPageContributor.java
===================================================================
---
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/action/ClayMultiPageContributor.java 2007-10-18
10:38:32 UTC (rev 4321)
+++
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/action/ClayMultiPageContributor.java 2007-10-18
10:57:26 UTC (rev 4322)
@@ -118,11 +118,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);
}
}