Changeset 99 in josm for src/org/openstreetmap/josm/actions/GroupAction.java
- Timestamp:
- 2006-04-27T01:29:55+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/actions/GroupAction.java
r98 r99 52 52 public GroupAction(int shortCut, int modifiers) { 53 53 String idName = getClass().getName(); 54 Main. panel.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(shortCut, modifiers), idName);55 Main. panel.getActionMap().put(idName, this);54 Main.contentPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(shortCut, modifiers), idName); 55 Main.contentPane.getActionMap().put(idName, this); 56 56 shortCutName = ShortCutLabel.name(shortCut, modifiers); 57 57 addPropertyChangeListener(new PropertyChangeListener(){
Note:
See TracChangeset
for help on using the changeset viewer.