com.esri.arcgis.framework
Interface esriCustomizationEvent

All Superinterfaces:
Serializable

public interface esriCustomizationEvent
extends Serializable

Customization event types.

Remarks

Use the esriCustomizationEvent enumeration with the ICustomizationFilter::OnCustomizationEvent method.


esriCEAddCategory - Occurs when the Categories list on the Customize dialog is populated. This can be used to remove categories from the Categories list in the Customize dialog.

esriCEAddCommand - Occurs when the Commands list on the Customize dialog is populated. This can be used to remove commands from the Commands list in the Customize dialog.

esriCEShowCustDlg - Occurs when the Customize dialog is requested to be opened. This can be used to prevent the Customize dialog from being opened.

esriCEShowVBAIDE - Occurs when the Visual Basic Editor is requested to be opened. This can be used to prevent the Visual Basic Editor from being opened.

esriCEInvokeCommand - Occurs when a command on a commandbar is about to be executed. This can be used to prevent a particular command from being executed.

esriCEShowCustCtxMenu - Occurs when the Customize context menu is popped up for a command item. This can be used to prevent the Customize context menu from being displayed when a you right-click on a command item when the Customize dialog is open.

esriCERunVBACode - Occurs after the IVbaApplication::RunVBAMacro method is executed.

esriCEEditVBACode - Occurs after calls to IVbaApplication::CreateCodeModule, IVbaApplication::InsertCode, and IVbaApplication::RemoveCodeModule .

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
ICustomizationFilter.onCustomizationEvent(int, java.lang.Object)

Field Summary
static int esriCEAddCategory
          Occurs when the Categories list on the Customize dialog is populated.
static int esriCEAddCommand
          Occurs when the Commands list on the Customize dialog is populated.
static int esriCEEditVBACode
          Occurs before VBA code is programmatically edited.
static int esriCEInvokeCommand
          Occurs when a command on a commandbar is about to be executed.
static int esriCERunVBACode
          Occurs before VBA code is run programmatically.
static int esriCEShowCustCtxMenu
          Occurs when the Customize context menu is popped up for a command item.
static int esriCEShowCustDlg
          Occurs when the Customize dialog is requested to be opened.
static int esriCEShowVBAIDE
          Occurs when the Visual Basic Editor is requested to be opened.
 

Field Detail

esriCEAddCategory

static final int esriCEAddCategory
Occurs when the Categories list on the Customize dialog is populated.

See Also:
Constant Field Values

esriCEAddCommand

static final int esriCEAddCommand
Occurs when the Commands list on the Customize dialog is populated.

See Also:
Constant Field Values

esriCEShowCustDlg

static final int esriCEShowCustDlg
Occurs when the Customize dialog is requested to be opened.

See Also:
Constant Field Values

esriCEShowVBAIDE

static final int esriCEShowVBAIDE
Occurs when the Visual Basic Editor is requested to be opened.

See Also:
Constant Field Values

esriCEInvokeCommand

static final int esriCEInvokeCommand
Occurs when a command on a commandbar is about to be executed.

See Also:
Constant Field Values

esriCEShowCustCtxMenu

static final int esriCEShowCustCtxMenu
Occurs when the Customize context menu is popped up for a command item.

See Also:
Constant Field Values

esriCERunVBACode

static final int esriCERunVBACode
Occurs before VBA code is run programmatically.

See Also:
Constant Field Values

esriCEEditVBACode

static final int esriCEEditVBACode
Occurs before VBA code is programmatically edited.

See Also:
Constant Field Values