[josm-dev] Josm Plugin -> add entry to Filterdialog
Paul Hartmann
phaaurlt at gmail.com
Fri Dec 5 11:53:25 UTC 2014
On 05.12.2014 11:19, "Möller, Matthias" wrote:
> Hi @all
>
> I'am trying to expand an exsiting plugin for josm.
>
> So the basic plugin works. Now I want to create a filter and add it to the build-in FilterDialog.
>
> [...]
>
> So my question:
>
> is there a Way to add a Filter to the build-in FilterDialog?
I haven't checked if it is possible at the moment, but if not, the
general procedure would be:
Fix JOSM core such that your plugin can do what you want it to do -
change private access flags to public, add methods, etc.
Then open a ticket and attach your patch, so we can apply it.
I don't know how your plugin works exactly, but keep in mind, that users
may just casually install, try out and immediately uninstall some
plugins. In general, this should not permanently change the user's
configuration. (You can keep of course preference settings specific to
the plugin.) If each filter is added on user request, then this is
probably okay.
Paul
More information about the josm-dev
mailing list