[udig-devel] How to set focus on layer

Jesse Eichar jeichar.w at gmail.com
Tue May 13 06:38:29 PDT 2008


Hi,

The functionality is hidden in the EditManager:

layer.getMap().getEditManager().setSelectedLayer(layer)

Jesse

On 13-May-08, at 10:45 AM, Maria Comanescu wrote:

> Hi,
>
> I managed to create a new temporary layer, but I'm not able to set  
> focus on it once it is created.
> Can anybody please tell me how to set focus on a layer in the Layers  
> view.
>
> Thanks,
> Maria
>
>
>       
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



More information about the udig-devel mailing list