Micro Focus Content Manager SDK 9.3
HP.HPTRIM.SDK.MenuPopup Class Reference

MenuPopup : This class is a derived MenuItem class that represents a popup submenu within in a context menu More...

Inheritance diagram for HP.HPTRIM.SDK.MenuPopup:
HP.HPTRIM.SDK.MenuItem HP.HPTRIM.SDK.TrimSDKObject

Public Member Functions

System.Collections.IEnumerator GetEnumerator ()
 
 MenuPopup (Database forDatabase, MenuPopupIds standardPopupId)
 constructs a simple popup definition to allow it to be saved as part of a WebClientCommandBarUserOptions config setting More...
 
MenuItem getItem (int idx)
 
void AddItem (MenuItem newItem)
 
void InsertItem (MenuItem newItem, int atIndex)
 
- Public Member Functions inherited from HP.HPTRIM.SDK.TrimSDKObject
 TrimSDKObject ()
 

Static Public Member Functions

static MenuPopup GetMenuForTrimObject (Database forDatabase, BaseObjectTypes objectType)
 Gets a MenuPopup for the specified TRIM Object, using the supplied database for captioning/licensing More...
 
static MenuPopup GetMenuForTrimObject (Database forDatabase, BaseObjectTypes objectType, MenuPopupCommandEnabler pEnablerDelegate)
 Gets a MenuPopup for the specified TRIM Object, using the supplied database for captioning/licensing More...
 
static MenuPopup CreateCustomPopupMenu (Database forDatabase, BaseObjectTypes forObjectType, string popupId, string popupCaption)
 

Properties

override MenuItem.MenuItemTypes MenuItemType [get]
 
MenuPopupIds PopupId [get]
 Gets a MenuPopupIds enumerated value defining one of the standard popup menus defined in TRIM. More...
 
string CustomPopupId [get]
 Gets a string defining a custom-defined popup More...
 
string MenuText [get]
 
int ItemCount [get]
 
- Properties inherited from HP.HPTRIM.SDK.MenuItem
virtual MenuItem.MenuItemTypes MenuItemType [get]
 
virtual Icons Icon [get]
 Gets the identifier of the TRIM icon associated with this command. More...
 
- Properties inherited from HP.HPTRIM.SDK.TrimSDKObject
string ErrorMessage [get]
 All TRIM SDK objects have an ErrorMessage property which can be used to examine any error that may have occurred in the most recent method call. More...
 
TrimException Error [get]
 All TRIM SDK objects have an Error property which can be used to examine any error that may have occurred in the most recent method call. More...
 

Additional Inherited Members

- Public Types inherited from HP.HPTRIM.SDK.MenuItem
enum  MenuItemTypes { MenuItemTypes.MenuItemCommand, MenuItemTypes.MenuItemPopup, MenuItemTypes.MenuItemCustomPopup, MenuItemTypes.MenuItemSeparator }
 

Detailed Description

MenuPopup : This class is a derived MenuItem class that represents a popup submenu within in a context menu

Constructor & Destructor Documentation

HP.HPTRIM.SDK.MenuPopup.MenuPopup ( Database  forDatabase,
MenuPopupIds  standardPopupId 
)

constructs a simple popup definition to allow it to be saved as part of a WebClientCommandBarUserOptions config setting

Member Function Documentation

void HP.HPTRIM.SDK.MenuPopup.AddItem ( MenuItem  newItem)
static MenuPopup HP.HPTRIM.SDK.MenuPopup.CreateCustomPopupMenu ( Database  forDatabase,
BaseObjectTypes  forObjectType,
string  popupId,
string  popupCaption 
)
static
System.Collections.IEnumerator HP.HPTRIM.SDK.MenuPopup.GetEnumerator ( )
MenuItem HP.HPTRIM.SDK.MenuPopup.getItem ( int  idx)
static MenuPopup HP.HPTRIM.SDK.MenuPopup.GetMenuForTrimObject ( Database  forDatabase,
BaseObjectTypes  objectType 
)
static

Gets a MenuPopup for the specified TRIM Object, using the supplied database for captioning/licensing

static MenuPopup HP.HPTRIM.SDK.MenuPopup.GetMenuForTrimObject ( Database  forDatabase,
BaseObjectTypes  objectType,
MenuPopupCommandEnabler  pEnablerDelegate 
)
static

Gets a MenuPopup for the specified TRIM Object, using the supplied database for captioning/licensing

void HP.HPTRIM.SDK.MenuPopup.InsertItem ( MenuItem  newItem,
int  atIndex 
)

Property Documentation

string HP.HPTRIM.SDK.MenuPopup.CustomPopupId
get

Gets a string defining a custom-defined popup

int HP.HPTRIM.SDK.MenuPopup.ItemCount
get
override MenuItem.MenuItemTypes HP.HPTRIM.SDK.MenuPopup.MenuItemType
get
string HP.HPTRIM.SDK.MenuPopup.MenuText
get
MenuPopupIds HP.HPTRIM.SDK.MenuPopup.PopupId
get

Gets a MenuPopupIds enumerated value defining one of the standard popup menus defined in TRIM.