Opened 4 years ago

Last modified 4 years ago

#19591 new enhancement

[RFC] Add a datepicker interface to JOSM — at Initial Version

Reported by: taylor.smock Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

See comment:36:ticket:14921 for a potential usecase in core.

I've got an implementation over here: https://gitlab.com/smocktaylor/josm_datepicker/-/blob/master/src/main/java/org/openstreetmap/josm/plugins/datepicker/IDatePicker.java .

Would it be a good idea to put that in core? If so, I'll make some modifications and post it.

Notes: Currently uses java.time.LocalDate instead of java.util.Date. There probably won't be a UI, at least initially, to set the config value that determines the appropriate class to initialize.

Right now, my intent is to use this in the Mapillary plugin to remove the JavaFX dependency. I will probably post a patch for the JavaFX plugin that will enable it to be used as a date picker without being a hard dependency for other plugins.

Change History (0)

Note: See TracTickets for help on using tickets.