|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditEvents
Provides access to editor events. Implement it to listen for specific events that occur during an edit session.
When editing geometric network features, different combinations of edit events may be fired depending on the edit that is being performed. For more infomation on geometric networks and network features refer to the IGeometricNetwork, INetworkFeature and IFeature interfaces. The following is a breakdown of when the OnCreateFeature, OnChangeFeature and OnDeleteFeature edit events are fired for specific geometric network editing scenarios. The events are listed in the order in which they are fired.
A standalone junction created:
A junction is created, snapped along a complex edge:
A junction is created, snapped along a simple edge:
A junction subsumes an orphan junction connected to an edge(s):
An edge is created:
An edge is created which with a connectivity rule (IConnectivityRule) that has a default junction specified:
A junction is moved (may or may not have connected edge(s)):
An endpoint orphan junction is deleted:
An endpoint junction is deleted:
A midspan orphan junction is deleted:
A midspan junction is deleted:
An edge is deleted:
ISnapEnvironment
,
IEditProperties
,
IEditTask.activate(com.esri.arcgis.editor.IEditor, com.esri.arcgis.editor.IEditTask)
,
IEditor
,
IEditLayers
,
IEditTask.deactivate()
,
IEditAttributeProperties
,
IEditTask.onFinishSketch()
,
IEditEvents2
,
IDatasetEdit
,
IDatasetEditInfo
,
IEditTask.onDeleteSketch()
,
IEditTask.getName()
,
IEditEvents
,
Editor
,
IEditSketch
Method Summary | |
---|---|
void |
afterDrawSketch(IEditEventsAfterDrawSketchEvent theEvent)
Called after the edit sketch is drawn. |
void |
onChangeFeature(IEditEventsOnChangeFeatureEvent theEvent)
Called when features are modified. |
void |
onConflictsDetected(IEditEventsOnConflictsDetectedEvent theEvent)
Called when editing conflicts are detected during save. |
void |
onCreateFeature(IEditEventsOnCreateFeatureEvent theEvent)
Called when new features are created. |
void |
onCurrentLayerChanged(IEditEventsOnCurrentLayerChangedEvent theEvent)
Called when the current layer changes. |
void |
onCurrentTaskChanged(IEditEventsOnCurrentTaskChangedEvent theEvent)
Called when the current task changes. |
void |
onDeleteFeature(IEditEventsOnDeleteFeatureEvent theEvent)
Called when features are deleted. |
void |
onRedo(IEditEventsOnRedoEvent theEvent)
Called when RedoOperation is called. |
void |
onSelectionChanged(IEditEventsOnSelectionChangedEvent theEvent)
Called when the selection changes. |
void |
onSketchFinished(IEditEventsOnSketchFinishedEvent theEvent)
Called when the edit sketch is finished. |
void |
onSketchModified(IEditEventsOnSketchModifiedEvent theEvent)
Called when the edit sketch is modified. |
void |
onStartEditing(IEditEventsOnStartEditingEvent theEvent)
Called when editing begins. |
void |
onStopEditing(IEditEventsOnStopEditingEvent theEvent)
Called when editing ends. |
void |
onUndo(IEditEventsOnUndoEvent theEvent)
Called when UndoOperation is called. |
Method Detail |
---|
void onSelectionChanged(IEditEventsOnSelectionChangedEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onCurrentLayerChanged(IEditEventsOnCurrentLayerChangedEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onCurrentTaskChanged(IEditEventsOnCurrentTaskChangedEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onSketchModified(IEditEventsOnSketchModifiedEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onSketchFinished(IEditEventsOnSketchFinishedEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void afterDrawSketch(IEditEventsAfterDrawSketchEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onStartEditing(IEditEventsOnStartEditingEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onStopEditing(IEditEventsOnStopEditingEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onConflictsDetected(IEditEventsOnConflictsDetectedEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onUndo(IEditEventsOnUndoEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onRedo(IEditEventsOnRedoEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onCreateFeature(IEditEventsOnCreateFeatureEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onChangeFeature(IEditEventsOnChangeFeatureEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onDeleteFeature(IEditEventsOnDeleteFeatureEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |