action= new TreeHomeAction(1, "selectLast");
action = new TreeHomeAction(1, "selectLastChangeLead");
  private ActionMap createDefaultActions()  {    ActionMapUIResource am = new ActionMapUIResource();    Action action;    action= new TreeAction();    am.put(action.getValue(Action.NAME), action);    // TreeHomeAction.    action= new TreeHomeAction(-1, "selectFirst");    am.put(action.getValue(Action.NAME), action);    action= new TreeHomeAction(-1, "selectFirstChangeLead");    am.put(action.getValue(Action.NAME), action);    action= new TreeHomeAction(-1, "selectFirstExtendSelection");    am.put(action.getValue(Action.NAME), action);    action= new TreeHomeAction(1, "selectLast");    am.put(action.getValue(Action.NAME), action);    action= new TreeHomeAction(1, "selectLastChangeLead");    am.put(action.getValue(Action.NAME), action);    action= new TreeHomeAction(1, "selectLastExtendSelection");    am.put(action.getValue(Action.NAME), action);    // TreeIncrementAction.    action = new TreeIncrementAction(-1, "selectPrevious");    am.put(action.getValue(Action.NAME), action);    action = new TreeIncrementAction(-1, "selectPreviousExtendSelection");    am.put(action.getValue(Action.NAME), action);    action = new TreeIncrementAction(-1, "selectPreviousChangeLead");    am.put(action.getValue(Action.NAME), action);    action = new TreeIncrementAction(1, "selectNext");    am.put(action.getValue(Action.NAME), action);    action = new TreeIncrementAction(1, "selectNextExtendSelection");    am.put(action.getValue(Action.NAME), action);    action = new TreeIncrementAction(1, "selectNextChangeLead");    am.put(action.getValue(Action.NAME), action);    // TreeTraverseAction.    action = new TreeTraverseAction(-1, "selectParent");    am.put(action.getValue(Action.NAME), action);    action = new TreeTraverseAction(1, "selectChild");    am.put(action.getValue(Action.NAME), action);        // TreeToggleAction.    action = new TreeToggleAction("toggleAndAnchor");    am.put(action.getValue(Action.NAME), action);    // TreePageAction.    action = new TreePageAction(-1, "scrollUpChangeSelection");    am.put(action.getValue(Action.NAME), action);    action = new TreePageAction(-1, "scrollUpExtendSelection");    am.put(action.getValue(Action.NAME), action);    action = new TreePageAction(-1, "scrollUpChangeLead");    am.put(action.getValue(Action.NAME), action);    action = new TreePageAction(1, "scrollDownChangeSelection");    am.put(action.getValue(Action.NAME), action);    action = new TreePageAction(1, "scrollDownExtendSelection");    am.put(action.getValue(Action.NAME), action);    action = new TreePageAction(1, "scrollDownChangeLead");    am.put(action.getValue(Action.NAME), action);    return am;  }