com.esri.arcgis.geoprocessing
Class IGPToolExtensionFactoryProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geoprocessing.IGPToolExtensionFactoryProxy
All Implemented Interfaces:
IGPToolExtensionFactory, java.io.Externalizable, java.io.Serializable

public class IGPToolExtensionFactoryProxy
extends com.esri.arcgis.interop.Dispatch
implements IGPToolExtensionFactory, java.io.Serializable

Internal use class Proxy for COM Interface 'IGPToolExtensionFactory'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description: 'Provides access to methods on a geoprocessing tool extension factory 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geoprocessing.IGPToolExtensionFactory
IID, IIDf0a6e875_ec4e_4b83_8599_77b04766d717
 
Constructor Summary
  IGPToolExtensionFactoryProxy()
          For internal use only
  IGPToolExtensionFactoryProxy(java.lang.Object obj)
           
protected IGPToolExtensionFactoryProxy(java.lang.Object obj, java.lang.String iid)
           
  IGPToolExtensionFactoryProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IGPToolExtensionFactoryProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 boolean canEdit()
          Returns whether or not the factory supports editing instances of the tool extension.
 IGPToolExtension create(int parent, IGPToolbox destination, java.lang.String[] defaultName, java.lang.String[] defaultDisplayName, java.lang.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.
 java.lang.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(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IGPToolExtensionFactoryProxy

public IGPToolExtensionFactoryProxy(java.lang.String CLSID,
                                    java.lang.String host,
                                    com.esri.arcgis.interop.AuthInfo authInfo)
                             throws java.net.UnknownHostException,
                                    java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IGPToolExtensionFactoryProxy

public IGPToolExtensionFactoryProxy()
For internal use only


IGPToolExtensionFactoryProxy

public IGPToolExtensionFactoryProxy(java.lang.Object obj)
                             throws java.io.IOException
Throws:
java.io.IOException

IGPToolExtensionFactoryProxy

protected IGPToolExtensionFactoryProxy(java.lang.Object obj,
                                       java.lang.String iid)
                                throws java.io.IOException
Throws:
java.io.IOException

IGPToolExtensionFactoryProxy

protected IGPToolExtensionFactoryProxy(java.lang.String CLSID,
                                       java.lang.String iid,
                                       java.lang.String host,
                                       com.esri.arcgis.interop.AuthInfo authInfo)
                                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getCLSID

public IUID getCLSID()
              throws java.io.IOException,
                     AutomationException
The CLSID of the tool extension factory class.

Specified by:
getCLSID in interface IGPToolExtensionFactory
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToolExtensionName

public java.lang.String getToolExtensionName()
                                      throws java.io.IOException,
                                             AutomationException
Name of the tool extension factory class.

Specified by:
getToolExtensionName in interface IGPToolExtensionFactory
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSmallImage

public int getSmallImage()
                  throws java.io.IOException,
                         AutomationException
A 16x16 bitmap to associate with the tool extension.

Specified by:
getSmallImage in interface IGPToolExtensionFactory
Returns:
The image (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLargeImage

public int getLargeImage()
                  throws java.io.IOException,
                         AutomationException
A 32x32 bitmap to associate with the tool extension.

Specified by:
getLargeImage in interface IGPToolExtensionFactory
Returns:
The image (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSmallInvalidImage

public int getSmallInvalidImage()
                         throws java.io.IOException,
                                AutomationException
A 16x16 bitmap to associate with invalid instances of the tool extension.

Specified by:
getSmallInvalidImage in interface IGPToolExtensionFactory
Returns:
The image (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLargeInvalidImage

public int getLargeInvalidImage()
                         throws java.io.IOException,
                                AutomationException
A 32x32 bitmap to associate with invalid instances of the tool extension.

Specified by:
getLargeInvalidImage in interface IGPToolExtensionFactory
Returns:
The image (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSmallUnlicensedImage

public int getSmallUnlicensedImage()
                            throws java.io.IOException,
                                   AutomationException
A 16x16 bitmap to associate with unlicensed instances of the tool extension.

Specified by:
getSmallUnlicensedImage in interface IGPToolExtensionFactory
Returns:
The image (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLargeUnlicensedImage

public int getLargeUnlicensedImage()
                            throws java.io.IOException,
                                   AutomationException
A 32x32 bitmap to associate with unlicensed instances of the tool extension.

Specified by:
getLargeUnlicensedImage in interface IGPToolExtensionFactory
Returns:
The image (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

public IGPToolExtension create(int parent,
                               IGPToolbox destination,
                               java.lang.String[] defaultName,
                               java.lang.String[] defaultDisplayName,
                               java.lang.String[] defaultDescription)
                        throws java.io.IOException,
                               AutomationException
Creates a new instance of a tool extension in the given toolbox.

Specified by:
create in interface IGPToolExtensionFactory
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPToolExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

postCreateTool

public void postCreateTool(int parent,
                           IGPToolExtension toolExtension)
                    throws java.io.IOException,
                           AutomationException
Called immediately following the creation of a new tool extension.

Specified by:
postCreateTool in interface IGPToolExtensionFactory
Parameters:
parent - The parent (A COM typedef) (in)
toolExtension - A reference to a com.esri.arcgis.geoprocessing.IGPToolExtension (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canEdit

public boolean canEdit()
                throws java.io.IOException,
                       AutomationException
Returns whether or not the factory supports editing instances of the tool extension.

Specified by:
canEdit in interface IGPToolExtensionFactory
Returns:
The canEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

edit

public void edit(int parent,
                 IGPToolExtension toolExtension)
          throws java.io.IOException,
                 AutomationException
Invokes a window to edit a tool extension.

Specified by:
edit in interface IGPToolExtensionFactory
Parameters:
parent - The parent (A COM typedef) (in)
toolExtension - A reference to a com.esri.arcgis.geoprocessing.IGPToolExtension (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.