|
|||||||||
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.addinframework.IAddInManagerProxy
public class IAddInManagerProxy
IAddInManager Interface
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IAddInManagerProxy()
|
|
IAddInManagerProxy(Object obj)
|
protected |
IAddInManagerProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addFolder(String pathToAddInFolder)
Adds a path to the folder processing list. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
createObject(GUID addInID,
Object pOuter,
Object[] ppObj)
Create an instance of the specified object. |
IEnumAddInFolders |
getAddInFolders()
Retrieves add-in probing folders. |
IEnumNode |
getAddInRecords()
Retrieves all registered addin records. |
IEnumNode |
getAddInRecordsEx(String xpathQuery)
Retrieves registered addin records matching the specified xpath query. |
int |
getEnabled()
Indicates if the addin manager is enabled. |
void |
getIDsInCategory(GUID category,
IEnumAddInID[] ppEnumAddInIDs)
Enumerate objects IDs within a specified category. |
void |
getLocale(String[] locale)
Retrives the current locale. |
IAddInRecord |
getRecord(GUID addInID)
Returns the record asociated with the specified ID. |
void |
initialize(Object pHook,
String langID)
Called to initialize the addin manager (normally called at application startup). |
void |
initializeEx(Object pHook,
String langID,
int options)
Called to initialize the addin manager (normally called at application startup). |
boolean |
isUserMode()
Indicates if the add-in manager is in user mode. |
void |
refresh(String pathToAddInFolder)
Refreshes AddIns information in the specified folder. |
void |
removeFolder(String pathToAddInFolder)
Removes a path from the folder processing list. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setEnabled(int enabled)
Indicates if the add-in manager is enabled. |
void |
setUserMode(boolean enabled)
Indicates if the add-in manager is in user mode. |
void |
shutdown()
Called to shutdown the addin manager (normally called at application shutdown). |
void |
translateID(String strID,
GUID[] pID)
Translates an AddIn string ID to it's corresponding registered GUID. |
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 IAddInManagerProxy()
public IAddInManagerProxy(Object obj) throws IOException
IOException
protected IAddInManagerProxy(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 void initialize(Object pHook, String langID) throws IOException, AutomationException
initialize
in interface IAddInManager
pHook
- A reference to another Object (IUnknown) (in)langID
- The langID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addFolder(String pathToAddInFolder) throws IOException, AutomationException
addFolder
in interface IAddInManager
pathToAddInFolder
- The pathToAddInFolder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeFolder(String pathToAddInFolder) throws IOException, AutomationException
removeFolder
in interface IAddInManager
pathToAddInFolder
- The pathToAddInFolder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh(String pathToAddInFolder) throws IOException, AutomationException
refresh
in interface IAddInManager
pathToAddInFolder
- The pathToAddInFolder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createObject(GUID addInID, Object pOuter, Object[] ppObj) throws IOException, AutomationException
createObject
in interface IAddInManager
addInID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)pOuter
- A reference to another Object (IUnknown) (in)ppObj
- A reference to another Object (IUnknown) (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAddInRecord getRecord(GUID addInID) throws IOException, AutomationException
getRecord
in interface IAddInManager
addInID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getIDsInCategory(GUID category, IEnumAddInID[] ppEnumAddInIDs) throws IOException, AutomationException
getIDsInCategory
in interface IAddInManager
category
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppEnumAddInIDs
- A reference to a com.esri.arcgis.addinframework.IEnumAddInID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void translateID(String strID, GUID[] pID) throws IOException, AutomationException
translateID
in interface IAddInManager
strID
- The strID (in)pID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws IOException, AutomationException
shutdown
in interface IAddInManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumNode getAddInRecords() throws IOException, AutomationException
getAddInRecords
in interface IAddInManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnabled(int enabled) throws IOException, AutomationException
setEnabled
in interface IAddInManager
enabled
- A com.esri.arcgis.addinframework.esriAddInMode constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getEnabled() throws IOException, AutomationException
getEnabled
in interface IAddInManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumAddInFolders getAddInFolders() throws IOException, AutomationException
getAddInFolders
in interface IAddInManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumNode getAddInRecordsEx(String xpathQuery) throws IOException, AutomationException
getAddInRecordsEx
in interface IAddInManager
xpathQuery
- The xpathQuery (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUserMode(boolean enabled) throws IOException, AutomationException
setUserMode
in interface IAddInManager
enabled
- The enabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUserMode() throws IOException, AutomationException
isUserMode
in interface IAddInManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getLocale(String[] locale) throws IOException, AutomationException
getLocale
in interface IAddInManager
locale
- The locale (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initializeEx(Object pHook, String langID, int options) throws IOException, AutomationException
initializeEx
in interface IAddInManager
pHook
- A reference to another Object (IUnknown) (in)langID
- The langID (in)options
- A com.esri.arcgis.addinframework.esriAddInSettings constant (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 |