/[schmitzm]/branches/1.0-gt2-2.6/src/skrueger/geotools/selection/StyledLayerSelectionModelSynchronizer.java
ViewVC logotype

Diff of /branches/1.0-gt2-2.6/src/skrueger/geotools/selection/StyledLayerSelectionModelSynchronizer.java

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

revision 102 by alfonx, Fri May 8 12:10:42 2009 UTC revision 103 by mojays, Fri May 8 13:48:00 2009 UTC
# Line 8  import org.apache.log4j.Logger; Line 8  import org.apache.log4j.Logger;
8    
9  import skrueger.geotools.selection.StyledLayerSelectionModel;  import skrueger.geotools.selection.StyledLayerSelectionModel;
10    
11  public abstract class StyledLayerSelectionModelSynchronizer<E> implements PropertyChangeListener{  /**
12     * The {@link StyledLayerSelectionModelSynchronizer} is the super class for all
13     *
14     * @author mojays
15     *
16     * @param <E>
17     */
18    public abstract class StyledLayerSelectionModelSynchronizer<E extends StyledLayerSelectionModel<?>> implements PropertyChangeListener{
19          protected final Logger LOGGER = Logger.getLogger(this.getClass());          protected final Logger LOGGER = Logger.getLogger(this.getClass());
20                    
21            /** Flag to avoid event circles between {@link DpLayerVectorSelectionModel}            /** Flag to avoid event circles between {@link DpLayerVectorSelectionModel}
# Line 16  public abstract class StyledLayerSelecti Line 23  public abstract class StyledLayerSelecti
23            protected boolean selectionChangeCausedByMe = false;            protected boolean selectionChangeCausedByMe = false;
24            /** Holds the selection model of the layer to keep synchronized            /** Holds the selection model of the layer to keep synchronized
25             *  with the feature table. */             *  with the feature table. */
26            protected final StyledLayerSelectionModel<E> layerSelModel;            protected final E layerSelModel;
27    
28            /**            /**
29                   * Creates a new synchronizer                   * Creates a new synchronizer
# Line 24  public abstract class StyledLayerSelecti Line 31  public abstract class StyledLayerSelecti
31                   * @param layerSelModel                   * @param layerSelModel
32                   *            layer selection model to keep synchronized with                   *            layer selection model to keep synchronized with
33                   */                   */
34                  protected StyledLayerSelectionModelSynchronizer(                  protected StyledLayerSelectionModelSynchronizer(E layerSelModel) {
                                 StyledLayerSelectionModel<E> layerSelModel) {  
35    
36                          this.layerSelModel = layerSelModel;                          this.layerSelModel = layerSelModel;
37                  }                  }

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26