Changeset 18409 in osm for applications/editors/josm/plugins/czechaddress/src/org
- Timestamp:
- 2009-11-01T14:57:45+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/GroupManipulatorDialog.java
r15585 r18409 53 53 54 54 // And finalize initializing the form. 55 setupDialog(mainPanel, new String[] { "ok.png", "cancel.png" }); 55 setContent(mainPanel); 56 setButtonIcons(new String[] {"ok.png", "cancel.png"}); 57 setupDialog(); 56 58 setDefaultCloseOperation(DISPOSE_ON_CLOSE); 57 setAlwaysOnTop(false);58 59 59 60 // TODO: Why does it always crash if the modality is set in constructor? -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/LocationSelector.java
r16750 r18409 50 50 51 51 initComponents(); 52 setupDialog(mainPanel, new String[] { "ok.png", "cancel.png"}); 52 setContent(mainPanel); 53 setButtonIcons(new String[] {"ok.png", "cancel.png"}); 54 setupDialog(); 53 55 54 56 oblastComboBox.setRenderer(new AddressElementRenderer()); -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/ManagerDialog.java
r16750 r18409 69 69 70 70 // And finalize initializing the form. 71 setupDialog(mainPanel, new String[] {}); 71 setContent(mainPanel); 72 setButtonIcons(new String[] {"ok.png", "cancel.png"}); 73 setupDialog(); 72 74 } 73 75 -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/intelligence/Capitalizator.java
r15558 r18409 19 19 /** 20 20 * Updates the names in the database according the map. 21 * 21 * 22 22 * @author Radomír Černoch, radomir.cernoch@gmail.com 23 23 */ … … 41 41 for (Street elem : results.keySet()) { 42 42 try { 43 43 44 44 OsmPrimitive match = results.get(elem).get(); 45 45 if (match == null) continue; 46 46 47 47 map.put(elem, match); 48 48 49 49 } catch (InterruptedException ex) { 50 50 logger.log(Level.SEVERE, "Thread interrupted during matching", ex); … … 55 55 } 56 56 57 private class StreetMatcher implements Callable {57 private class StreetMatcher implements Callable<OsmPrimitive> { 58 58 59 59 private AddressElement elem; … … 75 75 if (prim.get("name").equals(elem.getName())) 76 76 return prim; 77 77 78 78 if (StringUtils.matchAbbrev(prim.get("name"), elem.getName())) 79 79 candidate = prim;
Note:
See TracChangeset
for help on using the changeset viewer.