com.esri.arcgis.editor
Class DimensionEditExtension

java.lang.Object
  extended by com.esri.arcgis.editor.DimensionEditExtension
All Implemented Interfaces:
IDimensionEditExtension, IEditEvents, IEditEvents2, IEditSketchExtension, com.esri.arcgis.interop.RemoteObjRef, IExtension, ISupportErrorInfo, java.io.Serializable, java.util.EventListener

public class DimensionEditExtension
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IExtension, IDimensionEditExtension, IEditEvents, IEditEvents2, IEditSketchExtension, ISupportErrorInfo

COM Class 'DimensionEditExtension'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriEditor.olb'

Description 'An editor extension for creating and editing dimension features.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IExtension
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy
 
Fields inherited from interface com.esri.arcgis.editor.IDimensionEditExtension
IID, IID1ff3afed_ee05_11d3_9f7a_00c04f6bddd9, xxDummy
 
Fields inherited from interface com.esri.arcgis.editor.IEditEvents
IID, IID44276913_98c1_11d1_8464_0000f875b9c6, xxDummy
 
Fields inherited from interface com.esri.arcgis.editor.IEditEvents2
IID, IID910794b0_106f_4b0e_a102_0c47b8d0fdfc, xxDummy
 
Fields inherited from interface com.esri.arcgis.editor.IEditSketchExtension
IID, IIDcdff8835_dec8_433f_8ef7_5b754165d168, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
DimensionEditExtension()
          Constructs a DimensionEditExtension using ArcGIS Engine.
