|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPToolExtensionFactory
Provides access to methods on a geoprocessing tool extension factory object.
Method Summary | |
---|---|
boolean |
canEdit()
Returns whether or not the factory supports editing instances of the tool extension. |
IGPToolExtension |
create(int parent,
IGPToolbox destination,
String[] defaultName,
String[] defaultDisplayName,
String[] defaultDescription)
Creates a new instance of a tool extension in the given toolbox. |
void |
edit(int parent,
IGPToolExtension toolExtension)
Invokes a window to edit a tool extension. |
IUID |
getCLSID()
The CLSID of the tool extension factory class. |
int |
getLargeImage()
A 32x32 bitmap to associate with the tool extension. |
int |
getLargeInvalidImage()
A 32x32 bitmap to associate with invalid instances of the tool extension. |
int |
getLargeUnlicensedImage()
A 32x32 bitmap to associate with unlicensed instances of the tool extension. |
int |
getSmallImage()
A 16x16 bitmap to associate with the tool extension. |
int |
getSmallInvalidImage()
A 16x16 bitmap to associate with invalid instances of the tool extension. |
int |
getSmallUnlicensedImage()
A 16x16 bitmap to associate with unlicensed instances of the tool extension. |
String |
getToolExtensionName()
Name of the tool extension factory class. |
void |
postCreateTool(int parent,
IGPToolExtension toolExtension)
Called immediately following the creation of a new tool extension. |
Method Detail |
---|
IUID getCLSID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getToolExtensionName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSmallImage() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLargeImage() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSmallInvalidImage() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLargeInvalidImage() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSmallUnlicensedImage() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLargeUnlicensedImage() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPToolExtension create(int parent, IGPToolbox destination, String[] defaultName, String[] defaultDisplayName, String[] defaultDescription) throws IOException, AutomationException
parent
- The parent (A COM typedef) (in)destination
- A reference to a com.esri.arcgis.geoprocessing.IGPToolbox (in)defaultName
- The defaultName (out: use single element array)defaultDisplayName
- The defaultDisplayName (out: use single element array)defaultDescription
- The defaultDescription (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void postCreateTool(int parent, IGPToolExtension toolExtension) throws IOException, AutomationException
parent
- The parent (A COM typedef) (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.boolean canEdit() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void edit(int parent, IGPToolExtension toolExtension) throws IOException, AutomationException
parent
- The parent (A COM typedef) (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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |