OpenTAP 9.24
API Reference
Public Member Functions | List of all members
OpenTap.ITypeMenuModelFactory Interface Reference

Factory class for build menus. This can be used to extend a type with additional menu annotations. More...

Inheritance diagram for OpenTap.ITypeMenuModelFactory:
OpenTap.ITapPlugin

Public Member Functions

ITypeMenuModel CreateModel (ITypeData type)
 Create model should create exactly one IMenuItemModel whose members will be used in the MenuAnnotation. More...
 

Detailed Description

Factory class for build menus. This can be used to extend a type with additional menu annotations.

Member Function Documentation

◆ CreateModel()

ITypeMenuModel OpenTap.ITypeMenuModelFactory.CreateModel ( ITypeData  type)

Create model should create exactly one IMenuItemModel whose members will be used in the MenuAnnotation.

Parameters
typeThe member to show the menu for.
Returns
Shall return null if the model does not support the member.

OpenTAP 9.24 API built Tue Apr 30 2024 13:44:42