com.esri.arcgis.controls
Class EngineEditor

java.lang.Object
  extended by com.esri.arcgis.controls.EngineEditor
All Implemented Interfaces:
IEngineEditLayers, IEngineEditor, IEngineEditor2, IEngineEditProperties, IEngineEditProperties2, IEngineEditSketch, IEngineSnapEnvironment, com.esri.arcgis.interop.RemoteObjRef, IExtension, ISupportErrorInfo, java.io.Serializable

public class EngineEditor
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IEngineEditor, IEngineEditor2, IEngineEditSketch, IEngineSnapEnvironment, IEngineEditProperties, IEngineEditProperties2, IEngineEditLayers, ISupportErrorInfo, IExtension

COM Class 'EngineEditor'. Generated 3/19/2015 1:20:48 PM from 'C:\ArcGIS\COM\esriControls.olb'

Description 'A singleton object representing the Engine editing environment.' 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.controls.IEngineEditor2
IID, IID3591a657_eb49_4a14_a491_be61be4f73b0, xxDummy
 
Fields inherited from interface com.esri.arcgis.controls.IEngineEditor
IID9ae024af_2bae_4b4c_927f_8e6ff0ab55bd
 
Fields inherited from interface com.esri.arcgis.controls.IEngineEditSketch
IID, IIDa741844a_9abf_456e_b7c6_94b3c75fcb5f, xxDummy
 
Fields inherited from interface com.esri.arcgis.controls.IEngineSnapEnvironment
IID, IIDfad24a05_b217_4058_b3e2_6b306df64f68, xxDummy
 
Fields inherited from interface com.esri.arcgis.controls.IEngineEditProperties
IID, IID74ff9f4f_b6f3_4165_9543_b57908e153c5, xxDummy
 
Fields inherited from interface com.esri.arcgis.controls.IEngineEditProperties2
IID, IIDc795a6c0_482c_469e_8a8e_00665b21cef0, xxDummy
 
Fields inherited from interface com.esri.arcgis.controls.IEngineEditLayers
IID, IID8118c22e_1065_466c_a91c_4931a6cc81a5, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IExtension
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy
 
Constructor Summary
EngineEditor()
          Constructs a EngineEditor using ArcGIS Engine.
