com.esri.arcgis.geoprocessing
Interface IGPToolbox2

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IGPToolbox3
All Known Implementing Classes:
IGPToolbox2Proxy, IGPToolbox3Proxy

public interface IGPToolbox2
extends java.io.Serializable

COM Interface 'IGPToolbox2'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description: 'Provides access to methods on the toolbox object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID2feacd0b_9351_4c88_b424_c39f1dbf3230
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void alterAlias(java.lang.String newAlias)
          Alters the alias of the toolbox.
 void alterDisplayName(java.lang.String newDisplayName)
          Modifies the display name property of the toolbox.
 void alterHelpInfo(java.lang.String file, int context)
          Sets the help (CHM) file and help context identifier containing help for this toolbox.
 boolean canAlterDisplayName()
          Returns whether or not the display name property can be modified.
 boolean canCreateTool()
          Returns whether or not a new tool can be created in the toolbox.
 IGPTool createTool(int type, java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String toolCategory, IGPToolExtension toolExtension)
          Creates a new tool in the toolbox.
 java.lang.String getAlias()
          The alias of the toolbox.
 java.lang.String getDisplayName()
          The display name of the toolbox.
 int getHelpContext()
          The context identifier of the topic within the help file for this toolbox.
 java.lang.String getHelpFile()
          Name of the (CHM) file containing help information for this toolbox.
 java.lang.String getPathName()
          The path name of the toolbox.
 IEnumGPToolName getToolNames()
          An enumeration of all the geoprocessing tool name objects contained within the toolbox.
 IEnumGPTool getTools()
          An enumeration of all the geoprocessing tools contained within the toolbox.
 boolean isDeleted()
          Indicates if the toolbox has been deleted.
 IGPTool openTool(java.lang.String name)
          Returns a specific tool (by name) within the toolbox.
 

Field Detail

IID2feacd0b_9351_4c88_b424_c39f1dbf3230

static final int IID2feacd0b_9351_4c88_b424_c39f1dbf3230
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getPathName

java.lang.String getPathName()
                             throws java.io.IOException,
                                    AutomationException
The path name of the toolbox.

Returns:
The path
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAlias

java.lang.String getAlias()
                          throws java.io.IOException,
                                 AutomationException
The alias of the toolbox.

Returns:
The alias
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToolNames

IEnumGPToolName getToolNames()
                             throws java.io.IOException,
                                    AutomationException
An enumeration of all the geoprocessing tool name objects contained within the toolbox.

Returns:
A reference to a com.esri.arcgis.geoprocessing.IEnumGPToolName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTools

IEnumGPTool getTools()
                     throws java.io.IOException,
                            AutomationException
An enumeration of all the geoprocessing tools contained within the toolbox.

Returns:
A reference to a com.esri.arcgis.geoprocessing.IEnumGPTool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openTool

IGPTool openTool(java.lang.String name)
                 throws java.io.IOException,
                        AutomationException
Returns a specific tool (by name) within the toolbox.

Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPTool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDeleted

boolean isDeleted()
                  throws java.io.IOException,
                         AutomationException
Indicates if the toolbox has been deleted.

Returns:
The deleted
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canCreateTool

boolean canCreateTool()
                      throws java.io.IOException,
                             AutomationException
Returns whether or not a new tool can be created in the toolbox.

Returns:
The canCreateTool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createTool

IGPTool createTool(int type,
                   java.lang.String name,
                   java.lang.String displayName,
                   java.lang.String description,
                   java.lang.String toolCategory,
                   IGPToolExtension toolExtension)
                   throws java.io.IOException,
                          AutomationException
Creates a new tool in the toolbox.

Parameters:
type - A com.esri.arcgis.geoprocessing.esriGPToolType constant (in)
name - The name (in)
displayName - The displayName (in)
description - The description (in)
toolCategory - The toolCategory (in)
toolExtension - A reference to a com.esri.arcgis.geoprocessing.IGPToolExtension (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPTool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterAlias

void alterAlias(java.lang.String newAlias)
                throws java.io.IOException,
                       AutomationException
Alters the alias of the toolbox.

Parameters:
newAlias - The newAlias (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpFile

java.lang.String getHelpFile()
                             throws java.io.IOException,
                                    AutomationException
Name of the (CHM) file containing help information for this toolbox.

Returns:
The file
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpContext

int getHelpContext()
                   throws java.io.IOException,
                          AutomationException
The context identifier of the topic within the help file for this toolbox.

Returns:
The context
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterHelpInfo

void alterHelpInfo(java.lang.String file,
                   int context)
                   throws java.io.IOException,
                          AutomationException
Sets the help (CHM) file and help context identifier containing help for this toolbox.

Parameters:
file - The file (in)
context - The context (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayName

java.lang.String getDisplayName()
                                throws java.io.IOException,
                                       AutomationException
The display name of the toolbox.

Returns:
The displayName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canAlterDisplayName

boolean canAlterDisplayName()
                            throws java.io.IOException,
                                   AutomationException
Returns whether or not the display name property can be modified.

Returns:
The canAlterDisplayName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterDisplayName

void alterDisplayName(java.lang.String newDisplayName)
                      throws java.io.IOException,
                             AutomationException
Modifies the display name property of the toolbox.

Parameters:
newDisplayName - The newDisplayName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.