AGI Ui Plugins 11 Send comments on this topic.
IAgUiPluginMenuBuilder2 Interface

Description

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

Public Methods

Public Method GetPositionOf Returns a position of the specified menu item or -1 if the specified menu item was not found.
Public Method InsertMenuItem Insert a menu item at a specified position.
Public Method InsertPopupMenu Creates and insert a new popup menu at a specified position.
Public Method InsertSeparator Inserts a menu item separator at a specified position.

Interfaces

Implemented Interface Description
IAgUiPluginMenuBuilder  
© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1