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.
![]() | Returns a position of the specified menu item or -1 if the specified menu item was not found. |
![]() | Insert a menu item at a specified position. |
![]() | Creates and insert a new popup menu at a specified position. |
![]() | Inserts a menu item separator at a specified position. |
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.