Changeset 32060 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/Address.java
- Timestamp:
- 2016-02-09T23:50:50+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/Address.java
r31443 r32060 64 64 65 65 public class Address extends MapMode implements MouseListener, MouseMotionListener, ActionListener { 66 private static final long serialVersionUID = 1L;67 66 68 67 // perhaps make all these tags configurable in the future … … 114 113 } 115 114 // dialog.setVisible(false); 116 // kill the window completely to fix an issue on some linux distro and 117 // full screen mode. 115 // kill the window completely to fix an issue on some linux distro and full screen mode. 118 116 if(dialog != null) 119 117 { … … 251 249 revertInputNumberChange(); 252 250 } catch (NumberFormatException en) { 253 Main.warn("Unable to parse house number \"" + inputNumber.getText() + "\""); 254 } 255 251 Main.warn("Unable to parse house number \"" + inputNumber.getText() + "\""); 252 } 256 253 } 257 254 cmds.add(new ChangePropertyCommand(osm, tagHouseNumber, inputNumber.getText())); … … 263 260 setNewSelection(osm); 264 261 } catch (NumberFormatException en) { 265 Main.warn("Unable to parse house number \"" + inputNumber.getText() + "\"");262 Main.warn("Unable to parse house number \"" + inputNumber.getText() + "\""); 266 263 } 267 264 } … … 467 464 clearButton.addActionListener(new ActionListener() { 468 465 @Override 469 public void actionPerformed(ActionEvent e) {466 public void actionPerformed(ActionEvent e) { 470 467 inputNumber.setText(""); 471 468 inputStreet.setText(""); … … 518 515 } 519 516 @Override 520 public void windowClosed(WindowEvent e) {}521 @Override 522 public void windowActivated(WindowEvent arg0) {}523 @Override 524 public void windowDeactivated(WindowEvent arg0) {}525 @Override 526 public void windowDeiconified(WindowEvent arg0) {}527 @Override 528 public void windowIconified(WindowEvent arg0) {}529 @Override 530 public void windowOpened(WindowEvent arg0) {}517 public void windowClosed(WindowEvent e) {} 518 @Override 519 public void windowActivated(WindowEvent arg0) {} 520 @Override 521 public void windowDeactivated(WindowEvent arg0) {} 522 @Override 523 public void windowDeiconified(WindowEvent arg0) {} 524 @Override 525 public void windowIconified(WindowEvent arg0) {} 526 @Override 527 public void windowOpened(WindowEvent arg0) {} 531 528 }); 532 529 String bounds = Main.pref.get("cadastrewms.addr.bounds",null); … … 536 533 Integer.parseInt(b[0]),Integer.parseInt(b[1]),Integer.parseInt(b[2]),Integer.parseInt(b[3]))); 537 534 } 538 } 535 } 539 536 540 537 private void setSelectedWay(Way w) { … … 553 550 getCurrentDataSet().setSelected(osm); 554 551 } 555 556 552 }
Note:
See TracChangeset
for help on using the changeset viewer.
