|
|||||||||
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.geoprocessing.IToolboxWorkspaceProxy
public class IToolboxWorkspaceProxy
Provides access to methods on the toolbox workspace object.
A Workspace is a container of spatial and nonspatial datasets such as feature classes, raster datasets, tables and toolboxes. It provides methods to instantiate existing datasets and to create new datasets. Workspaces are classified into types specified by the esriWorkspaceType enumerator: esriFileSystemWorksapce, esriLocalDatabaseWorkspace, and esriRemoteDatabaseWorkspace.
A toolbox workspace can be either an esriFileSystemWorkspace, an esriLocalDatabaseWorkspace, or an esriRemoteDatabaseWorkspace. Toolboxes can exist in a folder, a personal geodatabase, a file geodatabase, or an enterprise geodatabase.
See also IWorkspace.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IToolboxWorkspaceProxy()
|
|
IToolboxWorkspaceProxy(Object obj)
|
protected |
IToolboxWorkspaceProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IGPToolbox |
createToolbox(String name,
String alias)
Creates a new toolbox in the workspace. |
void |
deleteToolbox(String name)
Deletes a toolbox from the workspace. |
IEnumGPToolbox |
getToolboxes()
An enumeration of toolbox objects contained in the workspace. |
IEnumGPToolboxName |
getToolboxNames()
An enumeration of toolbox name objects contained in the workspace. |
IGPToolbox |
openToolbox(String name)
Opens an existing toolbox in the workspace. |
void |
removeListener(String iidStr,
Object theListener)
|
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 |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IToolboxWorkspaceProxy()
public IToolboxWorkspaceProxy(Object obj) throws IOException
IOException
protected IToolboxWorkspaceProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IEnumGPToolboxName getToolboxNames() throws IOException, AutomationException
getToolboxNames
in interface IToolboxWorkspace
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumGPToolbox getToolboxes() throws IOException, AutomationException
getToolboxes
in interface IToolboxWorkspace
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPToolbox openToolbox(String name) throws IOException, AutomationException
openToolbox
in interface IToolboxWorkspace
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPToolbox createToolbox(String name, String alias) throws IOException, AutomationException
createToolbox
in interface IToolboxWorkspace
name
- The name (in)alias
- The alias (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteToolbox(String name) throws IOException, AutomationException
deleteToolbox
in interface IToolboxWorkspace
name
- The name (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 |