[josm-dev] How to select objects in an own Layer class?

Stefan Breitling stefanbreitling at yahoo.com
Wed Jan 19 12:19:30 GMT 2011


Hi there!

I am trying to develop a plugin for JOSM to represent own datastructures in an 
own layer (inherited from Layer). This works well but now I want to select 
objects in my layer with the mouse. Can anybody short explain how this works? In 

my layer there is no dataset-object and I think I should use the 
SelectionManager to get the selected rectangle with the coordinates. But how I 
get the SelectionManager? And there are listener I need to use?

Any help?
Stefan



      



More information about the josm-dev mailing list