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

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

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

branches/1.0-gt2-2.6/src/skrueger/geotools/selection/StyledLayerSelectionModel.java revision 318 by alfonx, Wed Aug 26 13:33:32 2009 UTC branches/2.0-RC2/src/skrueger/geotools/selection/StyledLayerSelectionModel.java revision 621 by alfonx, Thu Jan 28 10:06:05 2010 UTC
# Line 52  import java.util.Vector; Line 52  import java.util.Vector;
52  import javax.swing.event.EventListenerList;  import javax.swing.event.EventListenerList;
53    
54  import org.apache.log4j.Logger;  import org.apache.log4j.Logger;
55  import org.geotools.feature.SimpleFeature;  import org.opengis.feature.simple.SimpleFeature;
56    
57  import schmitzm.swing.event.PropertyChangeEmitter;  import schmitzm.swing.event.PropertyChangeEmitter;
58  import skrueger.geotools.StyledLayerInterface;  import skrueger.geotools.StyledLayerInterface;
# Line 79  public abstract class StyledLayerSelecti Line 79  public abstract class StyledLayerSelecti
79    protected final HashSet<E> selectionObjects;    protected final HashSet<E> selectionObjects;
80    
81    /** Holds the styled map whose selection is managed by this class. */    /** Holds the styled map whose selection is managed by this class. */
82    protected final StyledLayerInterface<?> styledLayer;    private final StyledLayerInterface<?> styledLayer;
83    
84    
85    /** Indicates whether a selection change is a part of multiple    /** Indicates whether a selection change is a part of multiple
# Line 237  public abstract class StyledLayerSelecti Line 237  public abstract class StyledLayerSelecti
237     * Removes a listener from the listener list. Only alias for {@link #removeListener(PropertyChangeListener)}.     * Removes a listener from the listener list. Only alias for {@link #removeListener(PropertyChangeListener)}.
238     * @param listener a listener     * @param listener a listener
239     */     */
240    public void removeSelectionListener(StyledLayerSelectionModelSynchronizer<StyledLayerSelectionModel<E>> listener) {    public boolean removeSelectionListener(StyledLayerSelectionModelSynchronizer<StyledLayerSelectionModel<E>> listener) {
241      this.removeListener(listener);      return this.removeListener(listener);
242    }    }
243    
244    public StyledLayerInterface<?> getStyledLayer() {
245            return styledLayer;
246    }
247    
248    
249  }  }

Legend:
Removed from v.318  
changed lines
  Added in v.621

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26