Hello :
I was wondering if there is a way to get a selected layer (not a shapefile)
from the "layers view"?? but not using the "target" object.
I was using this:
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getSelection().toString(),
but sometimes it does not work. There is the known other way:
ApplicationGIS.getActiveMap().getMapLayers().get(index), but i would need an
"index".
Thanks,
Magna
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel