|
|||||||||
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.IGPToolExtensionFactoryProxy
public class IGPToolExtensionFactoryProxy
Provides access to methods on a geoprocessing tool extension factory object.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IGPToolExtensionFactoryProxy()
|
|
IGPToolExtensionFactoryProxy(Object obj)
|
protected |
IGPToolExtensionFactoryProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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. |
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 IGPToolExtensionFactoryProxy()
public IGPToolExtensionFactoryProxy(Object obj) throws IOException
IOException
protected IGPToolExtensionFactoryProxy(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 IUID getCLSID() throws IOException, AutomationException
getCLSID
in interface IGPToolExtensionFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getToolExtensionName() throws IOException, AutomationException
getToolExtensionName
in interface IGPToolExtensionFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSmallImage() throws IOException, AutomationException
getSmallImage
in interface IGPToolExtensionFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLargeImage() throws IOException, AutomationException
getLargeImage
in interface IGPToolExtensionFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSmallInvalidImage() throws IOException, AutomationException
getSmallInvalidImage
in interface IGPToolExtensionFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLargeInvalidImage() throws IOException, AutomationException
getLargeInvalidImage
in interface IGPToolExtensionFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSmallUnlicensedImage() throws IOException, AutomationException
getSmallUnlicensedImage
in interface IGPToolExtensionFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLargeUnlicensedImage() throws IOException, AutomationException
getLargeUnlicensedImage
in interface IGPToolExtensionFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPToolExtension create(int parent, IGPToolbox destination, String[] defaultName, String[] defaultDisplayName, String[] defaultDescription) throws IOException, AutomationException
create
in interface IGPToolExtensionFactory
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.public void postCreateTool(int parent, IGPToolExtension toolExtension) throws IOException, AutomationException
postCreateTool
in interface IGPToolExtensionFactory
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.public boolean canEdit() throws IOException, AutomationException
canEdit
in interface IGPToolExtensionFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void edit(int parent, IGPToolExtension toolExtension) throws IOException, AutomationException
edit
in interface IGPToolExtensionFactory
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 |