/[schmitzm]/branches/2.3.KECK/src/skrueger/geotools/selection/StyledFeatureLayerSelectionModel.java
ViewVC logotype

Diff of /branches/2.3.KECK/src/skrueger/geotools/selection/StyledFeatureLayerSelectionModel.java

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

revision 102 by alfonx, Fri May 8 11:23:16 2009 UTC revision 103 by mojays, Fri May 8 13:48:00 2009 UTC
# Line 26  import org.geotools.styling.Style; Line 26  import org.geotools.styling.Style;
26  import org.opengis.filter.Filter;  import org.opengis.filter.Filter;
27    
28  import schmitzm.geotools.feature.FeatureUtil;  import schmitzm.geotools.feature.FeatureUtil;
29    import skrueger.geotools.StyledFeatureCollectionInterface;
30    import skrueger.geotools.StyledFeatureSourceInterface;
31    
32  import com.vividsolutions.jts.geom.Envelope;  import com.vividsolutions.jts.geom.Envelope;
33    
34  /**  /**
35   * This manager takes care of every object selection for a {@link DpLayerVector}   * This manager holds a set of {@link Feature Features} which are <i>selected</i>
36   * in the several atlas components and informs the appropriate components     * in a {@link StyledMapInterface} ({@link StyledFeatureCollectionInterface} or
37   * to keep the selection synchronized.   * {@link StyledFeatureSourceInterface}).
  * <ul>  
  *   <li>Geographical map of the layer</li>  
  *   <li>Feature attribute table of the layer</li>  
  *   <li>Chart visualizations of the layer</li>  
  * </ul>  
38   * @author <a href="mailto:[email protected]">Martin Schmitz</a> (University of Bonn/Germany)   * @author <a href="mailto:[email protected]">Martin Schmitz</a> (University of Bonn/Germany)
39   */   */
40  public class StyledFeatureLayerSelectionModel extends StyledLayerSelectionModel<Feature> {  public class StyledFeatureLayerSelectionModel extends StyledLayerSelectionModel<Feature> {
41          /** A static logger for this class  */    /**
42    private static final Logger LOGGER = Logger.getLogger(StyledFeatureLayerSelectionModel.class);     * Creates a new selection model.
43    /** Holds the current selection as {@link Style}. */     * @param styledMap styled map the selection is controlled of
44    protected Style selectionMapStyle = null;     */
45    /** Holds the current selection as {@link Filter}. */    public StyledFeatureLayerSelectionModel(StyledFeatureCollectionInterface styledMap) {
46    protected Filter selectionFilter = null;      super(styledMap);
47    /** Holds the current selection as {@code ChartStyle}.    }
48     *  TODO: determine an appropriate type for the chart styling. */    
49    protected Object selectionChartStyle = null;    /**
50       * Creates a new selection model.
51       * @param styledMap styled map the selection is controlled of
52       */
53      public StyledFeatureLayerSelectionModel(StyledFeatureSourceInterface styledMap) {
54        super(styledMap);
55      }
56      
57      
58      
59    //***********  UNUSED STUFF  **************  
60      
61    //      /** A static logger for this class  */
62    //  private static final Logger LOGGER = Logger.getLogger(StyledFeatureLayerSelectionModel.class);
63    //  /** Holds the current selection as {@link Style}. */
64    //  protected Style selectionMapStyle = null;
65    //  /** Holds the current selection as {@link Filter}. */
66    //  protected Filter selectionFilter = null;
67    //  /** Holds the current selection as {@code ChartStyle}.
68    //   *  TODO: determine an appropriate type for the chart styling. */
69    //  protected Object selectionChartStyle = null;
70  //      //    
71  //  /**  //  /**
72  //   * Creates a new selection model.  //   * Creates a new selection model.

Legend:
Removed from v.102  
changed lines
  Added in v.103

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26