|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEngineObjectInspector
Provides access to members that control a custom feature's property inspector.
This interface is new at ArcGIS 9.3.
The IEngineObjectInspector interface is an optional interface that provides the ability to replace the default ObjectInspector with a custom one.
If you extend a feature class with custom properties, you may want to implement the IEngineObjectInspector interface so that you can display and edit those properties using the ControlsEditingAttributeCommand.
In order to create a custom feature inspector, both the IEngineObjectInspector and IClassExtension interfaces must be implemented.
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.
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(IEngineEnumRow objects,
IEngineEditor editor)
Inspects the properties of the features. |
Method Detail |
---|
int getHWnd() throws IOException, AutomationException
The Object Inpector reads this property to determine what it will display in its right pane. Custom Object Inspectors must supply the hWnd property of the window or control that is going to be displayed.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void inspect(IEngineEnumRow objects, IEngineEditor editor) throws IOException, AutomationException
objects
- A reference to a com.esri.arcgis.controls.IEngineEnumRow (in)editor
- A reference to a com.esri.arcgis.controls.IEngineEditor (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
Use this property to get rows that have been copied using the context menu in the tree control of the Attributes Dialog.
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 |