Changeset 22387 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/Address.java
- Timestamp:
- 2010-07-19T21:06:52+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/Address.java
r22230 r22387 89 89 JLabel link = new JLabel(); 90 90 private Way selectedWay; 91 //private Relation selectedRelation;92 91 private boolean shift; 92 private boolean ctrl; 93 93 94 94 public Address(MapFrame mapFrame) { … … 121 121 return; 122 122 shift = (e.getModifiers() & ActionEvent.SHIFT_MASK) != 0; 123 ctrl = (e.getModifiers() & ActionEvent.CTRL_MASK) != 0; 123 124 MapView mv = Main.map.mapView; 124 125 Point mousePos = e.getPoint(); … … 143 144 if (currentMouseNode.get(tagHouseStreet) != null) { 144 145 inputStreet.setText(currentMouseNode.get(tagHouseStreet)); 146 if (ctrl) { 147 Collection<Command> cmds = new LinkedList<Command>(); 148 addAddrToPrimitive(currentMouseNode, cmds); 149 applyInputNumberChange(); 150 } 145 151 setSelectedWay((Way)null); 146 152 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
