ESRI.ArcGIS.ADF
ESRI.ArcGIS.ADF.BaseClasses Namespace
See Also  Inheritance Hierarchy Send comments on this topic.
The BaseCommand and BaseTool base classes simplify the creation of custom commands and tools by providing a default implementation for each of the members of ICommand and ITool.  The ESRI.ArcGIS.Utility.BaseClasses (deprecated at 9.2) classes contained just the BaseCommand and the BaseTool base classes.  With the ESRI.ArcGIS.ADF.BaseClasses namespace, additional classes include the BaseCommandBar, BaseCustomGlobeLayer, BaseCustomLayer, BaseDynamicLayer, BaseMenu, and BaseToolbar. Using these base classes is the recommended way to create commands and tools for ArcGIS applications in .NET languages. You can create similar classes from first principles; however, you should find the base class technique to be a quicker, simpler, less error-prone method.  Instead of stubbing out each member and providing implementation code, you only have to override the members that your custom command or tool requires. The exception is ICommand.OnCreate; this member must be overridden in your derived class.

Classes

 ClassDescription
ClassBaseCommand An abstract class designed to provide an efficient way to create new custom command items. Inherit BaseCommand to create a new custom command.
ClassBaseCommandBar An abstract class for command bar implementations. Toolbar, menu and context menu are types of command bar.
ClassBaseCustomGlobeLayer An abstract base class for implementation of a custom globe layer
ClassBaseCustomLayer Summary description for clsCustomLayer.
ClassBaseDynamicLayer BaseDynamicLayer serves as a BaseClass for DynamicLayers.
ClassBaseMenu An abstract class designed to provide an efficient and script-like way to create new custom menu.
ClassBaseTool 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.
ClassBaseToolbar An abstract class designed to provide an efficient and script-like way to create new custom toolbar.

See Also

© 2010 All Rights Reserved.