[josm-dev] Josm Plugin -> add entry to Filterdialog
"Möller, Matthias"
mmoeller at psi.de
Fri Dec 5 10:19:22 UTC 2014
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.
I looked at the filtermodel inside the filterdialog class but it is private so I can't access it.
I also tried to add my filter to the internal main.pref settings databank with Main.pref.putListOfStructs and Main.pref.getListOfStructs.
Unfortunately <https://www.google.de/search?es_sm=122&q=Unfortunately&spell=1&sa=X&ei=eYWBVPvmJ8rxUoa1g-gP&ved=0CBwQvwUoAA> the data is only read on restart of the FilterDialog.
I Tried to close and restart the Dialog but I could not find out how to close it.
So my question:
is there a Way to add a Filter to the build-in FilterDialog?
I also could derive another FilterDialog class witch has a public add Method but I am not able to start the manipulated class.
Thx
mmoeller
More information about the josm-dev
mailing list