|
|||||||||
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.IGPToolExtensionGenProxy
public class IGPToolExtensionGenProxy
Provides access to methods on a custom geoprocessing tool extension.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IGPToolExtensionGenProxy()
|
|
IGPToolExtensionGenProxy(Object obj)
|
protected |
IGPToolExtensionGenProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
boolean |
canEditSource()
Returns whether or not the source for the tool extension can be edited. |
void |
execute(IArray paramvalues,
ITrackCancel trackCancel,
IGPEnvironmentManager pEnvMgr,
IGPMessages messages)
Executes the tool extension given the set of parameter values. |
IGPCustomToolHelper |
getCustomToolHelper()
The custom tool helper object associated with the tool extension. |
IUID |
getDialogCLSID()
The CLSID of a custom dialog class to enter/edit parameter values for custom tools associated with this tool extension. |
IArray |
getParameterInfo()
The parameters required to execute the custom tool associated with this tool extension. |
Object |
getRenderer(IGPParameter pParam)
Returns a custom renderer for a given parameter. |
IGPToolExtensionFactoryGen |
getToolExtensionFactory()
The factory object associated with this tool extension. |
boolean |
isLicensed()
Returns whether or not the tool extension has all necessary product licenses to be executed. |
boolean |
isLicensedForProduct()
Returns whether or not the tool extension can be executed within the current application product. |
boolean |
isValid()
Returns whether or not the tool extension is can be executed. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setCustomToolHelperByRef(IGPCustomToolHelper helper)
The custom tool helper object associated with the tool extension. |
void |
synchronizeMetadata(int action,
int interval,
IPropertySet metadata)
Updates the given metadata property set with the current tool extension properties. |
IGPMessages |
validate(IArray paramvalues,
boolean updateValues,
IGPEnvironmentManager pEnvMgr)
Validates the given set of values. |
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 IGPToolExtensionGenProxy()
public IGPToolExtensionGenProxy(Object obj) throws IOException
IOException
protected IGPToolExtensionGenProxy(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 IGPToolExtensionFactoryGen getToolExtensionFactory() throws IOException, AutomationException
getToolExtensionFactory
in interface IGPToolExtensionGen
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPCustomToolHelper getCustomToolHelper() throws IOException, AutomationException
getCustomToolHelper
in interface IGPToolExtensionGen
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomToolHelperByRef(IGPCustomToolHelper helper) throws IOException, AutomationException
setCustomToolHelperByRef
in interface IGPToolExtensionGen
helper
- A reference to a com.esri.arcgis.geoprocessing.IGPCustomToolHelper (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getDialogCLSID() throws IOException, AutomationException
getDialogCLSID
in interface IGPToolExtensionGen
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getParameterInfo() throws IOException, AutomationException
getParameterInfo
in interface IGPToolExtensionGen
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValid() throws IOException, AutomationException
isValid
in interface IGPToolExtensionGen
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLicensedForProduct() throws IOException, AutomationException
isLicensedForProduct
in interface IGPToolExtensionGen
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLicensed() throws IOException, AutomationException
isLicensed
in interface IGPToolExtensionGen
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canEditSource() throws IOException, AutomationException
canEditSource
in interface IGPToolExtensionGen
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getRenderer(IGPParameter pParam) throws IOException, AutomationException
getRenderer
in interface IGPToolExtensionGen
pParam
- A reference to a com.esri.arcgis.geoprocessing.IGPParameter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPMessages validate(IArray paramvalues, boolean updateValues, IGPEnvironmentManager pEnvMgr) throws IOException, AutomationException
validate
in interface IGPToolExtensionGen
paramvalues
- A reference to a com.esri.arcgis.system.IArray (in)updateValues
- The updateValues (in)pEnvMgr
- A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void execute(IArray paramvalues, ITrackCancel trackCancel, IGPEnvironmentManager pEnvMgr, IGPMessages messages) throws IOException, AutomationException
execute
in interface IGPToolExtensionGen
paramvalues
- A reference to a com.esri.arcgis.system.IArray (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)pEnvMgr
- A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)messages
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void synchronizeMetadata(int action, int interval, IPropertySet metadata) throws IOException, AutomationException
synchronizeMetadata
in interface IGPToolExtensionGen
action
- A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)interval
- The interval (in)metadata
- A reference to a com.esri.arcgis.system.IPropertySet (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 |