/[schmitzm]/trunk/src/skrueger/geotools/StyledFeatureCollectionTableModel.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/StyledFeatureCollectionTableModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 111 by alfonx, Tue May 12 23:33:14 2009 UTC revision 112 by mojays, Wed May 13 09:18:53 2009 UTC
# Line 160  public class StyledFeatureCollectionTabl Line 160  public class StyledFeatureCollectionTabl
160          setFeatureSource(null, null, null);          setFeatureSource(null, null, null);
161        else {        else {
162          FeatureCollection fc = map.getGeoObject();          FeatureCollection fc = map.getGeoObject();
163          String fcName = fc.getFeatureType().getTypeName();          String fcName = fc.getSchema().getTypeName();
164          FeatureSource fs = new MemoryDataStore(fc).getFeatureSource(fcName);          FeatureSource fs = new MemoryDataStore(fc).getFeatureSource(fcName);
165          setFeatureSource(fs, map.getAttributeMetaDataMap(), filter);          setFeatureSource(fs, map.getAttributeMetaDataMap(), filter);
166        }        }

Legend:
Removed from v.111  
changed lines
  Added in v.112

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26