com.esri.arcgis.carto
Interface IContextAnalyzer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BasemapSubLayerRasterLayerContextAnalyzer, GroupLayerContextAnalyzer, IContextAnalyzerProxy, ImageServerLayerContextAnalyzer, IMSSubLayerContextAnalyzer, MapViewCommandsContextAnalyzer, RasterBasemapLayerContextAnalyzer, RasterLayerContextAnalyzer

public interface IContextAnalyzer
extends java.io.Serializable

COM Interface 'IContextAnalyzer'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members used to determine the correct context menu id for a given context 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID0c452012_84cb_11d2_ae68_080009ec732a
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void getContextMenu(java.lang.Object contextObject, IUID[] clsidMenu)
          Returns an appropriate context menu id, if possible.
 int getPriority()
          Priority for the context analyzer: 0 (highest) - 99 (lowest).
 void setPriority(int priority)
          Priority for the context analyzer: 0 (highest) - 99 (lowest).
 

Field Detail

IID0c452012_84cb_11d2_ae68_080009ec732a

static final int IID0c452012_84cb_11d2_ae68_080009ec732a
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getPriority

int getPriority()
                throws java.io.IOException,
                       AutomationException
Priority for the context analyzer: 0 (highest) - 99 (lowest).

Returns:
The priority
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPriority

void setPriority(int priority)
                 throws java.io.IOException,
                        AutomationException
Priority for the context analyzer: 0 (highest) - 99 (lowest).

Parameters:
priority - The priority (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContextMenu

void getContextMenu(java.lang.Object contextObject,
                    IUID[] clsidMenu)
                    throws java.io.IOException,
                           AutomationException
Returns an appropriate context menu id, if possible. Returns null if it cannot determine an applicable context menu.

Parameters:
contextObject - A reference to another Object (IUnknown) (in)
clsidMenu - A reference to a com.esri.arcgis.system.IUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.