com.esri.arcgis.editor
Interface IEditTool

All Superinterfaces:
Serializable
All Known Implementing Classes:
EditTool, IEditToolProxy

public interface IEditTool
extends Serializable

Provides access to events triggered by the ArcMap Editor's edit tool.

Remarks

This is the default interface used to tie into events thrown by the EditTool.

Example:

 

Product Availability

Available with ArcGIS Desktop.

See Also:
ISnapEnvironment, ICommand, IEditProperties, IEditTask.activate(com.esri.arcgis.editor.IEditor, com.esri.arcgis.editor.IEditTask), IEditor, IEditLayers, IEditTask.deactivate(), IEditAttributeProperties, IEditEvents2, IEditTask.onFinishSketch(), IDatasetEdit, IDatasetEditInfo, IEditTask.onDeleteSketch(), IEditTask.getName(), IEditEvents, Editor, IEditSketch

Method Summary
 Object getEventSource()
          The event source for the edit tool.
 

Method Detail

getEventSource

Object getEventSource()
                      throws IOException,
                             AutomationException
The event source for the edit tool.

Remarks

Use this method to tie into the event source for the EditTool.

This event source (IEditToolEvents) broadcasts events in response to the user moving this tool across the map while having the left mouse button depressed.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ISnapEnvironment, ICommand, IEditProperties, IEditTask.activate(com.esri.arcgis.editor.IEditor, com.esri.arcgis.editor.IEditTask), IEditor, IEditLayers, IEditTask.deactivate(), IEditAttributeProperties, IEditEvents2, IEditTask.onFinishSketch(), IDatasetEdit, IDatasetEditInfo, IEditTask.onDeleteSketch(), IEditTask.getName(), IEditEvents, Editor, IEditSketch