com.esri.arcgis.editor
Interface IEditSketchExtension

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AnnotationEditExtension, DimensionEditExtension, IEditSketchExtensionProxy

public interface IEditSketchExtension
extends java.io.Serializable

COM Interface 'IEditSketchExtension'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriEditor.olb'

Description: 'Provides access to members that extend the edit sketch.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDcdff8835_dec8_433f_8ef7_5b754165d168
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void activate(IEditor editor)
          Called when the sketch extension is about to be used.
 boolean applies(IEditor editor)
          Indicates whether this extension applies to the current edit environment.
 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.
 int getSketchGeometryType()
          The geometry type used for the edit sketch when creating new features.
 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 isHasFeedback()
          Indicates whether the SketchExtension will use a custom feedback.
 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.
 IGeometry stopFeedback()
          Called when the feedback is no longer necessary.
 

Field Detail

IIDcdff8835_dec8_433f_8ef7_5b754165d168

static final int IIDcdff8835_dec8_433f_8ef7_5b754165d168
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

applies

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

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

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

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

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

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

beforeStoreFeature

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

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

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

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

isCanDeleteVertices

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

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

isCanMoveVertices

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

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

getSketchGeometryType

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

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

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

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

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

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

createFeedback

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

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

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

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

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

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

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

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.