OpenLayers OpenLayers

Changeset 7388

Show
Ignore:
Timestamp:
06/19/08 18:36:54 (5 months ago)
Author:
tschaub
Message:

Uniform interface for activating/deactivating strategies.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/vector-behavior/lib/OpenLayers/Strategy.js

    r7178 r7388  
    4343     
    4444    /** 
     45     * Method: activate 
     46     * Activate the strategy.  Register any listeners, do appropriate setup. 
     47     */ 
     48    activate: function() { 
     49    }, 
     50     
     51    /** 
     52     * Method: deactivate 
     53     * Deactivate the strategy.  Unregister any listeners, do appropriate 
     54     *     tear-down. 
     55     */ 
     56    deactivate: function() { 
     57    }, 
     58     
     59    /** 
    4560     * Method: update 
    4661     * Set up strategy with regard to reading new batches of remote data.