The Robot Application Programming Interface Delegate Project
RAPID Logo

AbstractMenuCreator Class Reference

Provides caching of popup/dropdown menus and only requires the user to implement fillMenu. More...

Inheritance diagram for AbstractMenuCreator:
Collaboration diagram for AbstractMenuCreator:

List of all members.

Public Member Functions

void dispose ()
Menu getMenu (Control parent)
Menu getMenu (Menu parent)
void refreshDropdown ()

Protected Member Functions

abstract void fillMenu (Menu menu)
 IMPORTANT: implementation MUST invoke disposeMenuItems() as the first call in this method in order to properly dispose of any previous MenuItems.
void disposeMenuItems (Menu menu)
void disposeMenu (Menu menu)

Detailed Description

User should call disposeMenuItems at the beginning of the fillMenu call to properly dispose of the previous menu items


Member Function Documentation

void dispose ( )

Here is the call graph for this function:

void disposeMenu ( Menu  menu) [protected]

Here is the call graph for this function:

void disposeMenuItems ( Menu  menu) [protected]
abstract void fillMenu ( Menu  menu) [protected, pure virtual]
Menu getMenu ( Control  parent)

Here is the call graph for this function:

Menu getMenu ( Menu  parent)

Here is the call graph for this function:

void refreshDropdown ( )

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines