|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAddInManager
IAddInManager Interface
Method Summary | |
---|---|
void |
addFolder(String pathToAddInFolder)
Adds a path to the folder processing list. |
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 |
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. |
Method Detail |
---|
void initialize(Object pHook, String langID) throws IOException, AutomationException
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.void addFolder(String pathToAddInFolder) throws IOException, AutomationException
pathToAddInFolder
- The pathToAddInFolder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeFolder(String pathToAddInFolder) throws IOException, AutomationException
pathToAddInFolder
- The pathToAddInFolder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refresh(String pathToAddInFolder) throws IOException, AutomationException
pathToAddInFolder
- The pathToAddInFolder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void createObject(GUID addInID, Object pOuter, Object[] ppObj) throws IOException, AutomationException
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.IAddInRecord getRecord(GUID addInID) throws IOException, AutomationException
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.void getIDsInCategory(GUID category, IEnumAddInID[] ppEnumAddInIDs) throws IOException, AutomationException
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.void translateID(String strID, GUID[] pID) throws IOException, AutomationException
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.void shutdown() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumNode getAddInRecords() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEnabled(int enabled) throws IOException, AutomationException
enabled
- A com.esri.arcgis.addinframework.esriAddInMode constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getEnabled() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumAddInFolders getAddInFolders() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumNode getAddInRecordsEx(String xpathQuery) throws IOException, AutomationException
xpathQuery
- The xpathQuery (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUserMode(boolean enabled) throws IOException, AutomationException
enabled
- The enabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUserMode() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getLocale(String[] locale) throws IOException, AutomationException
locale
- The locale (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void initializeEx(Object pHook, String langID, int options) throws IOException, AutomationException
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 |