Extending ArcObjects  

Extending the Editing Framework

This topic is relevant for the following:
Product(s): ArcGIS Desktop: All
Version(s): 9.0, 9.1, 9.2, 9.3
Language(s): VB6, VC++
Experience level(s): Intermediate to advanced

The standard Editor toolbars and environment does a great job in solving most people's editing needs. Sometimes, however, it is necessary to create a custom tool that provides some missing functionality or links several operations together. This section demonstrates a number of custom object solutions for basic editing scenarios to illustrate how to extend the editing model.

Editing customizations typically fall into one of the following categories: macros, commands, tools, edit tasks, snap agents, feature inspectors, and extensions. This chapter focuses on how to use each category to solve specific editing problems. The customizations discussed, therefore, rely on the use of the editing framework within the ArcMap application and require the use of an ArcEditor license.

Using Macros

Using Macros

Using macros to perform editing customizations

Commands and Tools

Editor Commands and Tools

Introduction to creating and using commands and tools for the Editor menus, commandbars, and toolbars

Difference Command Example

An example of an Editor command that applies a difference operation to two features

Split At Intersection Tool Example

An example of an Editor tool that splits a polyline into two based on an intersection with a tracked line shape

Edit Tasks

About Edit Tasks

Introduction to creating custom edit tasks

Construct Point Edit Task

An example of an edit task which creates a new point feature at the end of an edit sketch

Snap Agents and Editor Extensions

About Snap Agents

Introduction to creating custom snap agents

About Editor Extensions

Introduction to creating extensions to the editing framework

Subtypes Snap Agent Example

An example of a snap agent that allows you to snap to subtypes of a feature when editing. This example also provides a dockable window to help manage the snapping properties, a command to show and hide the window, and an editor extension to tie all the custom classes together.

Feature Inspectors

Custom Feature Inspectors

Introduction to creating your own custom feature inspectors

Tabbed Feature Inspector Example

An example of a feature inspector that provides a tabbed form upon which users can view both the standard feature inspector and also a geodatabase raster image attribute.

Back to top