HPE Content Manager SDK 9.1
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

Classes

class  CustomCommandEnablerWrapper
 

Public Member Functions

System.Collections.IEnumerator GetEnumerator ()
 
MenuItem getItem (int idx)
 
delegate bool CustomCommandEnabler (CommandIds command)
 Declaration of a signature of a delegate function that can be called for each command being added to the MenuPopup above. More...
 
 MenuPopup ()
 Construct a new MenuPopup object More...
 
- Public Member Functions inherited from HP.HPTRIM.SDK.TrimSDKObject
 TrimSDKObject ()
 

Static Public Member Functions

static MenuPopup GetMenuForTrimObject (Database forDatabase, BaseObjectTypes objectType, CustomCommandEnabler enablerDelegate)
 
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...
 

Properties

override MenuItem.MenuItemTypes MenuItemType [get]
 
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.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 ( )

Construct a new MenuPopup object

Member Function Documentation

delegate bool HP.HPTRIM.SDK.MenuPopup.CustomCommandEnabler ( CommandIds  command)

Declaration of a signature of a delegate function that can be called for each command being added to the MenuPopup above.

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,
CustomCommandEnabler  enablerDelegate 
)
static
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

Property Documentation

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