|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.editor.IEditorProxy com.esri.arcgis.editor.IEditor2Proxy com.esri.arcgis.editor.IEditor3Proxy
public class IEditor3Proxy
Provides access to methods that extend the IEditor interface. The additional members control the behavior of the template construction and snapping.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IEditor3Proxy()
|
|
IEditor3Proxy(Object obj)
|
protected |
IEditor3Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
addTemplates(IArray editTemplateArray)
Adds the specified edit template. |
IEditTemplate |
getCurrentTemplate()
The current edit template. |
IEditTemplate |
getTemplate(int index)
The edit template for the specified index. |
int |
getTemplateCount()
The number of edit templates. |
void |
removeAllTemplatesInLayer(ILayer layer)
Removes all templates from the specified layer. |
void |
removeAllTemplatesInMap(IMap map)
Removes all templates from the specified map. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
removeTemplate(IEditTemplate editTemplate)
Removes the specified edit template. |
void |
setCurrentTemplateByRef(IEditTemplate editTemplate)
The current edit template. |
void |
templateModified(IEditTemplate editTemplate)
Broadcasts the change to the rest of the system. |
Methods inherited from class com.esri.arcgis.editor.IEditor2Proxy |
---|
getAuxiliarySelectionAnchor, isAuxiliarySelectionAnchorEnabled, resetAuxiliarySelectionAnchorLocation, setAuxiliarySelectionAnchorEnabled |
Methods inherited from class com.esri.arcgis.editor.IEditorProxy |
---|
abortOperation, createSearchShape, delayEvents, enableUndoRedo, findExtension, getCurrentTask, getDisplay, getEditSelection, getEditState, getEditWorkspace, getLocation, getMap, getParent, getScratchWorkspace, getSelectionAnchor, getSelectionCount, getTask, getTaskCount, hasEdits, invertAgent, redoOperation, searchSelection, setCurrentTaskByRef, startEditing, startOperation, stopEditing, stopOperation, undoOperation |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.editor.IEditor2 |
---|
getAuxiliarySelectionAnchor, isAuxiliarySelectionAnchorEnabled, resetAuxiliarySelectionAnchorLocation, setAuxiliarySelectionAnchorEnabled |
Methods inherited from interface com.esri.arcgis.editor.IEditor |
---|
abortOperation, createSearchShape, delayEvents, enableUndoRedo, findExtension, getCurrentTask, getDisplay, getEditSelection, getEditState, getEditWorkspace, getLocation, getMap, getParent, getScratchWorkspace, getSelectionAnchor, getSelectionCount, getTask, getTaskCount, hasEdits, invertAgent, redoOperation, searchSelection, setCurrentTaskByRef, startEditing, startOperation, stopEditing, stopOperation, undoOperation |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IEditor3Proxy()
public IEditor3Proxy(Object obj) throws IOException
IOException
protected IEditor3Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IEditor2Proxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IEditor2Proxy
IOException
public int getTemplateCount() throws IOException, AutomationException
This method returns the total number of templates for all layers within the current edit workspace. The returned value will be 0 if you are not in an edit session. To examine templates for layers outside an edit session refer to IEditTemplateManager in the Carto assembly.
getTemplateCount
in interface IEditor3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEditTemplate getTemplate(int index) throws IOException, AutomationException
getTemplate
in interface IEditor3
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addTemplates(IArray editTemplateArray) throws IOException, AutomationException
addTemplates
in interface IEditor3
editTemplateArray
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeTemplate(IEditTemplate editTemplate) throws IOException, AutomationException
removeTemplate
in interface IEditor3
editTemplate
- A reference to a com.esri.arcgis.carto.IEditTemplate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAllTemplatesInLayer(ILayer layer) throws IOException, AutomationException
removeAllTemplatesInLayer
in interface IEditor3
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAllTemplatesInMap(IMap map) throws IOException, AutomationException
removeAllTemplatesInMap
in interface IEditor3
map
- A reference to a com.esri.arcgis.carto.IMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEditTemplate getCurrentTemplate() throws IOException, AutomationException
getCurrentTemplate
in interface IEditor3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentTemplateByRef(IEditTemplate editTemplate) throws IOException, AutomationException
setCurrentTemplateByRef
in interface IEditor3
editTemplate
- A reference to a com.esri.arcgis.carto.IEditTemplate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void templateModified(IEditTemplate editTemplate) throws IOException, AutomationException
templateModified
in interface IEditor3
editTemplate
- A reference to a com.esri.arcgis.carto.IEditTemplate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |