/[schmitzm]/branches/2.0-GP14/src/skrueger/geotools/StyledFS.java
ViewVC logotype

Diff of /branches/2.0-GP14/src/skrueger/geotools/StyledFS.java

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

revision 419 by alfonx, Thu Aug 27 09:10:10 2009 UTC revision 420 by alfonx, Thu Oct 1 20:22:48 2009 UTC
# Line 35  import java.io.IOException; Line 35  import java.io.IOException;
35  import java.net.URL;  import java.net.URL;
36  import java.util.Date;  import java.util.Date;
37  import java.util.HashMap;  import java.util.HashMap;
 import java.util.Map;  
38  import java.util.Random;  import java.util.Random;
39    
40  import javax.swing.ImageIcon;  import javax.swing.ImageIcon;
# Line 81  public class StyledFS implements StyledF Line 80  public class StyledFS implements StyledF
80    
81          private File sldFile;          private File sldFile;
82    
83          private HashMap<Integer, AttributeMetaData> map;          private AttributeMetadataMap map;
84    
85          /**          /**
86           * This class enables a non Atlas context to use the Atlas LayerPanel           * This class enables a non Atlas context to use the Atlas LayerPanel
# Line 226  public class StyledFS implements StyledF Line 225  public class StyledFS implements StyledF
225          /**          /**
226           *           *
227           */           */
228          public Map<Integer, AttributeMetaData> getAttributeMetaDataMap() {          public AttributeMetadataMap getAttributeMetaDataMap() {
229                  if (map == null) {                  if (map == null) {
230    
231                          map = new HashMap<Integer, AttributeMetaData>();                          map = new AttributeMetadataMap();
232    
233                          // Leaving out the first one, it will be the_geom                          // Leaving out the first one, it will be the_geom
234                          for (int i = 1; i < fs.getSchema().getAttributeCount(); i++) {                          for (int i = 1; i < fs.getSchema().getAttributeCount(); i++) {

Legend:
Removed from v.419  
changed lines
  Added in v.420

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26