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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 97 - (hide annotations)
Fri May 8 12:10:42 2009 UTC (15 years, 9 months ago) by alfonx
Original Path: trunk/src/skrueger/geotools/selection/StyledLayerSelectionModelSynchronizer.java
File MIME type: text/plain
File size: 1041 byte(s)
(Hacking Session in action - atomic commits can't be ensured)
- Remodeling the SelectionModels
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     public abstract class StyledLayerSelectionModelSynchronizer<E> implements PropertyChangeListener{
12 alfonx 97 protected final Logger LOGGER = Logger.getLogger(this.getClass());
13 alfonx 96
14     /** Flag to avoid event circles between {@link DpLayerVectorSelectionModel}
15     * and {@link ListSelectionModel} of the feature table. */
16     protected boolean selectionChangeCausedByMe = false;
17     /** Holds the selection model of the layer to keep synchronized
18     * with the feature table. */
19     protected final StyledLayerSelectionModel<E> layerSelModel;
20    
21     /**
22     * Creates a new synchronizer
23     *
24     * @param layerSelModel
25     * layer selection model to keep synchronized with
26     */
27     protected StyledLayerSelectionModelSynchronizer(
28     StyledLayerSelectionModel<E> layerSelModel) {
29    
30     this.layerSelModel = layerSelModel;
31     }
32    
33     }

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