|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditor3
Provides access to methods that extend the IEditor interface. The additional members control the behavior of the template construction and snapping.
Method Summary | |
---|---|
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 |
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 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 |
Method Detail |
---|
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEditTemplate getTemplate(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addTemplates(IArray editTemplateArray) throws IOException, AutomationException
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.void removeTemplate(IEditTemplate editTemplate) throws IOException, AutomationException
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.void removeAllTemplatesInLayer(ILayer layer) throws IOException, AutomationException
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.void removeAllTemplatesInMap(IMap map) throws IOException, AutomationException
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.IEditTemplate getCurrentTemplate() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCurrentTemplateByRef(IEditTemplate editTemplate) throws IOException, AutomationException
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.void templateModified(IEditTemplate editTemplate) throws IOException, AutomationException
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 |