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; |
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 |
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++) { |