DimensionEditExtension(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DimensionEditExtension theDimensionEditExtension = (DimensionEditExtension) obj;
 
Method Summary
 void activate(IEditor editor)
          Called when the sketch extension is about to be used.
 void afterDrawSketch(IEditEventsAfterDrawSketchEvent theEvent)
          Called after the edit sketch is drawn.
 boolean applies(IEditor editor)
          Indicates whether this extension applies to the current edit environment.
 void beforeStopEditing(IEditEvents2BeforeStopEditingEvent theEvent)
          Fired before StopEditing happens.
 void beforeStopOperation(IEditEvents2BeforeStopOperationEvent theEvent)
          Called before StopOperation is called.
 void beforeStoreFeature(IFeature feature, IGeometry geometry)
          Lets the extension know the feature is about to be stored.
 IDisplayFeedback createFeedback()
          Called when a new feedback is needed.
 IGeometry createSketchGeometry(IFeature feature)
          The geometry that will be used in the sketch when modifying a feature.
 void deactivate()
          Called when the sketch extension is no longer needed.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCreateStyleID()
          The style id of newly created dimension features.
 IEnumDimensionConstructor getDimensionConstructors()
          The dimension constructors for creating new dimensions.
 IEditor getEditor()
          The editor application extension.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the extension.
 int getSketchGeometryType()
          The geometry type used for the edit sketch when creating new features.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isCanDeleteVertices()
          Indicates whether the sketch allows the deleting of vertices.
 boolean isCanInsertVertices()
          Indicates whether the sketch allows the inserting of additional vertices.
 boolean isCanMoveVertices()
          Indicates whether the sketch allows the moving of vertices.
 boolean isDimensionTarget()
          Indicates if a dimension feature class is the current editor target.
 boolean isHasFeedback()
          Indicates whether the SketchExtension will use a custom feedback.
 void onAbort(IEditEvents2OnAbortEvent theEvent)
          Called when AbortOperation is called.
 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 onCurrentZChanged(IEditEvents2OnCurrentZChangedEvent theEvent)
          Called when the CurrentZ changes.
 void onDeleteFeature(IEditEventsOnDeleteFeatureEvent theEvent)
          Called when features are deleted.
 void onRedo(IEditEventsOnRedoEvent theEvent)
          Called when RedoOperation is called.
 void onSaveEdits(IEditEvents2OnSaveEditsEvent theEvent)
          Called when edits are saved.
 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 onStartOperation(IEditEvents2OnStartOperationEvent theEvent)
          Called when StartOperation is called.
 void onStopEditing(IEditEventsOnStopEditingEvent theEvent)
          Called when editing ends.
 void onStopOperation(IEditEvents2OnStopOperationEvent theEvent)
          Called when StopOperation is called.
 void onUndo(IEditEventsOnUndoEvent theEvent)
          Called when UndoOperation is called.
 void onVertexAdded(IEditEvents2OnVertexAddedEvent theEvent)
          Called after a point/vertex is added to the sketch.
 void onVertexDeleted(IEditEvents2OnVertexDeletedEvent theEvent)
          Called after a point is deleted from the sketch.
 void onVertexMoved(IEditEvents2OnVertexMovedEvent theEvent)
          Called after a vertex/point has been moved in the sketch.
 void release()
          Release a DimensionEditExtension.
 void setCreateStyleID(int styleID)
          The style id of newly created dimension features.
 void setCurrentConstructorByRef(IDimensionConstructor rhs1)
          The currently selected dimension constructor.
 void shutdown()
          Shuts down the extension.
 void startFeedback(IPoint point)
          Called when the feedback needs to be started.
 void startFeedbackFromShape(IGeometry shape)
          Called when the feedback needs to be started using an existing geometry.
 void startup(java.lang.Object initializationData)
          Starts up the extension with the given initialization data.
 IGeometry stopFeedback()
          Called when the feedback is no longer necessary.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DimensionEditExtension

public DimensionEditExtension()
                       throws java.io.IOException,
                              java.net.UnknownHostException
Constructs a DimensionEditExtension using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

DimensionEditExtension

public DimensionEditExtension(java.lang.Object obj)
                       throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DimensionEditExtension theDimensionEditExtension = (DimensionEditExtension) obj;

Construct a DimensionEditExtension using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DimensionEditExtension.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a DimensionEditExtension.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the extension.

Specified by:
getName in interface IExtension
Returns:
The extensionName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startup

public void startup(java.lang.Object initializationData)
             throws java.io.IOException,
                    AutomationException
Starts up the extension with the given initialization data.

Specified by:
startup in interface IExtension
Parameters:
initializationData - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws java.io.IOException,
                     AutomationException
Shuts down the extension.

Specified by:
shutdown in interface IExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCreateStyleID

public int getCreateStyleID()
                     throws java.io.IOException,
                            AutomationException
The style id of newly created dimension features.

Specified by:
getCreateStyleID in interface IDimensionEditExtension
Returns:
The styleID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCreateStyleID

public void setCreateStyleID(int styleID)
                      throws java.io.IOException,
                             AutomationException
The style id of newly created dimension features.

Specified by:
setCreateStyleID in interface IDimensionEditExtension
Parameters:
styleID - The styleID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionConstructors

public IEnumDimensionConstructor getDimensionConstructors()
                                                   throws java.io.IOException,
                                                          AutomationException
The dimension constructors for creating new dimensions.

Specified by:
getDimensionConstructors in interface IDimensionEditExtension
Returns:
A reference to a com.esri.arcgis.editor.IEnumDimensionConstructor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCurrentConstructorByRef

public void setCurrentConstructorByRef(IDimensionConstructor rhs1)
                                throws java.io.IOException,
                                       AutomationException
The currently selected dimension constructor.

Specified by:
setCurrentConstructorByRef in interface IDimensionEditExtension
Parameters:
rhs1 - A reference to a com.esri.arcgis.editor.IDimensionConstructor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDimensionTarget

public boolean isDimensionTarget()
                          throws java.io.IOException,
                                 AutomationException
Indicates if a dimension feature class is the current editor target.

Specified by:
isDimensionTarget in interface IDimensionEditExtension
Returns:
The isDimension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEditor

public IEditor getEditor()
                  throws java.io.IOException,
                         AutomationException
The editor application extension.

Specified by:
getEditor in interface IDimensionEditExtension
Returns:
A reference to a com.esri.arcgis.editor.IEditor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSelectionChanged

public void onSelectionChanged(IEditEventsOnSelectionChangedEvent theEvent)
                        throws java.io.IOException,
                               AutomationException
Called when the selection changes.

Specified by:
onSelectionChanged in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onCurrentLayerChanged

public void onCurrentLayerChanged(IEditEventsOnCurrentLayerChangedEvent theEvent)
                           throws java.io.IOException,
                                  AutomationException
Called when the current layer changes.

Specified by:
onCurrentLayerChanged in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onCurrentTaskChanged

public void onCurrentTaskChanged(IEditEventsOnCurrentTaskChangedEvent theEvent)
                          throws java.io.IOException,
                                 AutomationException
Called when the current task changes.

Specified by:
onCurrentTaskChanged in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSketchModified

public void onSketchModified(IEditEventsOnSketchModifiedEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Called when the edit sketch is modified.

Specified by:
onSketchModified in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSketchFinished

public void onSketchFinished(IEditEventsOnSketchFinishedEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Called when the edit sketch is finished.

Specified by:
onSketchFinished in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

afterDrawSketch

public void afterDrawSketch(IEditEventsAfterDrawSketchEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Called after the edit sketch is drawn.

Specified by:
afterDrawSketch in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStartEditing

public void onStartEditing(IEditEventsOnStartEditingEvent theEvent)
                    throws java.io.IOException,
                           AutomationException
Called when editing begins.

Specified by:
onStartEditing in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStopEditing

public void onStopEditing(IEditEventsOnStopEditingEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Called when editing ends.

Specified by:
onStopEditing in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onConflictsDetected

public void onConflictsDetected(IEditEventsOnConflictsDetectedEvent theEvent)
                         throws java.io.IOException,
                                AutomationException
Called when editing conflicts are detected during save.

Specified by:
onConflictsDetected in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onUndo

public void onUndo(IEditEventsOnUndoEvent theEvent)
            throws java.io.IOException,
                   AutomationException
Called when UndoOperation is called.

Specified by:
onUndo in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRedo

public void onRedo(IEditEventsOnRedoEvent theEvent)
            throws java.io.IOException,
                   AutomationException
Called when RedoOperation is called.

Specified by:
onRedo in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onCreateFeature

public void onCreateFeature(IEditEventsOnCreateFeatureEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Called when new features are created.

Specified by:
onCreateFeature in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onChangeFeature

public void onChangeFeature(IEditEventsOnChangeFeatureEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Called when features are modified.

Specified by:
onChangeFeature in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onDeleteFeature

public void onDeleteFeature(IEditEventsOnDeleteFeatureEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Called when features are deleted.

Specified by:
onDeleteFeature in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onCurrentZChanged

public void onCurrentZChanged(IEditEvents2OnCurrentZChangedEvent theEvent)
                       throws java.io.IOException,
                              AutomationException
Called when the CurrentZ changes.

Specified by:
onCurrentZChanged in interface IEditEvents2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onVertexMoved

public void onVertexMoved(IEditEvents2OnVertexMovedEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Called after a vertex/point has been moved in the sketch.

Specified by:
onVertexMoved in interface IEditEvents2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onVertexAdded

public void onVertexAdded(IEditEvents2OnVertexAddedEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Called after a point/vertex is added to the sketch.

Specified by:
onVertexAdded in interface IEditEvents2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onVertexDeleted

public void onVertexDeleted(IEditEvents2OnVertexDeletedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Called after a point is deleted from the sketch.

Specified by:
onVertexDeleted in interface IEditEvents2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beforeStopEditing

public void beforeStopEditing(IEditEvents2BeforeStopEditingEvent theEvent)
                       throws java.io.IOException,
                              AutomationException
Fired before StopEditing happens.

Specified by:
beforeStopEditing in interface IEditEvents2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onAbort

public void onAbort(IEditEvents2OnAbortEvent theEvent)
             throws java.io.IOException,
                    AutomationException
Called when AbortOperation is called.

Specified by:
onAbort in interface IEditEvents2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStartOperation

public void onStartOperation(IEditEvents2OnStartOperationEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Called when StartOperation is called.

Specified by:
onStartOperation in interface IEditEvents2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beforeStopOperation

public void beforeStopOperation(IEditEvents2BeforeStopOperationEvent theEvent)
                         throws java.io.IOException,
                                AutomationException
Called before StopOperation is called.

Specified by:
beforeStopOperation in interface IEditEvents2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStopOperation

public void onStopOperation(IEditEvents2OnStopOperationEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Called when StopOperation is called.

Specified by:
onStopOperation in interface IEditEvents2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSaveEdits

public void onSaveEdits(IEditEvents2OnSaveEditsEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Called when edits are saved.

Specified by:
onSaveEdits in interface IEditEvents2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

applies

public boolean applies(IEditor editor)
                throws java.io.IOException,
                       AutomationException
Indicates whether this extension applies to the current edit environment.

Specified by:
applies in interface IEditSketchExtension
Parameters:
editor - A reference to a com.esri.arcgis.editor.IEditor (in)
Returns:
The applies
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activate

public void activate(IEditor editor)
              throws java.io.IOException,
                     AutomationException
Called when the sketch extension is about to be used.

Specified by:
activate in interface IEditSketchExtension
Parameters:
editor - A reference to a com.esri.arcgis.editor.IEditor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivate

public void deactivate()
                throws java.io.IOException,
                       AutomationException
Called when the sketch extension is no longer needed.

Specified by:
deactivate in interface IEditSketchExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beforeStoreFeature

public void beforeStoreFeature(IFeature feature,
                               IGeometry geometry)
                        throws java.io.IOException,
                               AutomationException
Lets the extension know the feature is about to be stored.

Specified by:
beforeStoreFeature in interface IEditSketchExtension
Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanInsertVertices

public boolean isCanInsertVertices()
                            throws java.io.IOException,
                                   AutomationException
Indicates whether the sketch allows the inserting of additional vertices.

Specified by:
isCanInsertVertices in interface IEditSketchExtension
Returns:
The canInsert
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanDeleteVertices

public boolean isCanDeleteVertices()
                            throws java.io.IOException,
                                   AutomationException
Indicates whether the sketch allows the deleting of vertices.

Specified by:
isCanDeleteVertices in interface IEditSketchExtension
Returns:
The canDelete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanMoveVertices

public boolean isCanMoveVertices()
                          throws java.io.IOException,
                                 AutomationException
Indicates whether the sketch allows the moving of vertices.

Specified by:
isCanMoveVertices in interface IEditSketchExtension
Returns:
The canMove
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSketchGeometryType

public int getSketchGeometryType()
                          throws java.io.IOException,
                                 AutomationException
The geometry type used for the edit sketch when creating new features.

Specified by:
getSketchGeometryType in interface IEditSketchExtension
Returns:
A com.esri.arcgis.geometry.esriGeometryType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createSketchGeometry

public IGeometry createSketchGeometry(IFeature feature)
                               throws java.io.IOException,
                                      AutomationException
The geometry that will be used in the sketch when modifying a feature.

Specified by:
createSketchGeometry in interface IEditSketchExtension
Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasFeedback

public boolean isHasFeedback()
                      throws java.io.IOException,
                             AutomationException
Indicates whether the SketchExtension will use a custom feedback.

Specified by:
isHasFeedback in interface IEditSketchExtension
Returns:
The hasFeedback
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFeedback

public IDisplayFeedback createFeedback()
                                throws java.io.IOException,
                                       AutomationException
Called when a new feedback is needed.

Specified by:
createFeedback in interface IEditSketchExtension
Returns:
A reference to a com.esri.arcgis.display.IDisplayFeedback
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startFeedback

public void startFeedback(IPoint point)
                   throws java.io.IOException,
                          AutomationException
Called when the feedback needs to be started.

Specified by:
startFeedback in interface IEditSketchExtension
Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopFeedback

public IGeometry stopFeedback()
                       throws java.io.IOException,
                              AutomationException
Called when the feedback is no longer necessary.

Specified by:
stopFeedback in interface IEditSketchExtension
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startFeedbackFromShape

public void startFeedbackFromShape(IGeometry shape)
                            throws java.io.IOException,
                                   AutomationException
Called when the feedback needs to be started using an existing geometry.

Specified by:
startFeedbackFromShape in interface IEditSketchExtension
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.