Changeset 6438 in josm
- Timestamp:
- 2013-12-04T23:25:08+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapControler.java
r6380 r6438 49 49 private Point iEndSelectionPoint; 50 50 51 // the SlippyMapChooserComponent52 51 private final SlippyMapBBoxChooser iSlippyMapChooser; 53 52 … … 58 57 59 58 /** 60 * C reate a new OsmMapControl59 * Constructs a new {@code SlippyMapControler}. 61 60 */ 62 61 public SlippyMapControler(SlippyMapBBoxChooser navComp, JPanel contentPane, SizeButton sizeButton, SourceButton sourceButton) { 63 this.iSlippyMapChooser = navComp;62 iSlippyMapChooser = navComp; 64 63 iSlippyMapChooser.addMouseListener(this); 65 64 iSlippyMapChooser.addMouseMotionListener(this); … … 99 98 inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_UP, InputEvent.ALT_DOWN_MASK, false), "ZOOM_IN"); 100 99 inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_ADD, 0, false), "ZOOM_IN"); 100 inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_PLUS, 0, false), "ZOOM_IN"); 101 inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, InputEvent.SHIFT_DOWN_MASK, false), "ZOOM_IN"); 101 102 inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, InputEvent.CTRL_DOWN_MASK, false), "ZOOM_OUT"); 102 103 inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, InputEvent.META_DOWN_MASK, false), "ZOOM_OUT"); 103 104 inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, InputEvent.ALT_DOWN_MASK, false), "ZOOM_OUT"); 104 105 inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_SUBTRACT, 0, false), "ZOOM_OUT"); 106 inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, 0, false), "ZOOM_OUT"); 105 107 106 108 // action mapping
Note:
See TracChangeset
for help on using the changeset viewer.