Changeset 21524 in osm for applications/editors/josm/plugins/videomapping
- Timestamp:
- 2010-05-31T10:27:36+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/PositionLayer.java
r21519 r21524 66 66 //Main.panel.addKeyListener(this); 67 67 //Main.map.mapView.addKeyListener(this); 68 System.err.println("key :"); 69 70 Action a = new AbstractAction() { 71 public void actionPerformed(ActionEvent e) { 72 // TODO Auto-generated method stub 73 System.err.println("!!!boom!!!"); 74 }}; 75 Main.registerActionShortcut(a, KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0)); 76 77 //Main.map.mapView.addKeyListener(this); 68 78 //Main.contentPane.getInputMap().put(KeyStroke.getKeyStroke("SPACE"),"pressed"); 69 79 //Main.contentPane.getActionMap().put("pressed",a);
Note:
See TracChangeset
for help on using the changeset viewer.