[josm-dev] Plugin help - change topbar toolbar josm...

Dirk Stöcker openstreetmap at dstoecker.de
Tue Jan 12 08:33:43 GMT 2010


On Mon, 11 Jan 2010, Minh Quang wrote:

> Thank for your help. I really appreciate it. So as you suggested, what i 
> should do is to look at the package GUI of JOSM; there are everything i 
> need to do on my button. But something is not really clear is that JOSM 
> parse presets.xml to creat its preset menu, that means dans preset menu 
> there are all of presets defined before. But after what i need to do is 
> to access just to a group of tags ( I dont want a whole thing defined 
> before) to our plugins.

All Preset file are joined in the same presets menu. First file first, ...

> Could you please tell me more about GUI, where i can list all the button 
> shortcut. When i read the whole source code, I discoverd that the user

As said: Easiest way is adding it and afterwards look in preferences.

> can save its preference in a file. Then I just want to know where JOSM 
> stock this file and how to read it.. Thank you very much

Under Windows in the users home directory (Look into Preferences.java). 
For Unix in ~/.josm/preferences.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)





More information about the josm-dev mailing list