com.esri.arcgis.datainterop
Class FMEToolFactory

java.lang.Object
  extended by com.esri.arcgis.datainterop.FMEToolFactory
All Implemented Interfaces:
IGPToolExtensionFactory, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class FMEToolFactory
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGPToolExtensionFactory, ISupportErrorInfo

COM Class 'FMEToolFactory'. Generated 3/19/2015 1:20:46 PM from 'C:\ArcGIS\COM\esriDataInterop.olb'

Description 'FMEToolFactory Class' 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
 
Fields inherited from interface com.esri.arcgis.geoprocessing.IGPToolExtensionFactory
IID, IIDf0a6e875_ec4e_4b83_8599_77b04766d717, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
FMEToolFactory()
          Constructs a FMEToolFactory using ArcGIS Engine.
FMEToolFactory(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FMEToolFactory theFMEToolFactory = (FMEToolFactory) obj;
 
Method Summary
 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.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IUID getCLSID()
          The CLSID of the tool extension factory class.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 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.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void postCreateTool(int parent, IGPToolExtension toolExtension)
          Called immediately following the creation of a new tool extension.
 void release()
          Release a FMEToolFactory.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FMEToolFactory

public FMEToolFactory()
               throws java.io.IOException,
                      java.net.UnknownHostException
Constructs a FMEToolFactory using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

FMEToolFactory

public FMEToolFactory(java.lang.Object obj)
               throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FMEToolFactory theFMEToolFactory = (FMEToolFactory) obj;

Construct a FMEToolFactory using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to FMEToolFactory.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a FMEToolFactory.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

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.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.