/[schmitzm]/branches/2.0-RC2/src/skrueger/geotools/selection/StyledLayerSelectionModelSynchronizer.java
ViewVC logotype

Diff of /branches/2.0-RC2/src/skrueger/geotools/selection/StyledLayerSelectionModelSynchronizer.java

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

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

Legend:
Removed from v.97  
changed lines
  Added in v.127

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26