Interface TaggingPresetValidation
-
interface TaggingPresetValidation
Validates the preset user input a the given primitive.
-
-
Method Summary
Static Methods Modifier and Type Method Description static OsmPrimitive
applyChangedTags(OsmPrimitive original, List<Tag> changedTags)
static void
validate(OsmPrimitive primitive, JLabel validationLabel)
Validates the user input for the given primitive.static void
validateAsync(OsmPrimitive original, JLabel validationLabel, List<Tag> changedTags)
Asynchronously validates the user input for the given primitive.
-
-
-
Method Detail
-
validateAsync
static void validateAsync(OsmPrimitive original, JLabel validationLabel, List<Tag> changedTags)
Asynchronously validates the user input for the given primitive.- Parameters:
original
- the primitivevalidationLabel
- the label for validation errorschangedTags
- the list of tags that are set by this preset
-
validate
static void validate(OsmPrimitive primitive, JLabel validationLabel)
Validates the user input for the given primitive.- Parameters:
primitive
- the primitivevalidationLabel
- the label for validation errors
-
applyChangedTags
static OsmPrimitive applyChangedTags(OsmPrimitive original, List<Tag> changedTags)
-
-