The layer has the two things you need:
- a FeatureSource (you can perform any query you want here to get features)
- a Filter (this is a query that the user defined when the selected stuff)

Jesse has a code example here:
- 
tutorials\net.refractions.udig.tutorials.examples\src\net\refractions\udig\tutorials\examples\GetSelectedFeaturesFromLayer.java

Jody

On Sat, May 9, 2009 at 6:57 AM, Milan Dinic <[email protected]> wrote:
> Hi,
>
> I'm developing plugin for uDig1.1 platform and I need to get list of
> selected items from map.
>
> I'm not sure where to fetch this list, in catalog plugin or in
> renderer, i'm guessing that renderer is the right choice.
>
> i found a few threads that are similar to this subject (e.g.
> http://www.mail-archive.com/[email protected]/msg10953.html)
> but did not manage to use the code that is provided there.
>
> Would anyone be so kind to give me some hint how to achieve my goal or
> just give me some reference that would lead me to a solution.
>
> Thanks
> _______________________________________________
> 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

Reply via email to