[josm-dev] JOSM session

Sebastian Klein bastikln at googlemail.com
Mon Oct 18 21:39:20 BST 2010


Hi,

can you show, what you have done so far? Then it might be easier to help.


Sebastian

Nakor wrote:
>     Hello,
> 
> I made good progress implementing ticket #4029 (JOSM sessions) but I am 
> stuck at some point. To be able to reorder the layers correctly, set 
> their visibilities and so on, I need to create those layers and get the 
> resulting layer object.
> 
> Since layers are created in the background I sometimes get null pointers 
> instead of the actual layer or when I try to re-order them, they have 
> not been added yet to the main view.
> 
> How can I make sure that I get called AFTER the layer is created and 
> added to the main view.
> 
>   Thanks,
> 
> N.



More information about the josm-dev mailing list