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

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

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

revision 491 by mojays, Wed Aug 26 11:03:27 2009 UTC revision 492 by alfonx, Fri Oct 23 13:49:49 2009 UTC
# Line 62  public abstract class StyledLayerSelecti Line 62  public abstract class StyledLayerSelecti
62          /**          /**
63           * Allows to enable/disable the Synchronizer's functionality it.           * Allows to enable/disable the Synchronizer's functionality it.
64           */           */
65          private boolean enabled = true;          private volatile boolean enabled = true;
66    
67          /**          /**
68           * Creates a new synchronizer           * Creates a new synchronizer
# Line 83  public abstract class StyledLayerSelecti Line 83  public abstract class StyledLayerSelecti
83           *            <code>true</code> or <code>false</code>           *            <code>true</code> or <code>false</code>
84           */           */
85          public void setEnabled(boolean enabled) {          public void setEnabled(boolean enabled) {
86                    if (enabled == false && this.enabled==true) {
87                            LOGGER.debug("disabling the synchronizer map -> ");
88                    } else if (enabled == true && this.enabled==false)  {
89                            LOGGER.debug("enable the synchronizer map -> ");
90                    }
91                  this.enabled = enabled;                  this.enabled = enabled;
92          }          }
93    

Legend:
Removed from v.491  
changed lines
  Added in v.492

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26