|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGxCatalog
Provides access to members that manages a GX catalog.
The
GxCatalog object implements the
IGxCatalog interface. It lets you connect and disconnect
folder objects. It also maintains the file filter associated with
ArcCatalog.
The GxCatalog object represents your actual tree of
data, as is shown in the tree view (the top-level object in the
tree view). From the GxCatalog object, you can navigate to
any of its descendants to access and manipulate them. The
GxCatalog object is a type of GxObject and a type
of GxObjectContainer because it is an item in the tree
view and it contains additional GxObjects.
The GxCatalog object is also an event source, as it
monitors the adding, deleting, and changing of the GxObjects within
the Catalog through the IGxCatalogEvents
interface.
Method Summary | |
---|---|
void |
close()
Closes the catalog object. |
IGxFolder |
connectFolder(String folderPath)
Adds a folder connection to the catalog and returns the folder object. |
String |
constructFullName(IGxObject gxObject)
Constructs the full name for an object. |
void |
disconnectFolder(String folderPath)
Removes a folder connection from the catalog. |
IGxFileFilter |
getFileFilter()
The file filter. |
Object |
getObjectFromFullName(String fullName,
int[] numFound)
Finds an object in the catalog tree given its full name. |
IGxObject |
getSelectedObject()
The first selected object, or the location if no objects are selected. |
IGxSelection |
getSelection()
The selection. |
void |
objectAdded(IGxObject gxObject)
Called when a new object has been added to part of the catalog. |
void |
objectChanged(IGxObject gxObject)
Called when an existing object from part of the catalog has been changed. |
void |
objectDeleted(IGxObject gxObject)
Called when an existing object has been deleted from part of the catalog. |
void |
objectRefreshed(IGxObject gxObject)
Called when an existing object has been refreshed. |
void |
setLocation(String rhs1)
The location to the specified path. |
Method Detail |
---|
void close() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGxSelection getSelection() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGxObject getSelectedObject() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLocation(String rhs1) throws IOException, AutomationException
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGxFileFilter getFileFilter() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGxFolder connectFolder(String folderPath) throws IOException, AutomationException
folderPath
- The folderPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void disconnectFolder(String folderPath) throws IOException, AutomationException
folderPath
- The folderPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void objectAdded(IGxObject gxObject) throws IOException, AutomationException
gxObject
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void objectDeleted(IGxObject gxObject) throws IOException, AutomationException
gxObject
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void objectChanged(IGxObject gxObject) throws IOException, AutomationException
gxObject
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void objectRefreshed(IGxObject gxObject) throws IOException, AutomationException
gxObject
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String constructFullName(IGxObject gxObject) throws IOException, AutomationException
gxObject
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getObjectFromFullName(String fullName, int[] numFound) throws IOException, AutomationException
An example of duplicate names (numFound > 1) is a CAD drawing. ArcCatalog represents a CAD drawing as two GxObjects - as a CAD drawing and as a CAD dataset.
fullName
- The fullName (in)numFound
- The numFound (out: use single element array)
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 |