Here is an example for getting the selected features: http://svn.refractions.net/udig/udig/trunk/tutorials/net.refractions.udig.tutorials.examples/src/net/refractions/udig/tutorials/examples/GetSelectedFeaturesFromLayer.java
The example uses featureSource.getFeatures(query); however you can use featureSource.getFeatures() to retrieve everything. Jody On Thu, Oct 21, 2010 at 2:12 AM, Alberto Debiasi <debiasi.albe...@gmail.com> wrote: > yes, it wil be very useful for me. > > Thanks!! > > 2010/10/20 Jody Garnett <jody.garn...@gmail.com> >> >> The features in the table view are those available for the current layer. >> >> The table view watches the workbench; and when a layer is selected it does >> its best to show the contents of that layer. >> The reason getSelection() is available is that the table view is a control >> for the user to change what is selected for the layer. >> >> Do you need a hand getting the features from a layer? >> >> Jody >> >> On 20/10/2010, at 7:49 PM, alcesgabbo wrote: >> >> > >> > hello everybody, >> > >> > i'm a beginner of UDIG and I've this problem: >> > >> > I'm developing a plugin for udig. This plugin should access to the >> > features >> > inside the table "TableView". (for example a function takes in input a >> > list >> > of features and it plots a chart as output) >> > >> > I would like to know how can i get the list of the feature contained in >> > the >> > ViewPart: "net.refractions.udig.tool.select.TableView"; >> > >> > inside this class there is "FeatureTableControl table;" containing >> > "FeatureCollection features;", but i can't access to this class. >> > >> > the only useful method to access to the features is getSelection(), but >> > it >> > returns only the selected feature . >> > >> > Thanks >> > >> > -- >> > View this message in context: >> > http://udig-devel.19327.n5.nabble.com/how-to-access-to-FeatureTableControl-of-TableView-tp3228257p3228257.html >> > Sent from the udig-devel mailing list archive at Nabble.com. >> > _______________________________________________ >> > 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 > > > _______________________________________________ > 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