|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditLocation
Provides access to the Editor's Location property.
This interface was added specifically to allow alternative input of the editor's location property.
Generally, the ::Location() of the editor is set using the current tool via right click(ing) within the display.
However, issues arise when attempting to co-create and show the edit sketch context menu (as an external AO developer). This context menu uses the location of the editor to hit test for a valid geometry. If no valid sketch geometry is found, the context shown will fall back to the default for the display.
com.esri.arcgis.editor.IMxDocument
,
IEditor.getLocation()
Method Summary | |
---|---|
IPoint |
getLocation()
The last known location of the mouse. |
void |
setLocationByRef(IPoint loc)
The last known location of the mouse. |
Method Detail |
---|
IPoint getLocation() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IMxDocument
,
IEditor.getLocation()
void setLocationByRef(IPoint loc) throws IOException, AutomationException
loc
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IMxDocument
,
IEditor.getLocation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |