To select a feature choose one of the edit tools. The 3rd to last
icon is the primary edit tool. and select a feature. Now you should
be able to right click and do your operation.
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