Class EditContext
Object
   |
   +--ToolBase
         |
         +--EditContext
   
   - class 
   EditContext
   
      
- extends ToolBase 
   
  
   
   
   Defined in EditContext.js
   
   
   
   
      
    
   
   
   
    
   
 
| 
Constructor Summary | 
   
      
	 
	    EditContext 
	 
	 (toolNode, model)
      
       
                 
      Tool which manipulates the Layer list of a Web Map Context document.
       | 
 
| 
Method Summary | 
   
      
	 
	     void
	 
       | 
      
	 
	    
	       addLayerFromCat(featureName)
	 
	  
	           
	 Adds a new layer to the end of the context document
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       addNodeToModel(featureName)
	 
	  
	           
	 Adds a new layer to the end of the context document
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       deleteNode(objRef, featureName)
	 
	  
	           
	 Deletes layers from a context doc
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       moveNode(objRef, featureName)
	 
	  
	           
	 Reorders layers in the context document
       | 
   
 
 
   
   
   
   
   stylesheet
   Object stylesheet
   
   
   
    
EditContext
EditContext(toolNode, model)
   Tool which manipulates the Layer list of a Web Map Context document.
   
   Parameters:
   
     toolNode -   The widget's XML object node from the configuration document.  
     
   
     model -        The model object that this widget belongs to.
     
   
   
   
   
   addLayerFromCat
   void addLayerFromCat(featureName)
   
      Adds a new layer to the end of the context document
   
   
   
   
   Parameters:
   
     featureName -  the name of the feature to be added      
      
 
   
   
   
   
   
   
   
   
   
   addNodeToModel
   void addNodeToModel(featureName)
   
      Adds a new layer to the end of the context document
   
   
   
   
   Parameters:
   
     featureName -  the name of the feature to be added      
      
 
   
   
   
   
   
   
   
   
   
   deleteNode
   void deleteNode(objRef, featureName)
   
      Deletes layers from a context doc
   
   
   
   
   Parameters:
   
     objRef -  Pointer to this object.      
      
 
   
   
   
   
   
   
   
   
   
   moveNode
   void moveNode(objRef, featureName)
   
      Reorders layers in the context document
   
   
   
   
   Parameters:
   
     objRef -  Pointer to this object.      
      
 
   
   
   
   
   
   
   
   
Documentation generated by 
JSDoc on Tue Aug 21 08:12:28 2007