EngineEditor(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EngineEditor theEngineEditor = (EngineEditor) obj;
 
Method Summary
 void abortOperation()
          Aborts an edit operation.
 void addIEngineEditEventsListener(IEngineEditEvents theListener)
          addIEngineEditEventsListener.
 void addPoint(IPoint point, boolean allowUndo)
          Adds a point to the edit sketch.
 void addSnapAgent(IEngineSnapAgent snapAgent)
          Adds a new snap agent to the snap environment.
 void addTask(IEngineEditTask task)
          Adds a task to the EngineEditor.
 void clearSnapAgents()
          Removes all snap agents.
 void enableUndoRedo(boolean enabled)
          Indicates if undo/redo capabilities are enabled.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void finishSketch()
          Completes the current edit sketch.
 void finishSketchPart()
          Completes a part for the current edit sketch.
 double getAngularCorrectionOffset()
          Angular Correction Offset.
 int getAngularUnitPrecision()
          Precision used to display angular units.
static java.lang.String getClsid()
          getClsid.
 int getCurrentSubtype()
          The sub type for new features in the CurrentLayer.
 IEngineEditTask getCurrentTask()
          The current edit task.
 double getCurrentZ()
          Current Z value for the edit sketch.
 int getDirectionType()
          Direction Type.
 int getDirectionUnits()
          Direction Units.
 double getDistanceCorrectionFactor()
          Distance Correction Factor.
 IPoint getEditLocation()
          A point that can be used by any custom editing commands.
 IEnumFeature getEditSelection()
          The selected features that are editable.
 int getEditSessionMode()
          The current edit session mode.
 int getEditState()
          The EngineEditor's current edit state.
 IWorkspace getEditWorkspace()
          The workspace being edited.
 IGeometry getGeometry()
          Geometry stored in the edit sketch.
 int getGeometryType()
          Type of the geometry stored in the edit sketch.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IPoint getLastPoint()
          The last point in the edit sketch.
 IMap getMap()
          The map being edited.
 java.lang.String getName()
          The name of the extension.
 int getPart()
          The index of the current part of the sketch.
 int getReportPrecision()
          Controls the number of decimal places the editor reports numbers with.
 int getSegment()
          The index of the current segment of the sketch.
 IMarkerSymbol getSelectedVertexSymbol()
          Symbol used to draw the active vertex of the edit sketch.
 IAnchorPoint getSelectionAnchor()
          The selection anchor point.
 int getSelectionCount()
          The number of selected features that are editable.
 ILineSymbol getSketchSymbol()
          Symbol used to draw the lines of the edit sketch.
 IMarkerSymbol getSketchVertexSymbol()
          Symbol used to draw the vertices of the edit sketch.
 IEngineSnapAgent getSnapAgent(int index)
          A snap agent at the given index.
 int getSnapAgentCount()
          The number of active snap agents.
 IMarkerSymbol getSnapSymbol()
          Symbol used to draw the snap location.
 double getSnapTolerance()
          The snap tolerance, measured in pixels or map units.
 int getSnapToleranceUnits()
          The units used for the snap tolerance.
 int getStickyMoveTolerance()
          Controls the sticky move tolerance.
 int getStreamGroupingCount()
          Controls the number of points to group together when streaming.
 double getStreamTolerance()
          Controls the streaming tolerance, measured in map units.
 ILayer getTargetLayer()
          The editor's target layer.
 IEngineEditTask getTask(int index)
          The edit task at the specified index.
 IEngineEditTask getTaskByUniqueName(java.lang.String uniqueName)
          Retrieves a task by UniqueName from the EngineEditor.
 int getTaskCount()
          The number of edit tasks.
 int getVertex()
          The index of the current vertex of the sketch.
 boolean hasEdits()
          Indicates if edits have been made.
 int hashCode()
          the hashcode for this object
 IFeatureLayer IEngineEditLayers_getTargetLayer()
          The EngineEditor's target layer that new features are added to.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void invertAgent(IPoint location, int hdc)
          Draws the EngineEditor's snapping agent.
 boolean isAutoSaveOnVersionRedefined()
          Indicates whether the stop editing process should automatically reconcile an edit session and save the version without notification.
 boolean isEditable(IFeatureLayer layer)
          Indicates if the specific feature layer is editable.
 boolean isSnapTips()
          Indicates whether to show the snap tips.
 boolean isStretchGeometry()
          Indicates if the edit sketch is stretched when one of its vertices is moved.
 boolean isUseGroundToGrid()
          Indicates whether to use Ground to Grid.
 boolean isZAware()
          Indicates whether the edit sketch geometry can contain Zs.
 void modifySketch()
          Notifies listeners that the sketch has been changed.
 void refreshSketch()
          Invalidates the portion of the display that is occupied by the sketch.
 void release()
          Release a EngineEditor.
 void removeIEngineEditEventsListener(IEngineEditEvents theListener)
          removeIEngineEditEventsListener.
 void removeSnapAgent(int index)
          Removes the snap agent at the given index.
 void setAngularCorrectionOffset(double angOffset)
          Angular Correction Offset.
 void setAngularUnitPrecision(int auPrecision)
          Precision used to display angular units.
 void setAutoSaveOnVersionRedefined(boolean stretch)
          Indicates whether the stop editing process should automatically reconcile an edit session and save the version without notification.
 void setCurrentTaskByRef(IEngineEditTask task)
          The current edit task.
 void setCurrentZ(double z)
          Current Z value for the edit sketch.
 void setDirectionType(int dirType)
          Direction Type.
 void setDirectionUnits(int dirUnits)
          Direction Units.
 void setDistanceCorrectionFactor(double distFactor)
          Distance Correction Factor.
 void setEditLocation(int x, int y)
          Sets the part, segment and vertex of the edit sketch at the x,y location.
 void setEditSessionMode(int mode)
          The current edit session mode.
 void setGeometryByRef(IGeometry geometry)
          Geometry stored in the edit sketch.
 void setGeometryType(int geomType)
          Type of the geometry stored in the edit sketch.
 void setReportPrecision(int numDecs)
          Controls the number of decimal places the editor reports numbers with.
 void setSelectedVertexSymbolByRef(IMarkerSymbol symbol)
          Symbol used to draw the active vertex of the edit sketch.
 void setSketchSymbolByRef(ILineSymbol symbol)
          Symbol used to draw the lines of the edit sketch.
 void setSketchVertexSymbolByRef(IMarkerSymbol symbol)
          Symbol used to draw the vertices of the edit sketch.
 void setSnapSymbolByRef(IMarkerSymbol symbol)
          Symbol used to draw the snap location.
 void setSnapTips(boolean tips)
          Indicates whether to show the snap tips.
 void setSnapTolerance(double tol)
          The snap tolerance, measured in pixels or map units.
 void setSnapToleranceUnits(int units)
          The units used for the snap tolerance.
 void setStickyMoveTolerance(int tol)
          Controls the sticky move tolerance.
 void setStreamGroupingCount(int tol)
          Controls the number of points to group together when streaming.
 void setStreamTolerance(double tol)
          Controls the streaming tolerance, measured in map units.
 void setStretchGeometry(boolean stretch)
          Indicates if the edit sketch is stretched when one of its vertices is moved.
 void setTargetLayer(IFeatureLayer layer, int subType)
          Sets the EngineEditor's target layer and subtype for new features.
 void setUseGroundToGrid(boolean g2g)
          Indicates whether to use Ground to Grid.
 void setZAware(boolean aware)
          Indicates whether the edit sketch geometry can contain Zs.
 void shutdown()
          Shuts down the extension.
 boolean snapPoint(IPoint point)
          Attempts to snap the point using the current snap environment.
 void startEditing(IWorkspace workspace, IMap map)
          Starts an edit session.
 void startOperation()
          Starts an edit operation.
 void startup(java.lang.Object initializationData)
          Starts up the extension with the given initialization data.
 void stopEditing(boolean saveChanges)
          Stops an edit session.
 void stopOperation(java.lang.String operationName)
          Stops an edit operation.
 void vertexAdded(IPoint point)
          Notifies listeners that a vertex has been added to the sketch.
 void vertexDeleted(IPoint point)
          Notifies listeners that a vertex has been deleted from the sketch.
 void vertexMoved(IPoint point)
          Notifies listeners that a vertex has been moved in the sketch.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineEditor

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

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

EngineEditor

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

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

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

addIEngineEditEventsListener

public void addIEngineEditEventsListener(IEngineEditEvents theListener)
                                  throws java.io.IOException
addIEngineEditEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.controls.IEngineEditEvents interface.
Throws:
java.io.IOException - If there are communications problems.

removeIEngineEditEventsListener

public void removeIEngineEditEventsListener(IEngineEditEvents theListener)
                                     throws java.io.IOException
removeIEngineEditEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.controls.IEngineEditEvents interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a EngineEditor.

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

getEditState

public int getEditState()
                 throws java.io.IOException,
                        AutomationException
The EngineEditor's current edit state.

Specified by:
getEditState in interface IEngineEditor
Returns:
A com.esri.arcgis.controls.esriEngineEditState constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEditWorkspace

public IWorkspace getEditWorkspace()
                            throws java.io.IOException,
                                   AutomationException
The workspace being edited.

Specified by:
getEditWorkspace in interface IEngineEditor
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startEditing

public void startEditing(IWorkspace workspace,
                         IMap map)
                  throws java.io.IOException,
                         AutomationException
Starts an edit session.

Specified by:
startEditing in interface IEngineEditor
Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
map - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopEditing

public void stopEditing(boolean saveChanges)
                 throws java.io.IOException,
                        AutomationException
Stops an edit session.

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

hasEdits

public boolean hasEdits()
                 throws java.io.IOException,
                        AutomationException
Indicates if edits have been made.

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

startOperation

public void startOperation()
                    throws java.io.IOException,
                           AutomationException
Starts an edit operation.

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

abortOperation

public void abortOperation()
                    throws java.io.IOException,
                           AutomationException
Aborts an edit operation.

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

stopOperation

public void stopOperation(java.lang.String operationName)
                   throws java.io.IOException,
                          AutomationException
Stops an edit operation.

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

enableUndoRedo

public void enableUndoRedo(boolean enabled)
                    throws java.io.IOException,
                           AutomationException
Indicates if undo/redo capabilities are enabled.

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

getEditSelection

public IEnumFeature getEditSelection()
                              throws java.io.IOException,
                                     AutomationException
The selected features that are editable.

Specified by:
getEditSelection in interface IEngineEditor
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumFeature
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionCount

public int getSelectionCount()
                      throws java.io.IOException,
                             AutomationException
The number of selected features that are editable.

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

getTaskCount

public int getTaskCount()
                 throws java.io.IOException,
                        AutomationException
The number of edit tasks.

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

getTask

public IEngineEditTask getTask(int index)
                        throws java.io.IOException,
                               AutomationException
The edit task at the specified index.

Specified by:
getTask in interface IEngineEditor
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.controls.IEngineEditTask
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCurrentTaskByRef

public void setCurrentTaskByRef(IEngineEditTask task)
                         throws java.io.IOException,
                                AutomationException
The current edit task.

Specified by:
setCurrentTaskByRef in interface IEngineEditor
Parameters:
task - A reference to a com.esri.arcgis.controls.IEngineEditTask (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentTask

public IEngineEditTask getCurrentTask()
                               throws java.io.IOException,
                                      AutomationException
The current edit task.

Specified by:
getCurrentTask in interface IEngineEditor
Returns:
A reference to a com.esri.arcgis.controls.IEngineEditTask
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMap

public IMap getMap()
            throws java.io.IOException,
                   AutomationException
The map being edited.

Specified by:
getMap in interface IEngineEditor
Returns:
A reference to a com.esri.arcgis.carto.IMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

invertAgent

public void invertAgent(IPoint location,
                        int hdc)
                 throws java.io.IOException,
                        AutomationException
Draws the EngineEditor's snapping agent.

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

addTask

public void addTask(IEngineEditTask task)
             throws java.io.IOException,
                    AutomationException
Adds a task to the EngineEditor.

Specified by:
addTask in interface IEngineEditor
Parameters:
task - A reference to a com.esri.arcgis.controls.IEngineEditTask (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTaskByUniqueName

public IEngineEditTask getTaskByUniqueName(java.lang.String uniqueName)
                                    throws java.io.IOException,
                                           AutomationException
Retrieves a task by UniqueName from the EngineEditor.

Specified by:
getTaskByUniqueName in interface IEngineEditor
Parameters:
uniqueName - The uniqueName (in)
Returns:
A reference to a com.esri.arcgis.controls.IEngineEditTask
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEditSessionMode

public void setEditSessionMode(int mode)
                        throws java.io.IOException,
                               AutomationException
The current edit session mode.

Specified by:
setEditSessionMode in interface IEngineEditor
Parameters:
mode - A com.esri.arcgis.controls.esriEngineEditSessionMode constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEditSessionMode

public int getEditSessionMode()
                       throws java.io.IOException,
                              AutomationException
The current edit session mode.

Specified by:
getEditSessionMode in interface IEngineEditor
Returns:
A com.esri.arcgis.controls.esriEngineEditSessionMode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionAnchor

public IAnchorPoint getSelectionAnchor()
                                throws java.io.IOException,
                                       AutomationException
The selection anchor point.

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

getGeometryType

public int getGeometryType()
                    throws java.io.IOException,
                           AutomationException
Type of the geometry stored in the edit sketch.

Specified by:
getGeometryType in interface IEngineEditSketch
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.

setGeometryType

public void setGeometryType(int geomType)
                     throws java.io.IOException,
                            AutomationException
Type of the geometry stored in the edit sketch.

Specified by:
setGeometryType in interface IEngineEditSketch
Parameters:
geomType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometry

public IGeometry getGeometry()
                      throws java.io.IOException,
                             AutomationException
Geometry stored in the edit sketch.

Specified by:
getGeometry in interface IEngineEditSketch
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.

setGeometryByRef

public void setGeometryByRef(IGeometry geometry)
                      throws java.io.IOException,
                             AutomationException
Geometry stored in the edit sketch.

Specified by:
setGeometryByRef in interface IEngineEditSketch
Parameters:
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.

getEditLocation

public IPoint getEditLocation()
                       throws java.io.IOException,
                              AutomationException
A point that can be used by any custom editing commands. This property is set by the SetEditLocation method.

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

getPart

public int getPart()
            throws java.io.IOException,
                   AutomationException
The index of the current part of the sketch.

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

getSegment

public int getSegment()
               throws java.io.IOException,
                      AutomationException
The index of the current segment of the sketch.

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

getVertex

public int getVertex()
              throws java.io.IOException,
                     AutomationException
The index of the current vertex of the sketch.

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

addPoint

public void addPoint(IPoint point,
                     boolean allowUndo)
              throws java.io.IOException,
                     AutomationException
Adds a point to the edit sketch. If allowUndo is true, a new operation will be created.

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

refreshSketch

public void refreshSketch()
                   throws java.io.IOException,
                          AutomationException
Invalidates the portion of the display that is occupied by the sketch.

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

finishSketch

public void finishSketch()
                  throws java.io.IOException,
                         AutomationException
Completes the current edit sketch.

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

finishSketchPart

public void finishSketchPart()
                      throws java.io.IOException,
                             AutomationException
Completes a part for the current edit sketch.

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

getLastPoint

public IPoint getLastPoint()
                    throws java.io.IOException,
                           AutomationException
The last point in the edit sketch.

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

modifySketch

public void modifySketch()
                  throws java.io.IOException,
                         AutomationException
Notifies listeners that the sketch has been changed.

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

vertexAdded

public void vertexAdded(IPoint point)
                 throws java.io.IOException,
                        AutomationException
Notifies listeners that a vertex has been added to the sketch.

Specified by:
vertexAdded in interface IEngineEditSketch
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.

vertexDeleted

public void vertexDeleted(IPoint point)
                   throws java.io.IOException,
                          AutomationException
Notifies listeners that a vertex has been deleted from the sketch.

Specified by:
vertexDeleted in interface IEngineEditSketch
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.

vertexMoved

public void vertexMoved(IPoint point)
                 throws java.io.IOException,
                        AutomationException
Notifies listeners that a vertex has been moved in the sketch.

Specified by:
vertexMoved in interface IEngineEditSketch
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.

setEditLocation

public void setEditLocation(int x,
                            int y)
                     throws java.io.IOException,
                            AutomationException
Sets the part, segment and vertex of the edit sketch at the x,y location.

Specified by:
setEditLocation in interface IEngineEditSketch
Parameters:
x - The x (in)
y - The y (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isZAware

public boolean isZAware()
                 throws java.io.IOException,
                        AutomationException
Indicates whether the edit sketch geometry can contain Zs.

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

setZAware

public void setZAware(boolean aware)
               throws java.io.IOException,
                      AutomationException
Indicates whether the edit sketch geometry can contain Zs.

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

getCurrentZ

public double getCurrentZ()
                   throws java.io.IOException,
                          AutomationException
Current Z value for the edit sketch.

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

setCurrentZ

public void setCurrentZ(double z)
                 throws java.io.IOException,
                        AutomationException
Current Z value for the edit sketch.

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

snapPoint

public boolean snapPoint(IPoint point)
                  throws java.io.IOException,
                         AutomationException
Attempts to snap the point using the current snap environment.

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

getSnapToleranceUnits

public int getSnapToleranceUnits()
                          throws java.io.IOException,
                                 AutomationException
The units used for the snap tolerance.

Specified by:
getSnapToleranceUnits in interface IEngineSnapEnvironment
Returns:
A com.esri.arcgis.controls.esriEngineSnapToleranceUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSnapToleranceUnits

public void setSnapToleranceUnits(int units)
                           throws java.io.IOException,
                                  AutomationException
The units used for the snap tolerance.

Specified by:
setSnapToleranceUnits in interface IEngineSnapEnvironment
Parameters:
units - A com.esri.arcgis.controls.esriEngineSnapToleranceUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapTolerance

public double getSnapTolerance()
                        throws java.io.IOException,
                               AutomationException
The snap tolerance, measured in pixels or map units.

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

setSnapTolerance

public void setSnapTolerance(double tol)
                      throws java.io.IOException,
                             AutomationException
The snap tolerance, measured in pixels or map units.

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

getSnapAgentCount

public int getSnapAgentCount()
                      throws java.io.IOException,
                             AutomationException
The number of active snap agents.

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

getSnapAgent

public IEngineSnapAgent getSnapAgent(int index)
                              throws java.io.IOException,
                                     AutomationException
A snap agent at the given index.

Specified by:
getSnapAgent in interface IEngineSnapEnvironment
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.controls.IEngineSnapAgent
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearSnapAgents

public void clearSnapAgents()
                     throws java.io.IOException,
                            AutomationException
Removes all snap agents.

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

removeSnapAgent

public void removeSnapAgent(int index)
                     throws java.io.IOException,
                            AutomationException
Removes the snap agent at the given index.

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

addSnapAgent

public void addSnapAgent(IEngineSnapAgent snapAgent)
                  throws java.io.IOException,
                         AutomationException
Adds a new snap agent to the snap environment.

Specified by:
addSnapAgent in interface IEngineSnapEnvironment
Parameters:
snapAgent - A reference to a com.esri.arcgis.controls.IEngineSnapAgent (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReportPrecision

public int getReportPrecision()
                       throws java.io.IOException,
                              AutomationException
Controls the number of decimal places the editor reports numbers with.

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

setReportPrecision

public void setReportPrecision(int numDecs)
                        throws java.io.IOException,
                               AutomationException
Controls the number of decimal places the editor reports numbers with.

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

getStreamTolerance

public double getStreamTolerance()
                          throws java.io.IOException,
                                 AutomationException
Controls the streaming tolerance, measured in map units.

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

setStreamTolerance

public void setStreamTolerance(double tol)
                        throws java.io.IOException,
                               AutomationException
Controls the streaming tolerance, measured in map units.

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

getStreamGroupingCount

public int getStreamGroupingCount()
                           throws java.io.IOException,
                                  AutomationException
Controls the number of points to group together when streaming.

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

setStreamGroupingCount

public void setStreamGroupingCount(int tol)
                            throws java.io.IOException,
                                   AutomationException
Controls the number of points to group together when streaming.

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

isStretchGeometry

public boolean isStretchGeometry()
                          throws java.io.IOException,
                                 AutomationException
Indicates if the edit sketch is stretched when one of its vertices is moved.

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

setStretchGeometry

public void setStretchGeometry(boolean stretch)
                        throws java.io.IOException,
                               AutomationException
Indicates if the edit sketch is stretched when one of its vertices is moved.

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

getSketchSymbol

public ILineSymbol getSketchSymbol()
                            throws java.io.IOException,
                                   AutomationException
Symbol used to draw the lines of the edit sketch.

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

setSketchSymbolByRef

public void setSketchSymbolByRef(ILineSymbol symbol)
                          throws java.io.IOException,
                                 AutomationException
Symbol used to draw the lines of the edit sketch.

Specified by:
setSketchSymbolByRef in interface IEngineEditProperties
Parameters:
symbol - A reference to a com.esri.arcgis.display.ILineSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSketchVertexSymbol

public IMarkerSymbol getSketchVertexSymbol()
                                    throws java.io.IOException,
                                           AutomationException
Symbol used to draw the vertices of the edit sketch.

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

setSketchVertexSymbolByRef

public void setSketchVertexSymbolByRef(IMarkerSymbol symbol)
                                throws java.io.IOException,
                                       AutomationException
Symbol used to draw the vertices of the edit sketch.

Specified by:
setSketchVertexSymbolByRef in interface IEngineEditProperties
Parameters:
symbol - A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectedVertexSymbol

public IMarkerSymbol getSelectedVertexSymbol()
                                      throws java.io.IOException,
                                             AutomationException
Symbol used to draw the active vertex of the edit sketch.

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

setSelectedVertexSymbolByRef

public void setSelectedVertexSymbolByRef(IMarkerSymbol symbol)
                                  throws java.io.IOException,
                                         AutomationException
Symbol used to draw the active vertex of the edit sketch.

Specified by:
setSelectedVertexSymbolByRef in interface IEngineEditProperties
Parameters:
symbol - A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapSymbol

public IMarkerSymbol getSnapSymbol()
                            throws java.io.IOException,
                                   AutomationException
Symbol used to draw the snap location.

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

setSnapSymbolByRef

public void setSnapSymbolByRef(IMarkerSymbol symbol)
                        throws java.io.IOException,
                               AutomationException
Symbol used to draw the snap location.

Specified by:
setSnapSymbolByRef in interface IEngineEditProperties
Parameters:
symbol - A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAutoSaveOnVersionRedefined

public boolean isAutoSaveOnVersionRedefined()
                                     throws java.io.IOException,
                                            AutomationException
Indicates whether the stop editing process should automatically reconcile an edit session and save the version without notification.

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

setAutoSaveOnVersionRedefined

public void setAutoSaveOnVersionRedefined(boolean stretch)
                                   throws java.io.IOException,
                                          AutomationException
Indicates whether the stop editing process should automatically reconcile an edit session and save the version without notification.

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

getTargetLayer

public ILayer getTargetLayer()
                      throws java.io.IOException,
                             AutomationException
The editor's target layer.

Specified by:
getTargetLayer in interface IEngineEditProperties
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStickyMoveTolerance

public int getStickyMoveTolerance()
                           throws java.io.IOException,
                                  AutomationException
Controls the sticky move tolerance.

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

setStickyMoveTolerance

public void setStickyMoveTolerance(int tol)
                            throws java.io.IOException,
                                   AutomationException
Controls the sticky move tolerance.

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

isSnapTips

public boolean isSnapTips()
                   throws java.io.IOException,
                          AutomationException
Indicates whether to show the snap tips.

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

setSnapTips

public void setSnapTips(boolean tips)
                 throws java.io.IOException,
                        AutomationException
Indicates whether to show the snap tips.

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

setAngularUnitPrecision

public void setAngularUnitPrecision(int auPrecision)
                             throws java.io.IOException,
                                    AutomationException
Precision used to display angular units.

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

getAngularUnitPrecision

public int getAngularUnitPrecision()
                            throws java.io.IOException,
                                   AutomationException
Precision used to display angular units.

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

setDirectionType

public void setDirectionType(int dirType)
                      throws java.io.IOException,
                             AutomationException
Direction Type.

Specified by:
setDirectionType in interface IEngineEditProperties2
Parameters:
dirType - A com.esri.arcgis.controls.esriEngineDirectionType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDirectionType

public int getDirectionType()
                     throws java.io.IOException,
                            AutomationException
Direction Type.

Specified by:
getDirectionType in interface IEngineEditProperties2
Returns:
A com.esri.arcgis.controls.esriEngineDirectionType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDirectionUnits

public void setDirectionUnits(int dirUnits)
                       throws java.io.IOException,
                              AutomationException
Direction Units.

Specified by:
setDirectionUnits in interface IEngineEditProperties2
Parameters:
dirUnits - A com.esri.arcgis.controls.esriEngineDirectionUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDirectionUnits

public int getDirectionUnits()
                      throws java.io.IOException,
                             AutomationException
Direction Units.

Specified by:
getDirectionUnits in interface IEngineEditProperties2
Returns:
A com.esri.arcgis.controls.esriEngineDirectionUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDistanceCorrectionFactor

public void setDistanceCorrectionFactor(double distFactor)
                                 throws java.io.IOException,
                                        AutomationException
Distance Correction Factor.

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

getDistanceCorrectionFactor

public double getDistanceCorrectionFactor()
                                   throws java.io.IOException,
                                          AutomationException
Distance Correction Factor.

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

setAngularCorrectionOffset

public void setAngularCorrectionOffset(double angOffset)
                                throws java.io.IOException,
                                       AutomationException
Angular Correction Offset.

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

getAngularCorrectionOffset

public double getAngularCorrectionOffset()
                                  throws java.io.IOException,
                                         AutomationException
Angular Correction Offset.

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

setUseGroundToGrid

public void setUseGroundToGrid(boolean g2g)
                        throws java.io.IOException,
                               AutomationException
Indicates whether to use Ground to Grid.

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

isUseGroundToGrid

public boolean isUseGroundToGrid()
                          throws java.io.IOException,
                                 AutomationException
Indicates whether to use Ground to Grid.

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

setTargetLayer

public void setTargetLayer(IFeatureLayer layer,
                           int subType)
                    throws java.io.IOException,
                           AutomationException
Sets the EngineEditor's target layer and subtype for new features.

Specified by:
setTargetLayer in interface IEngineEditLayers
Parameters:
layer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
subType - The subType (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

IEngineEditLayers_getTargetLayer

public IFeatureLayer IEngineEditLayers_getTargetLayer()
                                               throws java.io.IOException,
                                                      AutomationException
The EngineEditor's target layer that new features are added to.

Specified by:
IEngineEditLayers_getTargetLayer in interface IEngineEditLayers
Returns:
A reference to a com.esri.arcgis.carto.IFeatureLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentSubtype

public int getCurrentSubtype()
                      throws java.io.IOException,
                             AutomationException
The sub type for new features in the CurrentLayer.

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

isEditable

public boolean isEditable(IFeatureLayer layer)
                   throws java.io.IOException,
                          AutomationException
Indicates if the specific feature layer is editable.

Specified by:
isEditable in interface IEngineEditLayers
Parameters:
layer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
Returns:
The pEditable
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.

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.