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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 103 - (hide annotations)
Fri May 8 13:48:00 2009 UTC (15 years, 9 months ago) by mojays
Original Path: trunk/src/skrueger/geotools/selection/StyledLayerSelectionModelSynchronizer.java
File MIME type: text/plain
File size: 1146 byte(s)


1 alfonx 96 package skrueger.geotools.selection;
2    
3     import java.beans.PropertyChangeListener;
4    
5     import javax.swing.ListSelectionModel;
6    
7 alfonx 97 import org.apache.log4j.Logger;
8    
9 alfonx 96 import skrueger.geotools.selection.StyledLayerSelectionModel;
10    
11 mojays 103 /**
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 alfonx 97 protected final Logger LOGGER = Logger.getLogger(this.getClass());
20 alfonx 96
21     /** Flag to avoid event circles between {@link DpLayerVectorSelectionModel}
22     * and {@link ListSelectionModel} of the feature table. */
23     protected boolean selectionChangeCausedByMe = false;
24     /** Holds the selection model of the layer to keep synchronized
25     * with the feature table. */
26 mojays 103 protected final E layerSelModel;
27 alfonx 96
28     /**
29     * Creates a new synchronizer
30     *
31     * @param layerSelModel
32     * layer selection model to keep synchronized with
33     */
34 mojays 103 protected StyledLayerSelectionModelSynchronizer(E layerSelModel) {
35 alfonx 96
36     this.layerSelModel = layerSelModel;
37     }
38    
39     }

Properties

Name Value
svn:eol-style native
svn:keywords Id
svn:mime-type text/plain

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26