STK UI PluginsSend comments on this topic.
IAgUiPlugin Interface

Description

Represents a UI plugin that extends the GUI of the hosting application at run-time.

Public Methods

Public Method OnDisplayConfigurationPageAllows the UI plugin to add its own custom config pages.
Public Method OnDisplayContextMenuAllows the UI plugin to add its own custom context menus.
Public Method OnDisplayMenuOnDisplayMenu is invoked by the hosting application when a context menu or a top level menu is about to be displayed. Using the specified menu builder, UI Plugins can add custom menu items or sub-menus to the context menus or top level menus.
Public Method OnInitializeToolbarAllows the UI plugin to configure a custom toolbar.
Public Method OnShutdownShuts down the UI plugin.
Public Method OnStartupInitializes the UI plugin.

Remarks

IAgUiPlugin interface must be implemented by User Interface plugins. The interface implements methods that are invoked by the hosting environment. The hosting environment calls these methods to start/stop the plugin, initialize the custom toolbars, create context menus, etc.
© 2025 Analytical Graphics, Inc. All Rights Reserved.