Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Access to the selected layer within layers view

For convenience I have the edit manager keep track of the most recently selected layer. I think Context objects also have a method to access the currently selected layer. Code snippet:

map.getEditManager.getSelectedLayer();

Does this work for you?

Jesse

Vincent Nouguier wrote:

Hello all,

I would like to get information about the layer that is currently selected in the layers view. I would get this information in order to provide information about this layer to a remote application so I can't use "operation" extension point or any other GUI interaction.

Any idea ?

Thanks in advance,

Vincent
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel




Back to the top