* Set the cut, copy and paste actions into the global action handler.
*/
private void setupActions() {
Iterator actionKeys = actionMap.keySet().iterator();
while (actionKeys.hasNext()) {
ActionFactory key = (ActionFactory) actionKeys.next();
IAction action = (IAction) actionMap.get(key);
if (action != null) {
IAction origAction =
actionBars.getGlobalActionHandler(key.getId());
origActionMap.put(key, origAction);
actionBars.setGlobalActionHandler(key.getId(), action);
}
}
actionBars.updateActionBars();
}