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


_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to