32 |
import javax.swing.SwingUtilities; |
import javax.swing.SwingUtilities; |
33 |
|
|
34 |
import org.apache.log4j.Logger; |
import org.apache.log4j.Logger; |
|
import org.opengis.feature.simple.SimpleFeature; |
|
35 |
import org.geotools.map.MapLayer; |
import org.geotools.map.MapLayer; |
36 |
|
import org.opengis.feature.simple.SimpleFeature; |
37 |
|
|
38 |
public class SearchResultFeature implements SearchResult { |
public class SearchResultFeature implements SearchResult { |
39 |
final static private Logger LOGGER = Logger |
final static private Logger LOGGER = Logger |
41 |
|
|
42 |
private final SimpleFeature feature; |
private final SimpleFeature feature; |
43 |
private final String title; |
private final String title; |
44 |
private final schmitzm.geotools.gui.JMapPane mapPane; |
private final schmitzm.geotools.gui.SelectableXMapPane mapPane; |
45 |
private final String inTitle; |
private final String inTitle; |
46 |
|
|
47 |
private final MapLayer mapLayer; |
private final MapLayer mapLayer; |
48 |
|
|
49 |
public SearchResultFeature(SimpleFeature feature, String title, String inTitle, |
public SearchResultFeature(SimpleFeature feature, String title, String inTitle, |
50 |
schmitzm.geotools.gui.JMapPane mapPane, MapLayer mapLayer) { |
schmitzm.geotools.gui.SelectableXMapPane mapPane, MapLayer mapLayer) { |
51 |
this.feature = feature; |
this.feature = feature; |
52 |
this.title = title; |
this.title = title; |
53 |
this.inTitle = inTitle; |
this.inTitle = inTitle; |