Class ToolBase
Object
   |
   +--ToolBase
   
   - 
      Direct Known Subclasses: 
      
 - 
                MergeModels, AoiMouseHandler, Timer, ZoomToAoi, Caps2Context, EditContext, WebServiceRequest, MovieLoop, History, FeatureSelectHandler, EditSLD
      
 
   
   
   - class 
   ToolBase
   
 
   
   
   Defined in ToolBase.js
Author: Mike Adair mike.adairATccrs.nrcan.gc.ca  
   
   
   
   
      
    
   
   
| 
Constructor Summary | 
   
      
	 
	    ToolBase 
	 
	 (toolNode, model)
      
       
                 
      Base Tool object that all Tools extend.
       | 
 
| 
Method Summary | 
   
      
	 
	     void
	 
       | 
      
	 
	    
	       initMouseHandler(toolRef)
	 
	  
	           
	 Initialize the mouseHandler property to point to the object.
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       initTargetModel(toolRef)
	 
	  
	           
	 Initialize the targetModel property to point to the object.
       | 
   
   
   
   
   
   model
   Object model
   
   
   
   
   toolNode
   Object toolNode
   
   
   
    
ToolBase
ToolBase(toolNode, model)
   Base Tool object that all Tools extend.
   
   Parameters:
   
     toolNode -  The tool node from the Config XML file.  
     
   
     model -     The widget object which created this tool.
     
   
   
   
   
Author: Mike Adair mike.adairATccrs.nrcan.gc.ca  
   
   initMouseHandler
   void initMouseHandler(toolRef)
   
      Initialize the mouseHandler property to point to the object.  This happens
 as an init listener to ensure that the referenced model has been created.
   
   
   
   
   Parameters:
   
     toolRef -  Pointer to this object.      
      
 
   
   
   
   
   
   
   
   
   
   initTargetModel
   void initTargetModel(toolRef)
   
      Initialize the targetModel property to point to the object.  This happens
 as an init listener to ensure that the referenced model has been created.
   
   
   
   
   Parameters:
   
     toolRef -  Pointer to this object.      
      
 
   
   
   
   
   
   
   
   
Documentation generated by 
JSDoc on Tue Aug 21 08:12:28 2007