Changeset 34880 in osm for applications
- Timestamp:
- 2019-02-04T23:56:36+01:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/FixAddresses
- Files:
-
- 37 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/.settings/org.eclipse.jdt.core.prefs
r34058 r34880 16 16 org.eclipse.jdt.core.compiler.debug.localVariable=generate 17 17 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 18 org.eclipse.jdt.core.compiler.doc.comment.support=enabled 18 19 org.eclipse.jdt.core.compiler.problem.APILeak=warning 19 20 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning … … 40 41 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 41 42 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 43 org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning 44 org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled 45 org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled 46 org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled 47 org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private 42 48 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 43 49 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning … … 46 52 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 47 53 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 54 org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore 55 org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled 56 org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public 57 org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=all_standard_tags 58 org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning 59 org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled 60 org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled 61 org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=private 48 62 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 49 63 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled … … 84 98 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 85 99 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 86 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken= warning100 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore 87 101 org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning 88 102 org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled … … 106 120 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 107 121 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 108 org.eclipse.jdt.core.compiler.problem.unusedWarningToken= warning122 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=ignore 109 123 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 110 124 org.eclipse.jdt.core.compiler.source=1.8 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java
r34511 r34880 26 26 import org.openstreetmap.josm.gui.MainApplication; 27 27 import org.openstreetmap.josm.gui.layer.MainLayerManager; 28 import org.openstreetmap.josm.plugins.fixAddresses.gui.AddressEditTableModel; 29 import org.openstreetmap.josm.plugins.fixAddresses.gui.actions.AbstractAddressEditAction; 28 30 import org.openstreetmap.josm.tools.CheckParameterUtil; 29 31 … … 38 40 * and alter OSM data. 39 41 * 40 * {@see AbstractAddressEditAction}41 * {@see AddressEditTableModel}42 *43 42 * @author Oliver Wieland <oliver.wieland@online.de> 44 43 * 44 * @see AbstractAddressEditAction 45 * @see AddressEditTableModel 45 46 */ 46 public class AddressEditContainer implements OsmPrimitiveVisitor, DataSetListener, IAddressEditContainerListener, IProblemVisitor, IAllKnowingTrashHeap { 47 public class AddressEditContainer 48 implements OsmPrimitiveVisitor, DataSetListener, IAddressEditContainerListener, IProblemVisitor, IAllKnowingTrashHeap { 47 49 48 50 private Collection<? extends OsmPrimitive> workingSet; … … 125 127 /** 126 128 * Notifies clients that an entity within the address container changed. 129 * @param entity OSM entity 127 130 */ 128 131 protected void fireEntityChanged(IOSMEntity entity) { … … 442 445 * Tries to assign an address to a street. 443 446 * @param aNode address 447 * @return {@code true} if address node has been assigned to a street or if it was already the case 444 448 */ 445 449 private boolean assignAddressToStreet(OSMAddress aNode) { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressProblem.java
r32970 r34880 7 7 import org.openstreetmap.josm.tools.CheckParameterUtil; 8 8 9 /** 10 * Address problem. 11 */ 9 12 public class AddressProblem implements IProblem { 10 13 private List<ISolution> solutions = null; -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesMapMode.java
r33718 r34880 8 8 import org.openstreetmap.josm.actions.mapmode.MapMode; 9 9 10 /** 11 * Map mode that shows dialog with incomplete addresses 12 */ 10 13 @SuppressWarnings("serial") 11 14 public class FixAddressesMapMode extends MapMode { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesPreferences.java
r34511 r34880 13 13 import org.openstreetmap.josm.spi.preferences.Config; 14 14 15 /** 16 * Plugin preferences. 17 */ 15 18 public final class FixAddressesPreferences extends DefaultTabPreferenceSetting { 16 19 private static final String FIX_ADDRESSES_IGNORE_POST_CODE_KEY = "fixAddresses.ignorePostCode"; -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/GuessAddressRunnable.java
r33718 r34880 22 22 * The guessing procedure itself is implemented by defining "guessers" using the {@link GuessedValueHandler} 23 23 * class. A guessed field does not modify the corresponding property of {@link OSMAddress} itself, but 24 * adds the guessed value to a shadowed field by calling {@link OSMAddress#setGuessedValue (String, String)}.24 * adds the guessed value to a shadowed field by calling {@link OSMAddress#setGuessedValue}. 25 25 */ 26 26 public class GuessAddressRunnable extends PleaseWaitRunnable { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/GuessedValueHandler.java
r33718 r34880 47 47 48 48 /** 49 * Instantiates a new guessed value handler .49 * Instantiates a new guessed value handler with default maximum distance. 50 50 * 51 51 * @param tag the tag to find the guessed value for. 52 52 * @param aNode the address node to guess the values for. 53 * @param maxDist the maximum distance for a node/way to be considered as guessed value.54 53 */ 55 54 public GuessedValueHandler(String tag, OSMAddress aNode) { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IAddressEditContainerListener.java
r32970 r34880 2 2 package org.openstreetmap.josm.plugins.fixAddresses; 3 3 4 /** 5 * Address edit container listener. 6 */ 4 7 public interface IAddressEditContainerListener { 5 8 /** … … 11 14 /** 12 15 * Notifies clients that an entity has been changed. 16 * @param node OSM entity 13 17 */ 14 18 void entityChanged(IOSMEntity node); -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IAllKnowingTrashHeap.java
r32970 r34880 4 4 import java.util.List; 5 5 6 /** 7 * Knowledge of street names distances and validity. 8 */ 6 9 public interface IAllKnowingTrashHeap { 7 10 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/ICommandListener.java
r32970 r34880 4 4 import org.openstreetmap.josm.command.Command; 5 5 6 /** 7 * Command listener. 8 */ 6 9 public interface ICommandListener { 7 10 /** -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IProblem.java
r32970 r34880 4 4 import java.util.List; 5 5 6 /** 7 * Generic problem. 8 */ 6 9 public interface IProblem { 7 10 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IProblemVisitor.java
r32970 r34880 2 2 package org.openstreetmap.josm.plugins.fixAddresses; 3 3 4 /** 5 * Problem visitor. 6 */ 4 7 public interface IProblemVisitor { 5 8 /** … … 12 15 /** 13 16 * Removes the problems of the given source. 17 * @param entity OSM entity 14 18 */ 15 19 void removeProblemsOfSource(IOSMEntity entity); -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IProgressMonitorFinishedListener.java
r32970 r34880 2 2 package org.openstreetmap.josm.plugins.fixAddresses; 3 3 4 /** 5 * Progress monitor listener for the finished state. 6 */ 4 7 public interface IProgressMonitorFinishedListener { 5 8 void finished(); -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/ISolution.java
r32970 r34880 4 4 import org.openstreetmap.josm.actions.JosmAction; 5 5 6 /** 7 * Generic solution to a {@link IProblem}. 8 */ 6 9 public interface ISolution { 7 10 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/OSMAddress.java
r32970 r34880 95 95 || StringUtils.isNullOrEmpty(osmObject.get(tag))) { 96 96 if (!hasDerivedValue(tag)) { 97 // object does not have this tag -> check for guess98 if (hasGuessedValue(tag)) {99 return "*" + getGuessedValue(tag);100 } else {101 // give up102 return MISSING_TAG;103 }97 // object does not have this tag -> check for guess 98 if (hasGuessedValue(tag)) { 99 return "*" + getGuessedValue(tag); 100 } else { 101 // give up 102 return MISSING_TAG; 103 } 104 104 } else { // ok, use derived value known via associated relation or 105 106 return getDerivedValue(tag);105 // way 106 return getDerivedValue(tag); 107 107 } 108 108 } else { // get existing tag value … … 429 429 cc = this.getStreetName().compareTo(other.getStreetName()); 430 430 if (cc == 0) { 431 if (hasGuessedStreetName()) { 432 if (other.hasStreetName()) { 433 // Compare guessed name with the real name 434 /*String gsm =*/ this.getGuessedStreetName(); 435 cc = this.getGuessedStreetName().compareTo( 436 other.getStreetName()); 437 if (cc == 0) { 431 if (hasGuessedStreetName()) { 432 if (other.hasStreetName()) { 433 // Compare guessed name with the real name 434 /*String gsm =*/ this.getGuessedStreetName(); 435 cc = this.getGuessedStreetName().compareTo( 436 other.getStreetName()); 437 if (cc == 0) { 438 cc = this.getHouseNumber().compareTo( 439 other.getHouseNumber()); 440 } 441 } else if (other.hasGuessedStreetName()) { 442 // Compare guessed name with the guessed name 443 cc = this.getGuessedStreetName().compareTo( 444 other.getGuessedStreetName()); 445 if (cc == 0) { 446 cc = this.getHouseNumber().compareTo( 447 other.getHouseNumber()); 448 } 449 } // else: give up 450 // No guessed name at all -> just compare the number 451 } else { 438 452 cc = this.getHouseNumber().compareTo( 439 453 other.getHouseNumber()); 440 454 } 441 } else if (other.hasGuessedStreetName()) {442 // Compare guessed name with the guessed name443 cc = this.getGuessedStreetName().compareTo(444 other.getGuessedStreetName());445 if (cc == 0) {446 cc = this.getHouseNumber().compareTo(447 other.getHouseNumber());448 }449 } // else: give up450 // No guessed name at all -> just compare the451 // number452 } else {453 cc = this.getHouseNumber().compareTo(454 other.getHouseNumber());455 }456 455 } 457 456 } … … 539 538 /** 540 539 * Check if this instance needs guessed value for a given tag. 540 * @param tag tag to analyze 541 541 * 542 542 * @return true, if successful -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/OSMEntityBase.java
r32970 r34880 66 66 /** 67 67 * Notifies clients that the address container changed. 68 * @param entity OSM entity 68 69 */ 69 70 protected static void fireEntityChanged(IOSMEntity entity) { … … 97 98 * Notifies clients that an entity has issued a command. 98 99 * 99 * @param source the entity that issued the command.100 100 * @param command the command to execute. 101 101 */ … … 140 140 /** 141 141 * Internal helper method which changes the given property and 142 * puts the appropriate command {@link src.org.openstreetmap.josm.command.Command}142 * puts the appropriate command {@link org.openstreetmap.josm.command.Command} 143 143 * into the undo/redo queue. 144 144 * @param tag The tag to change. 145 145 * @param newValue The new value for the tag. 146 * @param cmd The surrounding command sequence147 146 */ 148 147 protected void setOSMTag(String tag, String newValue) { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/OsmFactory.java
r32970 r34880 7 7 import org.openstreetmap.josm.data.osm.Way; 8 8 9 /** 10 * OSM entities factory. 11 */ 9 12 public final class OsmFactory { 10 13 private static HashMap<String, OSMAddress> addressCache = new HashMap<>(); -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/ProblemType.java
r30348 r34880 2 2 package org.openstreetmap.josm.plugins.fixAddresses; 3 3 4 /** 5 * Problem type (severity). 6 */ 4 7 public enum ProblemType { 5 8 Warning, -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/StringUtils.java
r32970 r34880 4 4 import java.util.List; 5 5 6 /** 7 * Various String utilities. 8 */ 6 9 public final class StringUtils { 7 10 … … 18 21 */ 19 22 public static boolean isNullOrEmpty(String txt) { 20 return txt == null || txt. length() == 0;23 return txt == null || txt.isEmpty(); 21 24 } 22 25 … … 30 33 * @return The length of the longest common substring or 0, if no common 31 34 * sequence exists or one of the arguments are invalid. For 32 * algorithm details please refer to {@link http33 * ://www.ics.uci.edu/~eppstein/161/960229.html}35 * algorithm details please refer to 36 * <a href="https://www.ics.uci.edu/~eppstein/161/960229.html">ICS 161: Design and Analysis of Algorithms</a> 34 37 */ 35 38 public static int lcsLength(String a, String b) { … … 43 46 } 44 47 45 /**46 * Internal use only47 */48 48 private static int[][] createLCSTable(String a, String b) { 49 49 if (StringUtils.isNullOrEmpty(a)) … … 124 124 return null; 125 125 } 126 if (haystack == null || haystack. size() == 0) {126 if (haystack == null || haystack.isEmpty()) { 127 127 return null; 128 128 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/TagUtils.java
r32970 r34880 128 128 /** 129 129 * Checks if the given OSM primitive is an address node. 130 * @param osmObject OSM primitive 130 131 * @return {@code true} if the given OSM primitive is an address node 131 132 */ … … 139 140 * Check if OSM primitive has a tag 'parking'. 140 141 * @param osmPrimitive The OSM entity to check. 142 * @return {@code true} if OSM primitive has a tag 'parking' 141 143 */ 142 144 public static boolean hasParkingTag(OsmPrimitive osmPrimitive) { … … 147 149 * Gets the value of tag 'parking'. 148 150 * @param osmPrimitive The OSM entity to check. 151 * @return the value of tag 'parking' 149 152 */ 150 153 public static String getParkingValue(OsmPrimitive osmPrimitive) { … … 155 158 * Check if OSM primitive has a tag 'shop'. 156 159 * @param osmPrimitive The OSM entity to check. 160 * @return {@code true} if OSM primitive has a tag 'shop' 157 161 */ 158 162 public static boolean hasShopTag(OsmPrimitive osmPrimitive) { … … 163 167 * Gets the value of tag 'shop'. 164 168 * @param osmPrimitive The OSM entity to check. 169 * @return the value of tag 'shop' 165 170 */ 166 171 public static String getShopValue(OsmPrimitive osmPrimitive) { … … 171 176 * Check if OSM primitive has a tag 'craft'. 172 177 * @param osmPrimitive The OSM entity to check. 178 * @return {@code true} if OSM primitive has a tag 'craft' 173 179 */ 174 180 public static boolean hasCraftTag(OsmPrimitive osmPrimitive) { … … 179 185 * Gets the value of tag 'craft'. 180 186 * @param osmPrimitive The OSM entity to check. 187 * @return the value of tag 'craft' 181 188 */ 182 189 public static String getCraftValue(OsmPrimitive osmPrimitive) { … … 187 194 * Check if OSM primitive has a tag 'surface'. 188 195 * @param osmPrimitive The OSM entity to check. 196 * @return {@code true} if OSM primitive has a tag 'surface' 189 197 */ 190 198 public static boolean hasSurfaceTag(OsmPrimitive osmPrimitive) { … … 195 203 * Gets the value of tag 'surface'. 196 204 * @param osmPrimitive The OSM entity to check. 205 * @return the value of tag 'surface' 197 206 */ 198 207 public static String getSurfaceValue(OsmPrimitive osmPrimitive) { … … 203 212 * Check if OSM primitive has a tag 'cuisine'. 204 213 * @param osmPrimitive The OSM entity to check. 214 * @return {@code true} if OSM primitive has a tag 'cuisine' 205 215 */ 206 216 public static boolean hasCuisineTag(OsmPrimitive osmPrimitive) { … … 211 221 * Gets the value of tag 'cuisine'. 212 222 * @param osmPrimitive The OSM entity to check. 223 * @return the value of tag 'cuisine' 213 224 */ 214 225 public static String getCuisineValue(OsmPrimitive osmPrimitive) { … … 219 230 * Check if OSM primitive has a tag 'wood'. 220 231 * @param osmPrimitive The OSM entity to check. 232 * @return {@code true} if OSM primitive has a tag 'wood' 221 233 */ 222 234 public static boolean hasWoodTag(OsmPrimitive osmPrimitive) { … … 227 239 * Gets the value of tag 'wood'. 228 240 * @param osmPrimitive The OSM entity to check. 241 * @return the value of tag 'wood' 229 242 */ 230 243 public static String getWoodValue(OsmPrimitive osmPrimitive) { … … 235 248 * Check if OSM primitive has a tag 'foot'. 236 249 * @param osmPrimitive The OSM entity to check. 250 * @return {@code true} if OSM primitive has a tag 'foot' 237 251 */ 238 252 public static boolean hasFootTag(OsmPrimitive osmPrimitive) { … … 243 257 * Gets the value of tag 'foot'. 244 258 * @param osmPrimitive The OSM entity to check. 259 * @return the value of tag 'foot' 245 260 */ 246 261 public static String getFootValue(OsmPrimitive osmPrimitive) { … … 251 266 * Check if OSM primitive has a tag 'name:de'. 252 267 * @param osmPrimitive The OSM entity to check. 268 * @return {@code true} if OSM primitive has a tag 'name:de' 253 269 */ 254 270 public static boolean hasNameDeTag(OsmPrimitive osmPrimitive) { … … 259 275 * Gets the value of tag 'name:de'. 260 276 * @param osmPrimitive The OSM entity to check. 277 * @return the value of tag 'name:de' 261 278 */ 262 279 public static String getNameDeValue(OsmPrimitive osmPrimitive) { … … 267 284 * Check if OSM primitive has a tag 'nat_ref'. 268 285 * @param osmPrimitive The OSM entity to check. 286 * @return {@code true} if OSM primitive has a tag 'nat_ref' 269 287 */ 270 288 public static boolean hasNatRefTag(OsmPrimitive osmPrimitive) { … … 275 293 * Gets the value of tag 'nat_ref'. 276 294 * @param osmPrimitive The OSM entity to check. 295 * @return the value of tag 'nat_ref' 277 296 */ 278 297 public static String getNatRefValue(OsmPrimitive osmPrimitive) { … … 283 302 * Check if OSM primitive has a tag 'note:de'. 284 303 * @param osmPrimitive The OSM entity to check. 304 * @return {@code true} if OSM primitive has a tag 'note:de' 285 305 */ 286 306 public static boolean hasNoteDeTag(OsmPrimitive osmPrimitive) { … … 291 311 * Gets the value of tag 'note:de'. 292 312 * @param osmPrimitive The OSM entity to check. 313 * @return the value of tag 'note:de' 293 314 */ 294 315 public static String getNoteDeValue(OsmPrimitive osmPrimitive) { … … 299 320 * Check if OSM primitive has a tag 'addr:street'. 300 321 * @param osmPrimitive The OSM entity to check. 322 * @return {@code true} if OSM primitive has a tag 'addr:street' 301 323 */ 302 324 public static boolean hasAddrStreetTag(OsmPrimitive osmPrimitive) { … … 308 330 * Gets the value of tag 'addr:street'. 309 331 * @param osmPrimitive The OSM entity to check. 332 * @return the value of tag 'addr:street' 310 333 */ 311 334 public static String getAddrStreetValue(OsmPrimitive osmPrimitive) { … … 316 339 * Check if OSM primitive has a tag 'type'. 317 340 * @param osmPrimitive The OSM entity to check. 341 * @return {@code true} if OSM primitive has a tag 'type' 318 342 */ 319 343 public static boolean hasTypeTag(OsmPrimitive osmPrimitive) { … … 324 348 * Gets the value of tag 'type'. 325 349 * @param osmPrimitive The OSM entity to check. 350 * @return the value of tag 'type' 326 351 */ 327 352 public static String getTypeValue(OsmPrimitive osmPrimitive) { … … 332 357 * Check if OSM primitive has a tag 'addr:city'. 333 358 * @param osmPrimitive The OSM entity to check. 359 * @return {@code true} if OSM primitive has a tag 'addr:city' 334 360 */ 335 361 public static boolean hasAddrCityTag(OsmPrimitive osmPrimitive) { … … 341 367 * Gets the value of tag 'addr:city'. 342 368 * @param osmPrimitive The OSM entity to check. 369 * @return the value of tag 'addr:city' 343 370 */ 344 371 public static String getAddrCityValue(OsmPrimitive osmPrimitive) { … … 349 376 * Check if OSM primitive has a tag 'boundary'. 350 377 * @param osmPrimitive The OSM entity to check. 378 * @return {@code true} if OSM primitive has a tag 'boundary' 351 379 */ 352 380 public static boolean hasBoundaryTag(OsmPrimitive osmPrimitive) { … … 357 385 * Gets the value of tag 'boundary'. 358 386 * @param osmPrimitive The OSM entity to check. 387 * @return the value of tag 'boundary' 359 388 */ 360 389 public static String getBoundaryValue(OsmPrimitive osmPrimitive) { … … 365 394 * Check if OSM primitive has a tag 'smoothness'. 366 395 * @param osmPrimitive The OSM entity to check. 396 * @return {@code true} if OSM primitive has a tag 'smoothness' 367 397 */ 368 398 public static boolean hasSmoothnessTag(OsmPrimitive osmPrimitive) { … … 374 404 * Gets the value of tag 'smoothness'. 375 405 * @param osmPrimitive The OSM entity to check. 406 * @return the value of tag 'smoothness' 376 407 */ 377 408 public static String getSmoothnessValue(OsmPrimitive osmPrimitive) { … … 382 413 * Check if OSM primitive has a tag 'opening_hours'. 383 414 * @param osmPrimitive The OSM entity to check. 415 * @return {@code true} if OSM primitive has a tag 'opening_hours' 384 416 */ 385 417 public static boolean hasOpeningHoursTag(OsmPrimitive osmPrimitive) { … … 391 423 * Gets the value of tag 'opening_hours'. 392 424 * @param osmPrimitive The OSM entity to check. 425 * @return the value of tag 'opening_hours' 393 426 */ 394 427 public static String getOpeningHoursValue(OsmPrimitive osmPrimitive) { … … 400 433 * Check if OSM primitive has a tag 'bicycle'. 401 434 * @param osmPrimitive The OSM entity to check. 435 * @return {@code true} if OSM primitive has a tag 'bicycle' 402 436 */ 403 437 public static boolean hasBicycleTag(OsmPrimitive osmPrimitive) { … … 408 442 * Gets the value of tag 'bicycle'. 409 443 * @param osmPrimitive The OSM entity to check. 444 * @return the value of tag 'bicycle' 410 445 */ 411 446 public static String getBicycleValue(OsmPrimitive osmPrimitive) { … … 416 451 * Check if OSM primitive has a tag 'religion'. 417 452 * @param osmPrimitive The OSM entity to check. 453 * @return {@code true} if OSM primitive has a tag 'religion' 418 454 */ 419 455 public static boolean hasReligionTag(OsmPrimitive osmPrimitive) { … … 424 460 * Gets the value of tag 'religion'. 425 461 * @param osmPrimitive The OSM entity to check. 462 * @return the value of tag 'religion' 426 463 */ 427 464 public static String getReligionValue(OsmPrimitive osmPrimitive) { … … 432 469 * Check if OSM primitive has a tag 'barrier'. 433 470 * @param osmPrimitive The OSM entity to check. 471 * @return {@code true} if OSM primitive has a tag 'barrier' 434 472 */ 435 473 public static boolean hasBarrierTag(OsmPrimitive osmPrimitive) { … … 440 478 * Gets the value of tag 'barrier'. 441 479 * @param osmPrimitive The OSM entity to check. 480 * @return the value of tag 'barrier' 442 481 */ 443 482 public static String getBarrierValue(OsmPrimitive osmPrimitive) { … … 448 487 * Check if OSM primitive has a tag 'power'. 449 488 * @param osmPrimitive The OSM entity to check. 489 * @return {@code true} if OSM primitive has a tag 'power' 450 490 */ 451 491 public static boolean hasPowerTag(OsmPrimitive osmPrimitive) { … … 456 496 * Gets the value of tag 'power'. 457 497 * @param osmPrimitive The OSM entity to check. 498 * @return the value of tag 'power' 458 499 */ 459 500 public static String getPowerValue(OsmPrimitive osmPrimitive) { … … 464 505 * Check if OSM primitive has a tag 'landuse'. 465 506 * @param osmPrimitive The OSM entity to check. 507 * @return {@code true} if OSM primitive has a tag 'landuse' 466 508 */ 467 509 public static boolean hasLanduseTag(OsmPrimitive osmPrimitive) { … … 472 514 * Gets the value of tag 'landuse'. 473 515 * @param osmPrimitive The OSM entity to check. 516 * @return the value of tag 'landuse' 474 517 */ 475 518 public static String getLanduseValue(OsmPrimitive osmPrimitive) { … … 480 523 * Check if OSM primitive has a tag 'fireplace'. 481 524 * @param osmPrimitive The OSM entity to check. 525 * @return {@code true} if OSM primitive has a tag 'fireplace' 482 526 */ 483 527 public static boolean hasFireplaceTag(OsmPrimitive osmPrimitive) { … … 489 533 * Gets the value of tag 'fireplace'. 490 534 * @param osmPrimitive The OSM entity to check. 535 * @return the value of tag 'fireplace' 491 536 */ 492 537 public static String getFireplaceValue(OsmPrimitive osmPrimitive) { … … 497 542 * Check if OSM primitive has a tag 'int_ref'. 498 543 * @param osmPrimitive The OSM entity to check. 544 * @return {@code true} if OSM primitive has a tag 'int_ref' 499 545 */ 500 546 public static boolean hasIntRefTag(OsmPrimitive osmPrimitive) { … … 505 551 * Gets the value of tag 'int_ref'. 506 552 * @param osmPrimitive The OSM entity to check. 553 * @return the value of tag 'int_ref' 507 554 */ 508 555 public static String getIntRefValue(OsmPrimitive osmPrimitive) { … … 513 560 * Check if OSM primitive has a tag 'whitewater:section_grade'. 514 561 * @param osmPrimitive The OSM entity to check. 562 * @return {@code true} if OSM primitive has a tag 'whitewater:section_grade' 515 563 */ 516 564 public static boolean hasWhitewaterSectionGradeTag(OsmPrimitive osmPrimitive) { … … 521 569 * Gets the value of tag 'whitewater:section_grade'. 522 570 * @param osmPrimitive The OSM entity to check. 571 * @return the value of tag 'whitewater:section_grade' 523 572 */ 524 573 public static String getWhitewaterSectionGradeValue( … … 531 580 * Check if OSM primitive has a tag 'denomination'. 532 581 * @param osmPrimitive The OSM entity to check. 582 * @return {@code true} if OSM primitive has a tag 'denomination' 533 583 */ 534 584 public static boolean hasDenominationTag(OsmPrimitive osmPrimitive) { … … 539 589 * Gets the value of tag 'denomination'. 540 590 * @param osmPrimitive The OSM entity to check. 591 * @return the value of tag 'denomination' 541 592 */ 542 593 public static String getDenominationValue(OsmPrimitive osmPrimitive) { … … 547 598 * Check if OSM primitive has a tag 'addr:postcode'. 548 599 * @param osmPrimitive The OSM entity to check. 600 * @return {@code true} if OSM primitive has a tag 'addr:postcode' 549 601 */ 550 602 public static boolean hasAddrPostcodeTag(OsmPrimitive osmPrimitive) { … … 555 607 * Gets the value of tag 'addr:postcode'. 556 608 * @param osmPrimitive The OSM entity to check. 609 * @return the value of tag 'addr:postcode' 557 610 */ 558 611 public static String getAddrPostcodeValue(OsmPrimitive osmPrimitive) { … … 563 616 * Check if OSM primitive has a tag 'wires'. 564 617 * @param osmPrimitive The OSM entity to check. 618 * @return {@code true} if OSM primitive has a tag 'wires' 565 619 */ 566 620 public static boolean hasWiresTag(OsmPrimitive osmPrimitive) { … … 571 625 * Gets the value of tag 'wires'. 572 626 * @param osmPrimitive The OSM entity to check. 627 * @return the value of tag 'wires' 573 628 */ 574 629 public static String getWiresValue(OsmPrimitive osmPrimitive) { … … 579 634 * Check if OSM primitive has a tag 'loc_ref'. 580 635 * @param osmPrimitive The OSM entity to check. 636 * @return {@code true} if OSM primitive has a tag 'loc_ref' 581 637 */ 582 638 public static boolean hasLocRefTag(OsmPrimitive osmPrimitive) { … … 587 643 * Gets the value of tag 'loc_ref'. 588 644 * @param osmPrimitive The OSM entity to check. 645 * @return the value of tag 'loc_ref' 589 646 */ 590 647 public static String getLocRefValue(OsmPrimitive osmPrimitive) { … … 595 652 * Check if OSM primitive has a tag 'width'. 596 653 * @param osmPrimitive The OSM entity to check. 654 * @return {@code true} if OSM primitive has a tag 'width' 597 655 */ 598 656 public static boolean hasWidthTag(OsmPrimitive osmPrimitive) { … … 603 661 * Gets the value of tag 'width'. 604 662 * @param osmPrimitive The OSM entity to check. 663 * @return the value of tag 'width' 605 664 */ 606 665 public static String getWidthValue(OsmPrimitive osmPrimitive) { … … 611 670 * Check if OSM primitive has a tag 'tourism'. 612 671 * @param osmPrimitive The OSM entity to check. 672 * @return {@code true} if OSM primitive has a tag 'tourism' 613 673 */ 614 674 public static boolean hasTourismTag(OsmPrimitive osmPrimitive) { … … 619 679 * Gets the value of tag 'tourism'. 620 680 * @param osmPrimitive The OSM entity to check. 681 * @return the value of tag 'tourism' 621 682 */ 622 683 public static String getTourismValue(OsmPrimitive osmPrimitive) { … … 627 688 * Check if OSM primitive has a tag 'leisure'. 628 689 * @param osmPrimitive The OSM entity to check. 690 * @return {@code true} if OSM primitive has a tag 'leisure' 629 691 */ 630 692 public static boolean hasLeisureTag(OsmPrimitive osmPrimitive) { … … 635 697 * Gets the value of tag 'leisure'. 636 698 * @param osmPrimitive The OSM entity to check. 699 * @return the value of tag 'leisure' 637 700 */ 638 701 public static String getLeisureValue(OsmPrimitive osmPrimitive) { … … 643 706 * Check if OSM primitive has a tag 'electrified'. 644 707 * @param osmPrimitive The OSM entity to check. 708 * @return {@code true} if OSM primitive has a tag 'electrified' 645 709 */ 646 710 public static boolean hasElectrifiedTag(OsmPrimitive osmPrimitive) { … … 652 716 * 653 717 * @param osmPrimitive The OSM entity to check. 718 * @return the value of tag 'electrified' 654 719 */ 655 720 public static String getElectrifiedValue(OsmPrimitive osmPrimitive) { … … 660 725 * Check if OSM primitive has a tag 'junction'. 661 726 * @param osmPrimitive The OSM entity to check. 727 * @return {@code true} if OSM primitive has a tag 'junction' 662 728 */ 663 729 public static boolean hasJunctionTag(OsmPrimitive osmPrimitive) { … … 668 734 * Gets the value of tag 'junction'. 669 735 * @param osmPrimitive The OSM entity to check. 736 * @return the value of tag 'junction' 670 737 */ 671 738 public static String getJunctionValue(OsmPrimitive osmPrimitive) { … … 676 743 * Check if OSM primitive has a tag 'railway'. 677 744 * @param osmPrimitive The OSM entity to check. 745 * @return {@code true} if OSM primitive has a tag 'railway' 678 746 */ 679 747 public static boolean hasRailwayTag(OsmPrimitive osmPrimitive) { … … 684 752 * Gets the value of tag 'railway'. 685 753 * @param osmPrimitive The OSM entity to check. 754 * @return the value of tag 'railway' 686 755 */ 687 756 public static String getRailwayValue(OsmPrimitive osmPrimitive) { … … 692 761 * Check if OSM primitive has a tag 'voltage'. 693 762 * @param osmPrimitive The OSM entity to check. 763 * @return {@code true} if OSM primitive has a tag 'voltage' 694 764 */ 695 765 public static boolean hasVoltageTag(OsmPrimitive osmPrimitive) { … … 700 770 * Gets the value of tag 'voltage'. 701 771 * @param osmPrimitive The OSM entity to check. 772 * @return the value of tag 'voltage 702 773 */ 703 774 public static String getVoltageValue(OsmPrimitive osmPrimitive) { … … 708 779 * Check if OSM primitive has a tag 'bridge'. 709 780 * @param osmPrimitive The OSM entity to check. 781 * @return {@code true} if OSM primitive has a tag 'bridge' 710 782 */ 711 783 public static boolean hasBridgeTag(OsmPrimitive osmPrimitive) { … … 716 788 * Gets the value of tag 'bridge'. 717 789 * @param osmPrimitive The OSM entity to check. 790 * @return the value of tag 'bridge' 718 791 */ 719 792 public static String getBridgeValue(OsmPrimitive osmPrimitive) { … … 724 797 * Check if OSM primitive has a tag 'motor_vehicle'. 725 798 * @param osmPrimitive The OSM entity to check. 799 * @return {@code true} if OSM primitive has a tag 'motor_vehicle' 726 800 */ 727 801 public static boolean hasMotorVehicleTag(OsmPrimitive osmPrimitive) { … … 732 806 * Gets the value of tag 'motor_vehicle'. 733 807 * @param osmPrimitive The OSM entity to check. 808 * @return the value of tag 'motor_vehicle' 734 809 */ 735 810 public static String getMotorVehicleValue(OsmPrimitive osmPrimitive) { … … 740 815 * Check if OSM primitive has a tag 'comment'. 741 816 * @param osmPrimitive The OSM entity to check. 817 * @return {@code true} if OSM primitive has a tag 'comment' 742 818 */ 743 819 public static boolean hasCommentTag(OsmPrimitive osmPrimitive) { … … 748 824 * Gets the value of tag 'comment'. 749 825 * @param osmPrimitive The OSM entity to check. 826 * @return the value of tag 'comment' 750 827 */ 751 828 public static String getCommentValue(OsmPrimitive osmPrimitive) { … … 756 833 * Check if OSM primitive has a tag 'maxspeed'. 757 834 * @param osmPrimitive The OSM entity to check. 835 * @return {@code true} if OSM primitive has a tag 'maxspeed' 758 836 */ 759 837 public static boolean hasMaxspeedTag(OsmPrimitive osmPrimitive) { … … 764 842 * Gets the value of tag 'maxspeed'. 765 843 * @param osmPrimitive The OSM entity to check. 844 * @return the value of tag 'maxspeed' 766 845 */ 767 846 public static String getMaxspeedValue(OsmPrimitive osmPrimitive) { … … 772 851 * Check if OSM primitive has a tag 'natural'. 773 852 * @param osmPrimitive The OSM entity to check. 853 * @return {@code true} if OSM primitive has a tag 'natural' 774 854 */ 775 855 public static boolean hasNaturalTag(OsmPrimitive osmPrimitive) { … … 780 860 * Gets the value of tag 'natural'. 781 861 * @param osmPrimitive The OSM entity to check. 862 * @return the value of tag 'natural' 782 863 */ 783 864 public static String getNaturalValue(OsmPrimitive osmPrimitive) { … … 788 869 * Check if OSM primitive has a tag 'sac_scale'. 789 870 * @param osmPrimitive The OSM entity to check. 871 * @return {@code true} if OSM primitive has a tag 'sac_scale' 790 872 */ 791 873 public static boolean hasSacScaleTag(OsmPrimitive osmPrimitive) { … … 796 878 * Gets the value of tag 'sac_scale'. 797 879 * @param osmPrimitive The OSM entity to check. 880 * @return the value of tag 'sac_scale' 798 881 */ 799 882 public static String getSacScaleValue(OsmPrimitive osmPrimitive) { … … 804 887 * Check if OSM primitive has a tag 'tunnel'. 805 888 * @param osmPrimitive The OSM entity to check. 889 * @return {@code true} if OSM primitive has a tag 'tunnel' 806 890 */ 807 891 public static boolean hasTunnelTag(OsmPrimitive osmPrimitive) { … … 812 896 * Gets the value of tag 'tunnel'. 813 897 * @param osmPrimitive The OSM entity to check. 898 * @return the value of tag 'tunnel' 814 899 */ 815 900 public static String getTunnelValue(OsmPrimitive osmPrimitive) { … … 820 905 * Check if OSM primitive has a tag 'waterway'. 821 906 * @param osmPrimitive The OSM entity to check. 907 * @return {@code true} if OSM primitive has a tag 'waterway' 822 908 */ 823 909 public static boolean hasWaterwayTag(OsmPrimitive osmPrimitive) { … … 828 914 * Gets the value of tag 'waterway'. 829 915 * @param osmPrimitive The OSM entity to check. 916 * @return the value of tag 'waterway' 830 917 */ 831 918 public static String getWaterwayValue(OsmPrimitive osmPrimitive) { … … 836 923 * Check if OSM primitive has a tag 'trail_visibility'. 837 924 * @param osmPrimitive The OSM entity to check. 925 * @return {@code true} if OSM primitive has a tag 'trail_visibility' 838 926 */ 839 927 public static boolean hasTrailVisibilityTag(OsmPrimitive osmPrimitive) { … … 844 932 * Gets the value of tag 'trail_visibility'. 845 933 * @param osmPrimitive The OSM entity to check. 934 * @return the value of tag 'trail_visibility' 846 935 */ 847 936 public static String getTrailVisibilityValue(OsmPrimitive osmPrimitive) { … … 852 941 * Check if OSM primitive has a tag 'highway'. 853 942 * @param osmPrimitive The OSM entity to check. 943 * @return {@code true} if OSM primitive has a tag 'highway' 854 944 */ 855 945 public static boolean hasHighwayTag(OsmPrimitive osmPrimitive) { … … 860 950 * Gets the value of tag 'highway'. 861 951 * @param osmPrimitive The OSM entity to check. 952 * @return the value of tag 'highway' 862 953 */ 863 954 public static String getHighwayValue(OsmPrimitive osmPrimitive) { … … 868 959 * Check if OSM primitive has a tag 'vehicle'. 869 960 * @param osmPrimitive The OSM entity to check. 961 * @return {@code true} if OSM primitive has a tag 'vehicle' 870 962 */ 871 963 public static boolean hasVehicleTag(OsmPrimitive osmPrimitive) { … … 876 968 * Gets the value of tag 'vehicle'. 877 969 * @param osmPrimitive The OSM entity to check. 970 * @return the value of tag 'vehicle' 878 971 */ 879 972 public static String getVehicleValue(OsmPrimitive osmPrimitive) { … … 884 977 * Check if OSM primitive has a tag 'horse'. 885 978 * @param osmPrimitive The OSM entity to check. 979 * @return {@code true} if OSM primitive has a tag 'horse' 886 980 */ 887 981 public static boolean hasHorseTag(OsmPrimitive osmPrimitive) { … … 892 986 * Gets the value of tag 'horse'. 893 987 * @param osmPrimitive The OSM entity to check. 988 * @return the value of tag 'horse' 894 989 */ 895 990 public static String getHorseValue(OsmPrimitive osmPrimitive) { … … 900 995 * Check if OSM primitive has a tag 'goods'. 901 996 * @param osmPrimitive The OSM entity to check. 997 * @return {@code true} if OSM primitive has a tag 'goods' 902 998 */ 903 999 public static boolean hasGoodsTag(OsmPrimitive osmPrimitive) { … … 908 1004 * Gets the value of tag 'goods'. 909 1005 * @param osmPrimitive The OSM entity to check. 1006 * @return the value of tag 'goods' 910 1007 */ 911 1008 public static String getGoodsValue(OsmPrimitive osmPrimitive) { … … 916 1013 * Check if OSM primitive has a tag 'frequency'. 917 1014 * @param osmPrimitive The OSM entity to check. 1015 * @return {@code true} if OSM primitive has a tag 'frequency' 918 1016 */ 919 1017 public static boolean hasFrequencyTag(OsmPrimitive osmPrimitive) { … … 924 1022 * Gets the value of tag 'frequency'. 925 1023 * @param osmPrimitive The OSM entity to check. 1024 * @return the value of tag 'frequency' 926 1025 */ 927 1026 public static String getFrequencyValue(OsmPrimitive osmPrimitive) { … … 932 1031 * Check if OSM primitive has a tag 'man_made'. 933 1032 * @param osmPrimitive The OSM entity to check. 1033 * @return {@code true} if OSM primitive has a tag 'man_made' 934 1034 */ 935 1035 public static boolean hasManMadeTag(OsmPrimitive osmPrimitive) { … … 940 1040 * Gets the value of tag 'man_made'. 941 1041 * @param osmPrimitive The OSM entity to check. 1042 * @return the value of tag 'man_made' 942 1043 */ 943 1044 public static String getManMadeValue(OsmPrimitive osmPrimitive) { … … 948 1049 * Check if OSM primitive has a tag 'addr:housenumber'. 949 1050 * @param osmPrimitive The OSM entity to check. 1051 * @return {@code true} if OSM primitive has a tag 'addr:housenumber' 950 1052 */ 951 1053 public static boolean hasAddrHousenumberTag(OsmPrimitive osmPrimitive) { … … 956 1058 * Gets the value of tag 'addr:housenumber'. 957 1059 * @param osmPrimitive The OSM entity to check. 1060 * @return the value of tag 'addr:housenumber' 958 1061 */ 959 1062 public static String getAddrHousenumberValue(OsmPrimitive osmPrimitive) { … … 964 1067 * Check if OSM primitive has a tag 'addr:housename'. 965 1068 * @param osmPrimitive The OSM entity to check. 1069 * @return {@code true} if OSM primitive has a tag 'addr:housename' 966 1070 */ 967 1071 public static boolean hasAddrHousenameTag(OsmPrimitive osmPrimitive) { … … 972 1076 * Gets the value of tag 'addr:housename'. 973 1077 * @param osmPrimitive The OSM entity to check. 1078 * @return the value of tag 'addr:housename' 974 1079 */ 975 1080 public static String getAddrHousenameValue(OsmPrimitive osmPrimitive) { … … 980 1085 * Check if OSM primitive has a tag 'area'. 981 1086 * @param osmPrimitive The OSM entity to check. 1087 * @return {@code true} if OSM primitive has a tag 'area' 982 1088 */ 983 1089 public static boolean hasAreaTag(OsmPrimitive osmPrimitive) { … … 988 1094 * Gets the value of tag 'area'. 989 1095 * @param osmPrimitive The OSM entity to check. 1096 * @return the value of tag 'area' 990 1097 */ 991 1098 public static String getAreaValue(OsmPrimitive osmPrimitive) { … … 996 1103 * Check if OSM primitive has a tag 'building:levels'. 997 1104 * @param osmPrimitive The OSM entity to check. 1105 * @return {@code true} if OSM primitive has a tag 'building:levels' 998 1106 */ 999 1107 public static boolean hasBuildingLevelsTag(OsmPrimitive osmPrimitive) { … … 1004 1112 * Gets the value of tag 'building:levels'. 1005 1113 * @param osmPrimitive The OSM entity to check. 1114 * @return the value of tag 'building:levels' 1006 1115 */ 1007 1116 public static String getBuildingLevelsValue(OsmPrimitive osmPrimitive) { … … 1012 1121 * Check if OSM primitive has a tag 'wheelchair'. 1013 1122 * @param osmPrimitive The OSM entity to check. 1123 * @return {@code true} if OSM primitive has a tag 'wheelchair' 1014 1124 */ 1015 1125 public static boolean hasWheelchairTag(OsmPrimitive osmPrimitive) { … … 1020 1130 * Gets the value of tag 'wheelchair'. 1021 1131 * @param osmPrimitive The OSM entity to check. 1132 * @return the value of tag 'wheelchair' 1022 1133 */ 1023 1134 public static String getWheelchairValue(OsmPrimitive osmPrimitive) { … … 1028 1139 * Check if OSM primitive has a tag 'name'. 1029 1140 * @param osmPrimitive The OSM entity to check. 1141 * @return {@code true} if OSM primitive has a tag 'name' 1030 1142 */ 1031 1143 public static boolean hasNameTag(OsmPrimitive osmPrimitive) { … … 1036 1148 * Gets the value of tag 'name'. 1037 1149 * @param osmPrimitive The OSM entity to check. 1150 * @return the value of tag 'name' 1038 1151 */ 1039 1152 public static String getNameValue(OsmPrimitive osmPrimitive) { … … 1044 1157 * Check if OSM primitive has a tag 'oneway'. 1045 1158 * @param osmPrimitive The OSM entity to check. 1159 * @return {@code true} if OSM primitive has a tag 'oneway' 1046 1160 */ 1047 1161 public static boolean hasOnewayTag(OsmPrimitive osmPrimitive) { … … 1052 1166 * Gets the value of tag 'oneway'. 1053 1167 * @param osmPrimitive The OSM entity to check. 1168 * @return the value of tag 'oneway' 1054 1169 */ 1055 1170 public static String getOnewayValue(OsmPrimitive osmPrimitive) { … … 1060 1175 * Check if OSM primitive has a tag 'FIXME'. 1061 1176 * @param osmPrimitive The OSM entity to check. 1177 * @return {@code true} if OSM primitive has a tag 'FIXME' 1062 1178 */ 1063 1179 public static boolean hasFIXMETag(OsmPrimitive osmPrimitive) { … … 1068 1184 * Gets the value of tag 'FIXME'. 1069 1185 * @param osmPrimitive The OSM entity to check. 1186 * @return the value of tag 'FIXME' 1070 1187 */ 1071 1188 public static String getFIXMEValue(OsmPrimitive osmPrimitive) { … … 1076 1193 * Check if OSM primitive has a tag 'capacity'. 1077 1194 * @param osmPrimitive The OSM entity to check. 1195 * @return {@code true} if OSM primitive has a tag 'capacity' 1078 1196 */ 1079 1197 public static boolean hasCapacityTag(OsmPrimitive osmPrimitive) { … … 1084 1202 * Gets the value of tag 'capacity'. 1085 1203 * @param osmPrimitive The OSM entity to check. 1204 * @return the value of tag 'capacity' 1086 1205 */ 1087 1206 public static String getCapacityValue(OsmPrimitive osmPrimitive) { … … 1092 1211 * Check if OSM primitive has a tag 'motorcycle'. 1093 1212 * @param osmPrimitive The OSM entity to check. 1213 * @return {@code true} if OSM primitive has a tag 'motorcycle' 1094 1214 */ 1095 1215 public static boolean hasMotorcycleTag(OsmPrimitive osmPrimitive) { … … 1100 1220 * Gets the value of tag 'motorcycle'. 1101 1221 * @param osmPrimitive The OSM entity to check. 1222 * @return the value of tag 'motorcycle' 1102 1223 */ 1103 1224 public static String getMotorcycleValue(OsmPrimitive osmPrimitive) { … … 1108 1229 * Check if OSM primitive has a tag 'hgv'. 1109 1230 * @param osmPrimitive The OSM entity to check. 1231 * @return {@code true} if OSM primitive has a tag 'hgv' 1110 1232 */ 1111 1233 public static boolean hasHgvTag(OsmPrimitive osmPrimitive) { … … 1116 1238 * Gets the value of tag 'hgv'. 1117 1239 * @param osmPrimitive The OSM entity to check. 1240 * @return the value of tag 'hgv' 1118 1241 */ 1119 1242 public static String getHgvValue(OsmPrimitive osmPrimitive) { … … 1124 1247 * Check if OSM primitive has a tag 'construction'. 1125 1248 * @param osmPrimitive The OSM entity to check. 1249 * @return {@code true} if OSM primitive has a tag 'construction' 1126 1250 */ 1127 1251 public static boolean hasConstructionTag(OsmPrimitive osmPrimitive) { … … 1132 1256 * Gets the value of tag 'construction'. 1133 1257 * @param osmPrimitive The OSM entity to check. 1258 * @return the value of tag 'construction' 1134 1259 */ 1135 1260 public static String getConstructionValue(OsmPrimitive osmPrimitive) { … … 1140 1265 * Check if OSM primitive has a tag 'addr:state'. 1141 1266 * @param osmPrimitive The OSM entity to check. 1267 * @return {@code true} if OSM primitive has a tag 'addr:state' 1142 1268 */ 1143 1269 public static boolean hasAddrStateTag(OsmPrimitive osmPrimitive) { … … 1148 1274 * Gets the value of tag 'addr:state'. 1149 1275 * @param osmPrimitive The OSM entity to check. 1276 * @return the value of tag 'addr:state' 1150 1277 */ 1151 1278 public static String getAddrStateValue(OsmPrimitive osmPrimitive) { … … 1156 1283 * Check if OSM primitive has a tag 'lanes'. 1157 1284 * @param osmPrimitive The OSM entity to check. 1285 * @return {@code true} if OSM primitive has a tag 'lanes' 1158 1286 */ 1159 1287 public static boolean hasLanesTag(OsmPrimitive osmPrimitive) { … … 1164 1292 * Gets the value of tag 'lanes'. 1165 1293 * @param osmPrimitive The OSM entity to check. 1294 * @return the value of tag 'lanes' 1166 1295 */ 1167 1296 public static String getLanesValue(OsmPrimitive osmPrimitive) { … … 1172 1301 * Check if OSM primitive has a tag 'note'. 1173 1302 * @param osmPrimitive The OSM entity to check. 1303 * @return {@code true} if OSM primitive has a tag 'note' 1174 1304 */ 1175 1305 public static boolean hasNoteTag(OsmPrimitive osmPrimitive) { … … 1180 1310 * Gets the value of tag 'note'. 1181 1311 * @param osmPrimitive The OSM entity to check. 1312 * @return the value of tag 'note' 1182 1313 */ 1183 1314 public static String getNoteValue(OsmPrimitive osmPrimitive) { … … 1188 1319 * Check if OSM primitive has a tag 'lit'. 1189 1320 * @param osmPrimitive The OSM entity to check. 1321 * @return {@code true} if OSM primitive has a tag 'lit' 1190 1322 */ 1191 1323 public static boolean hasLitTag(OsmPrimitive osmPrimitive) { … … 1196 1328 * Gets the value of tag 'lit'. 1197 1329 * @param osmPrimitive The OSM entity to check. 1330 * @return the value of tag 'lit' 1198 1331 */ 1199 1332 public static String getLitValue(OsmPrimitive osmPrimitive) { … … 1204 1337 * Check if OSM primitive has a tag 'building'. 1205 1338 * @param osmPrimitive The OSM entity to check. 1339 * @return {@code true} if OSM primitive has a tag 'building' 1206 1340 */ 1207 1341 public static boolean hasBuildingTag(OsmPrimitive osmPrimitive) { … … 1212 1346 * Gets the value of tag 'building'. 1213 1347 * @param osmPrimitive The OSM entity to check. 1348 * @return the value of tag 'building' 1214 1349 */ 1215 1350 public static String getBuildingValue(OsmPrimitive osmPrimitive) { … … 1220 1355 * Check if OSM primitive has a tag 'segregated'. 1221 1356 * @param osmPrimitive The OSM entity to check. 1357 * @return {@code true} if OSM primitive has a tag 'segregated' 1222 1358 */ 1223 1359 public static boolean hasSegregatedTag(OsmPrimitive osmPrimitive) { … … 1228 1364 * Gets the value of tag 'segregated'. 1229 1365 * @param osmPrimitive The OSM entity to check. 1366 * @return the value of tag 'segregated' 1230 1367 */ 1231 1368 public static String getSegregatedValue(OsmPrimitive osmPrimitive) { … … 1236 1373 * Check if OSM primitive has a tag 'addr:inclusion'. 1237 1374 * @param osmPrimitive The OSM entity to check. 1375 * @return {@code true} if OSM primitive has a tag 'addr:inclusion' 1238 1376 */ 1239 1377 public static boolean hasAddrInclusionTag(OsmPrimitive osmPrimitive) { … … 1244 1382 * Gets the value of tag 'addr:inclusion'. 1245 1383 * @param osmPrimitive The OSM entity to check. 1384 * @return the value of tag 'addr:inclusion' 1246 1385 */ 1247 1386 public static String getAddrInclusionValue(OsmPrimitive osmPrimitive) { … … 1252 1391 * Check if OSM primitive has a tag 'layer'. 1253 1392 * @param osmPrimitive The OSM entity to check. 1393 * @return {@code true} if OSM primitive has a tag 'layer' 1254 1394 */ 1255 1395 public static boolean hasLayerTag(OsmPrimitive osmPrimitive) { … … 1260 1400 * Gets the value of tag 'layer'. 1261 1401 * @param osmPrimitive The OSM entity to check. 1402 * @return the value of tag 'layer' 1262 1403 */ 1263 1404 public static String getLayerValue(OsmPrimitive osmPrimitive) { … … 1268 1409 * Check if OSM primitive has a tag 'sport'. 1269 1410 * @param osmPrimitive The OSM entity to check. 1411 * @return {@code true} if OSM primitive has a tag 'sport' 1270 1412 */ 1271 1413 public static boolean hasSportTag(OsmPrimitive osmPrimitive) { … … 1276 1418 * Gets the value of tag 'sport'. 1277 1419 * @param osmPrimitive The OSM entity to check. 1420 * @return the value of tag 'sport' 1278 1421 */ 1279 1422 public static String getSportValue(OsmPrimitive osmPrimitive) { … … 1284 1427 * Check if OSM primitive has a tag 'addr:interpolation'. 1285 1428 * @param osmPrimitive The OSM entity to check. 1429 * @return {@code true} if OSM primitive has a tag 'addr:interpolation' 1286 1430 */ 1287 1431 public static boolean hasAddrInterpolationTag(OsmPrimitive osmPrimitive) { … … 1292 1436 * Gets the value of tag 'addr:interpolation'. 1293 1437 * @param osmPrimitive The OSM entity to check. 1438 * @return the value of tag 'addr:interpolation' 1294 1439 */ 1295 1440 public static String getAddrInterpolationValue(OsmPrimitive osmPrimitive) { … … 1300 1445 * Check if OSM primitive has a tag 'cutting'. 1301 1446 * @param osmPrimitive The OSM entity to check. 1447 * @return {@code true} if OSM primitive has a tag 'cutting' 1302 1448 */ 1303 1449 public static boolean hasCuttingTag(OsmPrimitive osmPrimitive) { … … 1308 1454 * Gets the value of tag 'cutting'. 1309 1455 * @param osmPrimitive The OSM entity to check. 1456 * @return the value of tag 'cutting' 1310 1457 */ 1311 1458 public static String getCuttingValue(OsmPrimitive osmPrimitive) { … … 1316 1463 * Check if OSM primitive has a tag 'amenity'. 1317 1464 * @param osmPrimitive The OSM entity to check. 1465 * @return {@code true} if OSM primitive has a tag 'amenity' 1318 1466 */ 1319 1467 public static boolean hasAmenityTag(OsmPrimitive osmPrimitive) { … … 1324 1472 * Gets the value of tag 'amenity'. 1325 1473 * @param osmPrimitive The OSM entity to check. 1474 * @return the value of tag 'amenity' 1326 1475 */ 1327 1476 public static String getAmenityValue(OsmPrimitive osmPrimitive) { … … 1332 1481 * Check if OSM primitive has a tag 'access'. 1333 1482 * @param osmPrimitive The OSM entity to check. 1483 * @return {@code true} if OSM primitive has a tag 'access' 1334 1484 */ 1335 1485 public static boolean hasAccessTag(OsmPrimitive osmPrimitive) { … … 1340 1490 * Gets the value of tag 'access'. 1341 1491 * @param osmPrimitive The OSM entity to check. 1492 * @return the value of tag 'access' 1342 1493 */ 1343 1494 public static String getAccessValue(OsmPrimitive osmPrimitive) { … … 1348 1499 * Check if OSM primitive has a tag 'agricultural'. 1349 1500 * @param osmPrimitive The OSM entity to check. 1501 * @return {@code true} if OSM primitive has a tag 'agricultural' 1350 1502 */ 1351 1503 public static boolean hasAgriculturalTag(OsmPrimitive osmPrimitive) { … … 1357 1509 * Gets the value of tag 'agricultural'. 1358 1510 * @param osmPrimitive The OSM entity to check. 1511 * @return the value of tag 'agricultural' 1359 1512 */ 1360 1513 public static String getAgriculturalValue(OsmPrimitive osmPrimitive) { … … 1365 1518 * Check if OSM primitive has a tag 'capacity:disabled'. 1366 1519 * @param osmPrimitive The OSM entity to check. 1520 * @return {@code true} if OSM primitive has a tag 'capacity:disabled' 1367 1521 */ 1368 1522 public static boolean hasCapacityDisabledTag(OsmPrimitive osmPrimitive) { … … 1374 1528 * Gets the value of tag 'capacity:disabled'. 1375 1529 * @param osmPrimitive The OSM entity to check. 1530 * @return the value of tag 'capacity:disabled' 1376 1531 */ 1377 1532 public static String getCapacityDisabledValue(OsmPrimitive osmPrimitive) { … … 1382 1537 * Check if OSM primitive has a tag 'operator'. 1383 1538 * @param osmPrimitive The OSM entity to check. 1539 * @return {@code true} if OSM primitive has a tag 'operator' 1384 1540 */ 1385 1541 public static boolean hasOperatorTag(OsmPrimitive osmPrimitive) { … … 1390 1546 * Gets the value of tag 'operator'. 1391 1547 * @param osmPrimitive The OSM entity to check. 1548 * @return the value of tag 'operator' 1392 1549 */ 1393 1550 public static String getOperatorValue(OsmPrimitive osmPrimitive) { … … 1398 1555 * Check if OSM primitive has a tag 'ref'. 1399 1556 * @param osmPrimitive The OSM entity to check. 1557 * @return {@code true} if OSM primitive has a tag 'ref' 1400 1558 */ 1401 1559 public static boolean hasRefTag(OsmPrimitive osmPrimitive) { … … 1406 1564 * Gets the value of tag 'ref'. 1407 1565 * @param osmPrimitive The OSM entity to check. 1566 * @return the value of tag 'ref' 1408 1567 */ 1409 1568 public static String getRefValue(OsmPrimitive osmPrimitive) { … … 1414 1573 * Check if OSM primitive has a tag 'noexit'. 1415 1574 * @param osmPrimitive The OSM entity to check. 1575 * @return {@code true} if OSM primitive has a tag 'noexit' 1416 1576 */ 1417 1577 public static boolean hasNoexitTag(OsmPrimitive osmPrimitive) { … … 1422 1582 * Gets the value of tag 'noexit'. 1423 1583 * @param osmPrimitive The OSM entity to check. 1584 * @return the value of tag 'noexit' 1424 1585 */ 1425 1586 public static String getNoexitValue(OsmPrimitive osmPrimitive) { … … 1430 1591 * Check if OSM primitive has a tag 'admin_level'. 1431 1592 * @param osmPrimitive The OSM entity to check. 1593 * @return {@code true} if OSM primitive has a tag 'admin_level' 1432 1594 */ 1433 1595 public static boolean hasAdminLevelTag(OsmPrimitive osmPrimitive) { … … 1438 1600 * Gets the value of tag 'admin_level'. 1439 1601 * @param osmPrimitive The OSM entity to check. 1602 * @return the value of tag 'admin_level' 1440 1603 */ 1441 1604 public static String getAdminLevelValue(OsmPrimitive osmPrimitive) { … … 1446 1609 * Check if OSM primitive has a tag 'source'. 1447 1610 * @param osmPrimitive The OSM entity to check. 1611 * @return {@code true} if OSM primitive has a tag 'source' 1448 1612 */ 1449 1613 public static boolean hasSourceTag(OsmPrimitive osmPrimitive) { … … 1454 1618 * Gets the value of tag 'source'. 1455 1619 * @param osmPrimitive The OSM entity to check. 1620 * @return the value of tag 'source' 1456 1621 */ 1457 1622 public static String getSourceValue(OsmPrimitive osmPrimitive) { … … 1462 1627 * Check if OSM primitive has a tag 'tracktype'. 1463 1628 * @param osmPrimitive The OSM entity to check. 1629 * @return {@code true} if OSM primitive has a tag 'tracktype' 1464 1630 */ 1465 1631 public static boolean hasTracktypeTag(OsmPrimitive osmPrimitive) { … … 1470 1636 * Gets the value of tag 'tracktype'. 1471 1637 * @param osmPrimitive The OSM entity to check. 1638 * @return the value of tag 'tracktype' 1472 1639 */ 1473 1640 public static String getTracktypeValue(OsmPrimitive osmPrimitive) { … … 1478 1645 * Check if OSM primitive has a tag 'addr:country'. 1479 1646 * @param osmPrimitive The OSM entity to check. 1647 * @return {@code true} if OSM primitive has a tag 'addr:country' 1480 1648 */ 1481 1649 public static boolean hasAddrCountryTag(OsmPrimitive osmPrimitive) { … … 1486 1654 * Gets the value of tag 'addr:country'. 1487 1655 * @param osmPrimitive The OSM entity to check. 1656 * @return the value of tag 'addr:country' 1488 1657 */ 1489 1658 public static String getAddrCountryValue(OsmPrimitive osmPrimitive) { … … 1494 1663 * Check if OSM primitive has a tag 'route'. 1495 1664 * @param osmPrimitive The OSM entity to check. 1665 * @return {@code true} if OSM primitive has a tag 'route' 1496 1666 */ 1497 1667 public static boolean hasRouteTag(OsmPrimitive osmPrimitive) { … … 1502 1672 * Gets the value of tag 'route'. 1503 1673 * @param osmPrimitive The OSM entity to check. 1674 * @return the value of tag 'route' 1504 1675 */ 1505 1676 public static String getRouteValue(OsmPrimitive osmPrimitive) { … … 1510 1681 * Check if OSM primitive has a tag 'cables'. 1511 1682 * @param osmPrimitive The OSM entity to check. 1683 * @return {@code true} if OSM primitive has a tag 'cables' 1512 1684 */ 1513 1685 public static boolean hasCablesTag(OsmPrimitive osmPrimitive) { … … 1518 1690 * Gets the value of tag 'cables'. 1519 1691 * @param osmPrimitive The OSM entity to check. 1692 * @return the value of tag 'cables' 1520 1693 */ 1521 1694 public static String getCablesValue(OsmPrimitive osmPrimitive) { … … 1526 1699 * Check if OSM primitive has a tag 'service'. 1527 1700 * @param osmPrimitive The OSM entity to check. 1701 * @return {@code true} if OSM primitive has a tag 'service' 1528 1702 */ 1529 1703 public static boolean hasServiceTag(OsmPrimitive osmPrimitive) { … … 1534 1708 * Gets the value of tag 'service'. 1535 1709 * @param osmPrimitive The OSM entity to check. 1710 * @return the value of tag 'service' 1536 1711 */ 1537 1712 public static String getServiceValue(OsmPrimitive osmPrimitive) { … … 1542 1717 * Check if OSM primitive has a tag 'motorcar'. 1543 1718 * @param osmPrimitive The OSM entity to check. 1719 * @return {@code true} if OSM primitive has a tag 'motorcar' 1544 1720 */ 1545 1721 public static boolean hasMotorcarTag(OsmPrimitive osmPrimitive) { … … 1550 1726 * Gets the value of tag 'motorcar'. 1551 1727 * @param osmPrimitive The OSM entity to check. 1728 * @return the value of tag 'motorcar' 1552 1729 */ 1553 1730 public static String getMotorcarValue(OsmPrimitive osmPrimitive) { … … 1558 1735 * Check if OSM primitive has a tag 'whitewater'. 1559 1736 * @param osmPrimitive The OSM entity to check. 1737 * @return {@code true} if OSM primitive has a tag 'whitewater' 1560 1738 */ 1561 1739 public static boolean hasWhitewaterTag(OsmPrimitive osmPrimitive) { … … 1566 1744 * Gets the value of tag 'whitewater'. 1567 1745 * @param osmPrimitive The OSM entity to check. 1746 * @return the value of tag 'whitewater' 1568 1747 */ 1569 1748 public static String getWhitewaterValue(OsmPrimitive osmPrimitive) { … … 1574 1753 * Check if OSM primitive has a tag 'embankment'. 1575 1754 * @param osmPrimitive The OSM entity to check. 1755 * @return {@code true} if OSM primitive has a tag 'embankment' 1576 1756 */ 1577 1757 public static boolean hasEmbankmentTag(OsmPrimitive osmPrimitive) { … … 1582 1762 * Gets the value of tag 'embankment'. 1583 1763 * @param osmPrimitive The OSM entity to check. 1764 * @return the value of tag 'embankment' 1584 1765 */ 1585 1766 public static String getEmbankmentValue(OsmPrimitive osmPrimitive) { … … 1617 1798 /** 1618 1799 * Check if OSM relation is a 'associatedStreet' relation. 1619 * @param osmPrimitive The OSM entity to check. 1800 * @param rel The relation to check. 1801 * @return {@code true} if OSM relation is a 'associatedStreet' relation 1620 1802 */ 1621 1803 public static boolean isAssociatedStreetRelation(Relation rel) { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/AddressEditDialog.java
r34511 r34880 50 50 import org.openstreetmap.josm.tools.Logging; 51 51 52 /** 53 * Address Edit dialog. 54 */ 52 55 @SuppressWarnings("serial") 53 56 public class AddressEditDialog extends JDialog implements ActionListener, ListSelectionListener, IAddressEditContainerListener { … … 367 370 * the jumpToEntry event occurs, that object's appropriate 368 371 * method is invoked. 369 *370 * @see JumpToEntryEvent371 372 */ 372 373 class JumpToEntryListener implements KeyListener { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/AddressEditModel.java
r32970 r34880 14 14 import org.openstreetmap.josm.plugins.fixAddresses.OSMStreet; 15 15 16 /** 17 * Address Edit model. 18 */ 16 19 public class AddressEditModel { 17 20 private List<OSMStreet> streets; -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/AddressEditSelectionEvent.java
r32970 r34880 12 12 import org.openstreetmap.josm.plugins.fixAddresses.OSMStreet; 13 13 14 /** 15 * Address Edit selection event 16 */ 14 17 public class AddressEditSelectionEvent extends ActionEvent { 15 /** 16 * 17 */ 18 18 19 private static final long serialVersionUID = -93034483427803409L; 19 20 private JTable streetTable; … … 30 31 * @param selStreet The street table component. 31 32 * @param unresolvedAddresses The unresolved addresses table component. 32 * @param incomplete The incomplete addresses table component.33 * @param incompleteAddresses The incomplete addresses table component. 33 34 * @param container The address container instance holding the entities for streets and addresses. 34 35 */ -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/AddressEditTableModel.java
r34058 r34880 17 17 import org.openstreetmap.josm.plugins.fixAddresses.IOSMEntity; 18 18 19 /** 20 * Address edit table model. 21 */ 19 22 @SuppressWarnings("serial") 20 23 public abstract class AddressEditTableModel extends DefaultTableModel implements … … 36 39 fireTableDataChanged(); // update model 37 40 } else { 38 SwingUtilities.invokeLater(new Runnable() { 39 40 @Override 41 public void run() { 42 fireTableDataChanged(); // update model 43 } 44 }); 41 SwingUtilities.invokeLater(() -> fireTableDataChanged()); 45 42 } 46 43 } … … 91 88 * the column event occurs, that object's appropriate 92 89 * method is invoked. 93 *94 * @see ColumnEvent95 90 */ 96 91 class ColumnListener extends MouseAdapter { … … 139 134 /** 140 135 * Internal base class to sort items by different columns. 136 * @param <E> item type 141 137 */ 142 138 protected abstract static class ColumnSorter<E> implements Comparator<E> { … … 148 144 * 149 145 * @param column the column to sort by 146 * @param ascending if sort mode is ascending or not 150 147 */ 151 148 public ColumnSorter(int column, boolean ascending) { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/BBoxMapRectangle.java
r32970 r34880 9 9 import org.openstreetmap.josm.data.osm.BBox; 10 10 11 /** 12 * A {@link MapRectangleImpl} constructed from a {@link BBox}. 13 */ 11 14 public class BBoxMapRectangle extends MapRectangleImpl { 12 15 private BBox bbox; -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/IncompleteAddressesDialog.java
r30737 r34880 32 32 import org.openstreetmap.josm.plugins.fixAddresses.gui.actions.AddressActions; 33 33 34 /** 35 * Incomplete addresses dialog. 36 */ 34 37 @SuppressWarnings("serial") 35 38 public class IncompleteAddressesDialog extends ToggleDialog implements DataSetListener, ListSelectionListener, IAddressEditContainerListener { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/IncompleteAddressesTableModel.java
r34058 r34880 11 11 import org.openstreetmap.josm.plugins.fixAddresses.OSMAddress; 12 12 13 /** 14 * Incomplete addresses table model. 15 */ 13 16 public class IncompleteAddressesTableModel extends AddressEditTableModel { 14 /** 15 * 16 */ 17 17 18 private static final long serialVersionUID = -5951629033395186324L; 18 19 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/StreetTableModel.java
r34058 r34880 10 10 import org.openstreetmap.josm.plugins.fixAddresses.OSMStreet; 11 11 12 /** 13 * Street table model. 14 */ 12 15 @SuppressWarnings("serial") 13 16 public class StreetTableModel extends AddressEditTableModel { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/AbstractAddressEditAction.java
r34511 r34880 117 117 /** 118 118 * Updates 'enabled' state depending on the current selection. 119 * @param containerThe selection event.119 * @param event The selection event. 120 120 */ 121 121 protected abstract void updateEnabledState(AddressEditSelectionEvent event); -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/AddressActions.java
r32970 r34880 2 2 package org.openstreetmap.josm.plugins.fixAddresses.gui.actions; 3 3 4 /** 5 * Global action objects 6 */ 4 7 public final class AddressActions { 5 8 … … 8 11 } 9 12 10 /* Global action objects */11 13 public static SelectAddressesInMapAction getSelectAction() { 12 14 return new SelectAddressesInMapAction(); -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ApplyAllGuessesAction.java
r34058 r34880 29 29 /** 30 30 * Instantiates a new "apply all guesses" action. 31 * @param tag tag to analyze 31 32 */ 32 33 public ApplyAllGuessesAction(String tag) { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ConvertAllToRelationAction.java
r30348 r34880 8 8 import org.openstreetmap.josm.plugins.fixAddresses.gui.AddressEditSelectionEvent; 9 9 10 /** 11 * Create relation between street and related addresses for ALL streets in the current layer. 12 */ 10 13 @SuppressWarnings("serial") 11 14 public class ConvertAllToRelationAction extends ConvertToRelationAction { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ConvertToRelationAction.java
r33718 r34880 14 14 import org.openstreetmap.josm.plugins.fixAddresses.gui.AddressEditSelectionEvent; 15 15 16 /** 17 * Create relation between street and related addresses. 18 */ 16 19 @SuppressWarnings("serial") 17 20 public class ConvertToRelationAction extends AbstractAddressEditAction { … … 29 32 * @param iconName the icon name 30 33 * @param tooltip the tool tip to show on hover 34 * @param toolbar identifier for the toolbar preferences 31 35 */ 32 36 public ConvertToRelationAction(String name, String iconName, String tooltip, String toolbar) { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/GuessAddressDataAction.java
r33718 r34880 58 58 /** 59 59 * Internal method to start several threads guessing tag values for the given list of addresses. 60 * @param nodes list of OSM addresses 60 61 */ 61 62 private void internalGuessAddresses(List<OSMAddress> nodes) { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/RemoveAddressTagsAction.java
r30348 r34880 8 8 import org.openstreetmap.josm.plugins.fixAddresses.gui.AddressEditSelectionEvent; 9 9 10 /** 11 * Removes address related tags from the object. 12 */ 10 13 @SuppressWarnings("serial") 11 14 public class RemoveAddressTagsAction extends AbstractAddressEditAction { -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/SelectAddressesInMapAction.java
r32970 r34880 14 14 15 15 /** 16 * Marks selected addresses in the map. 16 17 * 17 18 * @author Oliver Wieland <oliver.wieland@online.de> 18 *19 19 */ 20 20 @SuppressWarnings("serial") -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/SelectIncompleteAddressesAction.java
r34058 r34880 13 13 import org.openstreetmap.josm.plugins.fixAddresses.OSMAddress; 14 14 15 /** 16 * Selects all addresses with incomplete data. 17 */ 15 18 @SuppressWarnings("serial") 16 19 public class SelectIncompleteAddressesAction extends JosmAction { 17 18 20 19 21 private AddressEditContainer addressEditContainer;
Note:
See TracChangeset
for help on using the changeset viewer.