/[schmitzm]/branches/2.3.KECK/src/skrueger/geotools/selection/StyledLayerSelectionModelSynchronizer.java
ViewVC logotype

Diff of /branches/2.3.KECK/src/skrueger/geotools/selection/StyledLayerSelectionModelSynchronizer.java

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

branches/1.0-gt2-2.6/src/skrueger/geotools/selection/StyledLayerSelectionModelSynchronizer.java revision 315 by mojays, Wed Aug 26 11:03:27 2009 UTC branches/2.3-KECK/src/skrueger/geotools/selection/StyledLayerSelectionModelSynchronizer.java revision 1102 by alfonx, Thu Oct 14 09:44:10 2010 UTC
# Line 25  Line 25 
25   *   *
26   * Contributors:   * Contributors:
27   *     Martin O. J. Schmitz - initial API and implementation   *     Martin O. J. Schmitz - initial API and implementation
28   *     Stefan A. Krüger - additional utility classes   *     Stefan A. Tzeggai - additional utility classes
29   ******************************************************************************/   ******************************************************************************/
30  package skrueger.geotools.selection;  package skrueger.geotools.selection;
31    
# 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.315  
changed lines
  Added in v.1102

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26