Dear plugin authors,

when you'll recompile your pligins against the latest JOSM you'll get a 
number of deprecated warnings. You might be tempted to change your code 
to use the new API, and usually I would ask you to do so. However, I 
just noticed that I forgot to include a way to revoke the automatically 
assigned shortcuts. So if you use the new API and use correct IDs 
instead of generated ones, your original shortcut will be unavailable to 
you. Bad thing.

Also, using the new API means that the changed plugin will no longer 
work with older JOSM version.

So please wait with changing your plugins.

However, I noticed that at least one of the existing plugins (Surveyor) 
uses the old API incorrectly. Please make sure to use the "shortcut" 
property of JosmAction to register your shortcut with Swing, not you own 
KeyStroke object.

Thank you

Henry

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

Reply via email to