Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Get feature on mousePressed method&In-Reply-To=983EAD4B-3EFD-493F-9FDC-732E2BD4E7F3@xxxxxxxxxxxxxx

Sure; that is the feature that has been selected with an edit tool; so if that is what you want you are good to go. You will also find that there are a bunch of edit commands you can call to change the attributes and etc... for the current edit feature.

Cheers,
Jody

Alessandro Sferrazza wrote:
Thank you all for your answers are very interesting, but yesterday I
tried this code:

Feature f = map.getEditManager().GetEditFeature();

It seems to work! In object f I have the correct features.
What do you think? is correct use these methods?

Regards

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



Back to the top