|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IObjectInspector
Provides access to members that control a custom feature's property inspector.
The IObjectInspector interface is an optional interface that provides the ability to replace the ArcMap editor’s default ObjectInspector with a custom one.
In order to create a custom feature inspector, both the IObjectInspector and IClassExtension interfaces must be implemented.
This diagram shows the portion of the Object Inspector that is customizable:
Use the hWnd property to set the control you want to display in the customizable area. You can then customize the actions of the Feature Inspector using the Inspect method. This method is called whenever a feature class or feature is clicked in the Tree View.
If you extend a feature class with custom properties, you may want to implement the IObjectInspector interface so that you can display and edit those properties using the Attributes Dialog located on the Editor toolbar.
com.esri.arcgis.editor.IShortTransactionObjectInspector
Method Summary | |
---|---|
void |
clear()
Clear the inspector before inspecting another object. |
void |
copy(IRow srcRow)
Copies the values from srcRow to the row being edited. |
int |
getHWND()
The window handle for the inspector. |
void |
inspect(IEnumRow objects,
IEditor editor)
Inspects the properties of the features. |
Method Detail |
---|
int getHWND() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void inspect(IEnumRow objects, IEditor editor) throws IOException, AutomationException
objects
- A reference to a com.esri.arcgis.editor.IEnumRow (in)editor
- A reference to a com.esri.arcgis.editor.IEditor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clear() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void copy(IRow srcRow) throws IOException, AutomationException
srcRow
- A reference to a com.esri.arcgis.geodatabase.IRow (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 |