OpenTAP 9.27
API Reference
Public Member Functions | List of all members
OpenTap.IMenuModelFactory Interface Reference

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

Inheritance diagram for OpenTap.IMenuModelFactory:
OpenTap.ITapPlugin

Public Member Functions

IMenuModel CreateModel (IMemberData member)
 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 member with additional menu annotations.

Member Function Documentation

◆ CreateModel()

IMenuModel OpenTap.IMenuModelFactory.CreateModel ( IMemberData  member)

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

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

OpenTAP 9.27 API built Wed Nov 27 2024 13:14:45