Opened 3 years ago
Last modified 2 years ago
#21228 new enhancement
More flexible tagging preset dialogs — at Version 3
Reported by: | gaben | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | tagging presets | Cc: |
Description (last modified by )
In a new plugin, I'd like to override some core JOSM preset layout and input fields behaviour. Unfortunately, it's not possible so far.
Why? Because the plugin would duplicate part of the default tagging presets with some extras.
I'm okay with programming a preset dialog for myself without touching JOSM core, but it isn't trivial either, so I'm open to suggestions. The closest thing I found is the roadsigns plugin which has some of the code I need (source available in josm svn repo, here).
Change History (3)
comment:1 by , 3 years ago
Description: | modified (diff) |
---|---|
Keywords: | tagging presets added |
comment:2 by , 3 years ago
The core defaultpresets file is fine, no need to duplicate that as the plugin only needs to modify the preset window, the tags remain the same.
comment:3 by , 3 years ago
Description: | modified (diff) |
---|
How about a new preset file with the defaultpresets (and all other active presets or preference list) plus your extras and disabling all the duplicated presets?