What's New in AGI UI Plugins 11 | What's New in AGI UI Plugins 10.1 | What's New in AGI UI Plugins 10 | What's New in AGI UI Plugins 9.2.1 | What's New in AGI UI Plugins 9.2 | What's New in AGI UI Plugins 9.1 | What's New in AGI UI Plugins 9
A new interface IAgUiPlugin3DNotify has been added to UI Plugins API to allow UI plugins to be notified when the users interact with a 3D window using a mouse (or similar device). To listen to and handle 3D mouse events, a UI plugin must implement IAgUiPlugin3DNotify interface:
public class SampleUIPlugin : IAgUiPlugin,
IAgUiPlugin3DNotify
| Object | Changes | Version |
|---|---|---|
| AgEUiPlugin3DPickType | Added
|
STK 11 |
| AgEUiPluginKeyMouseState | Added
|
STK 11 |
| IAgUiPlugin3DMouseEventArgs | Added
|
STK 11 |
| IAgUiPlugin3DNotify | Added |
STK 11 |
| IAgUiPlugin3DNotifyContext | Added
|
STK 11 |
| IAgUiPlugin3DPickEventArgs | Added
|
STK 11 |
| Object | Changes | Version |
|---|---|---|
| AgEUiPluginMenuBarKind | Deprecated enum
eUiPluginMenuBarTopLevelMenu. This enumeration is deprecated. A
top level menu bar. |
STK 11 |
Mostly minor bug fixes and type library clean up.
No classes, interfaces or enumerations were added or removed in this version.
| Object | Changes | Version |
|---|---|---|
| AgEUiPluginMenuBarKind | Deprecated enum
eUiPluginMenuBarTopLevelMenu - This enumeration is deprecated.
A top level menu bar. |
STK 10.1 |
The ability to extend top-level STK menu bar. See IAgUiPlugin2. In STK 10, the UI Plugin framework has been enhanced to allow the custom UI plugins extend the top-level menu bar. In order to be able to extend the top-level menu bar, the UI plugin must implement the new interface IAgUiPlugin2 and implement the method OnDisplayMenu:
[C#]
public class CustomUIPlugin : IAgUiPlugin,
IAgUiPlugin2
{
...
public void OnDisplayMenu(string MenuTitle,AgEUiPluginMenuBarKind MenuBarKind, IAgUiPluginMenuBuilder2 MenuBuilder)
{
if (MenuTitle.Equals("Insert"))
{
// Insert the new menu item "My Command" at the position '0'.
MenuBuilder2.InsertMenuItem(0 /*position*/, "CommandA", "My Command", "My Command", null);
}
}
}
...
| Object | Changes | Version |
|---|---|---|
| AgEUiPluginMenuBarKind | Added
|
STK 10 |
| IAgUiPlugin2 | Added |
STK 10 |
| IAgUiPluginMenuBuilder2 | Added
|
STK 10 |
| Object | Changes | Version |
|---|---|---|
| IAgUiPluginEmbeddedControlSite | Changed property
Window |
STK 10 |
| IAgUiPluginHtmlWindowSite | Changed method
NewWindow |
STK 10 |
| IAgUiPluginSite | Changed property
Application |
STK 10 |
| IAgUiPluginWindowCreateParameters | Changed property
DockStyle |
STK 10 |
| IAgUiPluginWindowSite | Changed method
CreateNetToolWindowParam Changed method CreateNetToolWindow Changed method CreateToolWindowParam Changed method CreateToolWindow |
STK 10 |
No classes, interfaces or enumerations were added, changed or removed in this version.
| Object | Changes | Version |
|---|---|---|
| AgEUiPluginHelpDisplayType | Added
|
STK 9.2 |
| IAgUiPluginConfigurationPageActions2 | Added
|
STK 9.2 |
| IAgUiPluginSite2 | Added |
STK 9.2 |
No classes, interfaces or enumerations were changed or removed in this version.
| Object | Changes | Version |
|---|---|---|
| AgEProgressTrackingOptions | Added
|
STK 9.1 |
| AgEProgressTrackingType | Added
|
STK 9.1 |
| AgEToolBarButtonOptions | Added
|
STK 9.1 |
| AgEUiPluginCommandState | Added
|
STK 9.1 |
| AgEUiPluginLogMsgType | Added
|
STK 9.1 |
| IAgProgressTrackCancel | Added
|
STK 9.1 |
| IAgUiPlugin | Added |
STK 9.1 |
| IAgUiPluginCommandParameters | Added
|
STK 9.1 |
| IAgUiPluginCommandTarget | Added
|
STK 9.1 |
| IAgUiPluginConfigurationPageActions | Added
|
STK 9.1 |
| IAgUiPluginConfigurationPageBuilder | Added
|
STK 9.1 |
| IAgUiPluginConfigurationPageSite | Added
|
STK 9.1 |
| IAgUiPluginEmbeddedControl | Added
|
STK 9.1 |
| IAgUiPluginEmbeddedControlSite | Added
|
STK 9.1 |
| IAgUiPluginEmbeddedWindowHandle | Added
|
STK 9.1 |
| IAgUiPluginHtmlWindowSite | Added
|
STK 9.1 |
| IAgUiPluginLicense | Added |
STK 9.1 |
| IAgUiPluginMenuBuilder | Added
|
STK 9.1 |
| IAgUiPluginSelectedObject | Added
|
STK 9.1 |
| IAgUiPluginSelectedObjectCollection | Added
|
STK 9.1 |
| IAgUiPluginSite | Added |
STK 9.1 |
| IAgUiPluginToolbarBuilder | Added
|
STK 9.1 |
| IAgUiPluginWindowCreateParameters | Added
|
STK 9.1 |
| IAgUiPluginWindowSite | Added
|
STK 9.1 |
No classes, interfaces or enumerations were changed or removed in this version.
The AGI UI Plugins library has been added to the STK Object Model libraries.
STK Programming Interface 11.0.1