Interface TaggingPresetValidation

    • 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 primitive
        validationLabel - the label for validation errors
        changedTags - 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 primitive
        validationLabel - the label for validation errors