/[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 127 - (hide annotations)
Sat May 30 14:29:58 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: 1083 byte(s)
Many many many new JFreeChart stuff (selection panel and renderer, etc.)
- schmitzm.jfree.chart.SelectableChartPanel
- schmitzm.jfree.chart.ChartMouseSelectionTracker
- schmitzm.jfree.chart.selection.*
- schmitzm.jfree.chart.renderer.*
Plus: Imports organized!
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 mojays 103 /**
10     * The {@link StyledLayerSelectionModelSynchronizer} is the super class for all
11     *
12     * @author mojays
13     *
14     * @param <E>
15     */
16     public abstract class StyledLayerSelectionModelSynchronizer<E extends StyledLayerSelectionModel<?>> implements PropertyChangeListener{
17 alfonx 97 protected final Logger LOGGER = Logger.getLogger(this.getClass());
18 alfonx 96
19     /** Flag to avoid event circles between {@link DpLayerVectorSelectionModel}
20     * and {@link ListSelectionModel} of the feature table. */
21     protected boolean selectionChangeCausedByMe = false;
22     /** Holds the selection model of the layer to keep synchronized
23     * with the feature table. */
24 mojays 103 protected final E layerSelModel;
25 alfonx 96
26     /**
27     * Creates a new synchronizer
28     *
29     * @param layerSelModel
30     * layer selection model to keep synchronized with
31     */
32 mojays 103 protected StyledLayerSelectionModelSynchronizer(E layerSelModel) {
33 alfonx 96
34     this.layerSelModel = layerSelModel;
35     }
36    
37     }

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