com.esri.arcgis.editor
Interface IEditor2

All Superinterfaces:
IEditor, Serializable
All Known Subinterfaces:
IEditor3
All Known Implementing Classes:
Editor, IEditor2Proxy, IEditor3Proxy

public interface IEditor2
extends IEditor, Serializable

Provides access to methods that extend the IEditor interface. The additional members control the behavior of the auxiliary selection anchor.

Superseded By

IEditor3

Remarks

IEditor2 provides access to properties to control the location of the auxiliary selection anchor available when using the Scale and Rotate tools.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 IAnchorPoint getAuxiliarySelectionAnchor()
          The auxiliary selection anchor.
 boolean isAuxiliarySelectionAnchorEnabled()
          Indicates whether the selection anchor is drawn.
 void resetAuxiliarySelectionAnchorLocation()
          Places the auxiliary selection anchor near the main anchor.
 void setAuxiliarySelectionAnchorEnabled(boolean auxSelAnchorEnabled)
          Indicates whether the selection anchor is drawn.
 
Methods inherited from interface com.esri.arcgis.editor.IEditor
abortOperation, createSearchShape, delayEvents, enableUndoRedo, findExtension, getCurrentTask, getDisplay, getEditSelection, getEditState, getEditWorkspace, getLocation, getMap, getParent, getScratchWorkspace, getSelectionAnchor, getSelectionCount, getTask, getTaskCount, hasEdits, invertAgent, redoOperation, searchSelection, setCurrentTaskByRef, startEditing, startOperation, stopEditing, stopOperation, undoOperation
 

Method Detail

getAuxiliarySelectionAnchor

IAnchorPoint getAuxiliarySelectionAnchor()
                                         throws IOException,
                                                AutomationException
The auxiliary selection anchor.

Remarks

The AuxiliarySelectionAnchor is a second selection anchor that can be used in tandem with the Editor's SelectionAnchor. The AuxiliarySelectionAnchor is represented as a small '+' sign on the display.

In some cases you may want to rotate features around the Editor's selection anchor and snap them to other feature geometries. Like the SelectionAnchor, the AuxiliarySelectionAnchor honors any active snap agents.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.display.IAnchorPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAuxiliarySelectionAnchorEnabled

boolean isAuxiliarySelectionAnchorEnabled()
                                          throws IOException,
                                                 AutomationException
Indicates whether the selection anchor is drawn.

Remarks

The auxiliary selection anchor can be displayed at any point; however, it can only be used while using the Editor's Scale or Rotate tools.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
The auxSelAnchorEnabled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAuxiliarySelectionAnchorEnabled

void setAuxiliarySelectionAnchorEnabled(boolean auxSelAnchorEnabled)
                                        throws IOException,
                                               AutomationException
Indicates whether the selection anchor is drawn.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
auxSelAnchorEnabled - The auxSelAnchorEnabled (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resetAuxiliarySelectionAnchorLocation

void resetAuxiliarySelectionAnchorLocation()
                                           throws IOException,
                                                  AutomationException
Places the auxiliary selection anchor near the main anchor.

Remarks

Resets the auxiliary selection anchor to the default location. The anchor location is also reset whenever the feature selection changes.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.