ESRI.ArcGIS.ADF
BaseTool Class
Members  See Also  Send comments on this topic.
ESRI.ArcGIS.ADF.BaseClasses Namespace : BaseTool Class




An abstract class designed to provide an efficient way to create new tool classes for ArcGIS. Inherit BaseTool to create a new custom tool. This class derives from the BaseCommand class.

Syntax

Visual Basic (Declaration) 
<ObsoleteAttribute("The assembly containing this class is obsolete.  Reference the ESRI.ArcGIS.ADF.Local assembly instead.")>
Public MustInherit Class BaseTool 
   Inherits BaseCommand
   Implements ICommand, ITool 
Visual Basic (Usage)Copy Code
Dim instance As BaseTool
C# 
[ObsoleteAttribute("The assembly containing this class is obsolete.  Reference the ESRI.ArcGIS.ADF.Local assembly instead.")]
public abstract class BaseTool : BaseCommand, ICommand, ITool  

Remarks

Note to inheritors: You must override the OnCreate method, inherited from BaseCommand. Generally you will also override the OnMouseDown, OnMouseMove and/or OnMouseUp methods of the BaseTool and in those members perform the main actions of your custom tool class.

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.ADF.BaseClasses.BaseCommand
      ESRI.ArcGIS.ADF.BaseClasses.BaseTool

See Also

© 2010 All Rights Reserved.