|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IGPToolbox2
Provides access to methods on the toolbox object.
| Method Summary | |
|---|---|
void |
alterAlias(String newAlias)
Alters the alias of the toolbox. |
void |
alterDisplayName(String newDisplayName)
Modifies the display name property of the toolbox. |
void |
alterHelpInfo(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,
String name,
String displayName,
String description,
String toolCategory,
IGPToolExtension toolExtension)
Creates a new tool in the toolbox. |
String |
getAlias()
The alias of the toolbox. |
String |
getDisplayName()
The display name of the toolbox. |
int |
getHelpContext()
The context identifier of the topic within the help file for this toolbox. |
String |
getHelpFile()
Name of the (CHM) file containing help information for this toolbox. |
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(String name)
Returns a specific tool (by name) within the toolbox. |
| Method Detail |
|---|
String getPathName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getAlias()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumGPToolName getToolNames()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumGPTool getTools()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGPTool openTool(String name)
throws IOException,
AutomationException
name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isDeleted()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean canCreateTool()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGPTool createTool(int type,
String name,
String displayName,
String description,
String toolCategory,
IGPToolExtension toolExtension)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void alterAlias(String newAlias)
throws IOException,
AutomationException
newAlias - The newAlias (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getHelpFile()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getHelpContext()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void alterHelpInfo(String file,
int context)
throws IOException,
AutomationException
file - The file (in)context - The context (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getDisplayName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean canAlterDisplayName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void alterDisplayName(String newDisplayName)
throws IOException,
AutomationException
newDisplayName - The newDisplayName (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 | ||||||||