AGI UI PluginsSend comments on this topic.
IAgUiPluginMenuBuilder Interface

Description

IAgUiPluginMenuBuilder extends the existing context menu extensibility mechanism. Using IAgUiPluginMenuBuilder the UI Plugin can now insert menu items and pop-up menus at a specified position of the parent menu.

Public Methods

Public Method GetPositionOfReturns a position of the specified menu item or -1 if the specified menu item was not found.
Public Method InsertMenuItemInsert a menu item at a specified position.
Public Method InsertPopupMenuCreates and insert a new popup menu at a specified position.
Public Method InsertSeparatorInserts a menu item separator at a specified position.

Remarks

Methods exposed by thet IAgUiPluginMenuBuilder interface can be used by User Interface plugins to merge custom context menus and the standard context menus provided by the hosting environment. Using the IAgUiPluginMenuBuilder interface, User Interface plugins can add custom context menu items, sub-menus and menu separators.
© 2025 Analytical Graphics, Inc. All Rights Reserved.