Changeset 26509 in osm for applications/editors/josm/plugins/FixAddresses/src
- Timestamp:
- 2011-08-11T00:45:56+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java
r26420 r26509 646 646 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#primitivesAdded(org.openstreetmap.josm.data.osm.event.PrimitivesAddedEvent) 647 647 */ 648 @Override 648 649 public void primitivesAdded(PrimitivesAddedEvent event) { 649 650 invalidate(); … … 653 654 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#primitivesRemoved(org.openstreetmap.josm.data.osm.event.PrimitivesRemovedEvent) 654 655 */ 656 @Override 655 657 public void primitivesRemoved(PrimitivesRemovedEvent event) { 656 658 invalidate(); … … 819 821 } 820 822 } 821 822 @Override823 public void primtivesAdded(PrimitivesAddedEvent event) {824 // TODO Auto-generated method stub825 826 }827 828 @Override829 public void primtivesRemoved(PrimitivesRemovedEvent event) {830 // TODO Auto-generated method stub831 832 }833 823 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesMapMode.java
r25373 r26509 26 26 27 27 public FixAddressesMapMode(MapFrame mapFrame) { 28 super(tr("Fix ad resses"), "incompleteaddress_24",28 super(tr("Fix addresses"), "incompleteaddress_24", 29 29 tr("Show dialog with incomplete addresses"), 30 30 mapFrame, -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/GuessAddressRunnable.java
r25373 r26509 46 46 private OSMAddress curAddressNode; 47 47 private boolean isRunning = false; 48 private boolean cancel led;48 private boolean canceled; 49 49 50 50 … … 170 170 @Override 171 171 protected void cancel() { 172 cancel led = true;172 canceled = true; 173 173 } 174 174 … … 190 190 191 191 isRunning = true; 192 cancel led = false;192 canceled = false; 193 193 194 194 // Start progress monitor to guess address values … … 221 221 222 222 // check for cancel 223 if (cancel led) {223 if (canceled) { 224 224 break; 225 225 } … … 229 229 // visit osm data 230 230 for (OsmPrimitive osmPrimitive : Main.main.getCurrentDataSet().allPrimitives()) { 231 if (cancel led) {231 if (canceled) { 232 232 break; 233 233 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IOSMEntity.java
r25373 r26509 52 52 53 53 /** 54 * Gets the coordinate of the node. If the theunderlying object is a54 * Gets the coordinate of the node. If the underlying object is a 55 55 * node, it just returns the node coordinate. For ways and areas, this 56 56 * method returns the coordinate of the center (balance point). -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/StringUtils.java
r25373 r26509 120 120 /** 121 121 * @param needle The string to find the best match for. 122 * @param haystack The list of strings to pick the thebest match from.122 * @param haystack The list of strings to pick the best match from. 123 123 * @return The string of the list with the longest common substring to needle or 124 124 * <tt>null</tt>, if either <tt>needle</tt> or <tt>haystack</tt> is empty or null. -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/IncompleteAddressesDialog.java
r26420 r26509 157 157 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#primitivesAdded(org.openstreetmap.josm.data.osm.event.PrimitivesAddedEvent) 158 158 */ 159 @Override 159 160 public void primitivesAdded(PrimitivesAddedEvent event) { 160 161 container.invalidate(); … … 165 166 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#primitivesRemoved(org.openstreetmap.josm.data.osm.event.PrimitivesRemovedEvent) 166 167 */ 168 @Override 167 169 public void primitivesRemoved(PrimitivesRemovedEvent event) { 168 170 container.invalidate(); … … 227 229 container.invalidate(); 228 230 } 229 230 @Override231 public void primtivesAdded(PrimitivesAddedEvent event) {232 // do something here?233 }234 235 @Override236 public void primtivesRemoved(PrimitivesRemovedEvent event) {237 // do something here?238 }239 231 }
Note:
See TracChangeset
for help on using the changeset viewer.