public static final String MOVE_SELECTION_TO = "moveSelectionTo";
}
public SubstanceInputMap getListFocusInputMap() {
SubstanceInputMap result = new SubstanceInputMap();
result.put("ctrl C", COPY);
result.put("ctrl V", PASTE);
result.put("ctrl X", CUT);
result.put("COPY", COPY);
result.put("PASTE", PASTE);
result.put("CUT", CUT);
result.put("control INSERT", COPY);
result.put("shift INSERT", PASTE);
result.put("shift DELETE", CUT);
result.put("UP", ListActions.SELECT_PREVIOUS_ROW);
result.put("KP_UP", ListActions.SELECT_PREVIOUS_ROW);
result.put("shift UP", ListActions.SELECT_PREVIOUS_ROW_EXTEND);
result.put("shift KP_UP", ListActions.SELECT_PREVIOUS_ROW_EXTEND);
result.put("ctrl shift UP", ListActions.SELECT_PREVIOUS_ROW_EXTEND);
result.put("ctrl shift KP_UP", ListActions.SELECT_PREVIOUS_ROW_EXTEND);
result.put("ctrl UP", ListActions.SELECT_PREVIOUS_ROW_CHANGE_LEAD);
result.put("ctrl KP_UP", ListActions.SELECT_PREVIOUS_ROW_CHANGE_LEAD);
result.put("DOWN", ListActions.SELECT_NEXT_ROW);
result.put("KP_DOWN", ListActions.SELECT_NEXT_ROW);
result.put("shift DOWN", ListActions.SELECT_NEXT_ROW_EXTEND);
result.put("shift KP_DOWN", ListActions.SELECT_NEXT_ROW_EXTEND);
result.put("ctrl shift DOWN", ListActions.SELECT_NEXT_ROW_EXTEND);
result.put("ctrl shift KP_DOWN", ListActions.SELECT_NEXT_ROW_EXTEND);
result.put("ctrl DOWN", ListActions.SELECT_NEXT_ROW_CHANGE_LEAD);
result.put("ctrl KP_DOWN", ListActions.SELECT_NEXT_ROW_CHANGE_LEAD);
result.put("LEFT", ListActions.SELECT_PREVIOUS_COLUMN);
result.put("KP_LEFT", ListActions.SELECT_PREVIOUS_COLUMN);
result.put("shift LEFT", ListActions.SELECT_PREVIOUS_COLUMN_EXTEND);
result.put("shift KP_LEFT", ListActions.SELECT_PREVIOUS_COLUMN_EXTEND);
result
.put("ctrl shift LEFT",
ListActions.SELECT_PREVIOUS_COLUMN_EXTEND);
result.put("ctrl shift KP_LEFT",
ListActions.SELECT_PREVIOUS_COLUMN_EXTEND);
result.put("ctrl LEFT", ListActions.SELECT_PREVIOUS_COLUMN_CHANGE_LEAD);
result.put("ctrl KP_LEFT",
ListActions.SELECT_PREVIOUS_COLUMN_CHANGE_LEAD);
result.put("RIGHT", ListActions.SELECT_NEXT_COLUMN);
result.put("KP_RIGHT", ListActions.SELECT_NEXT_COLUMN);
result.put("shift RIGHT", ListActions.SELECT_NEXT_COLUMN_EXTEND);
result.put("shift KP_RIGHT", ListActions.SELECT_NEXT_COLUMN_EXTEND);
result.put("ctrl shift RIGHT", ListActions.SELECT_NEXT_COLUMN_EXTEND);
result
.put("ctrl shift KP_RIGHT",
ListActions.SELECT_NEXT_COLUMN_EXTEND);
result.put("ctrl RIGHT", ListActions.SELECT_NEXT_COLUMN_CHANGE_LEAD);
result.put("ctrl KP_RIGHT", ListActions.SELECT_NEXT_COLUMN_CHANGE_LEAD);
result.put("HOME", ListActions.SELECT_FIRST_ROW);
result.put("shift HOME", ListActions.SELECT_FIRST_ROW_EXTEND);
result.put("ctrl shift HOME", ListActions.SELECT_FIRST_ROW_EXTEND);
result.put("ctrl HOME", ListActions.SELECT_FIRST_ROW_CHANGE_LEAD);
result.put("END", ListActions.SELECT_LAST_ROW);
result.put("shift END", ListActions.SELECT_LAST_ROW_EXTEND);
result.put("ctrl shift END", ListActions.SELECT_LAST_ROW_EXTEND);
result.put("ctrl END", ListActions.SELECT_LAST_ROW_CHANGE_LEAD);
result.put("PAGE_UP", ListActions.SCROLL_UP);
result.put("shift PAGE_UP", ListActions.SCROLL_UP_EXTEND);
result.put("ctrl shift PAGE_UP", ListActions.SCROLL_UP_EXTEND);
result.put("ctrl PAGE_UP", ListActions.SCROLL_UP_CHANGE_LEAD);
result.put("PAGE_DOWN", ListActions.SCROLL_DOWN);
result.put("shift PAGE_DOWN", ListActions.SCROLL_DOWN_EXTEND);
result.put("ctrl shift PAGE_DOWN", ListActions.SCROLL_DOWN_EXTEND);
result.put("ctrl PAGE_DOWN", ListActions.SCROLL_DOWN_CHANGE_LEAD);
result.put("ctrl A", ListActions.SELECT_ALL);
result.put("ctrl SLASH", ListActions.SELECT_ALL);
result.put("ctrl BACK_SLASH", ListActions.CLEAR_SELECTION);
result.put("SPACE", ListActions.ADD_TO_SELECTION);
result.put("ctrl SPACE", ListActions.TOGGLE_AND_ANCHOR);
result.put("shift SPACE", ListActions.EXTEND_TO);
result.put("ctrl shift SPACE", ListActions.MOVE_SELECTION_TO);
return result;
}