Hmmm. Mind you at that point the selected feature isn't a Map. It
is a feature. You might consider changing the target to Feature so
it will work any where a feature is selected
Jesse
On 24-Mar-06, at 8:01 AM, Jonas Johansson wrote:
Hi,
I need some help with finding my selected Feature (on the map). I'm
doing a plug-in that extends operation. The targetclass is
"net.refractions.udig.project.IMap" and I get back as the target a
MapImpl whose name is Map1. I was told that I could use
getEditManager().getEditFeature() on the target to get the selected
Feature... but it comes back as null!
Anyone who knows where it could have gone missing?
Jonas
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel