Public Member Functions | Private Attributes

EV_Menu_Action Class Reference

#include <ev_Menu_Actions.h>

List of all members.

Public Member Functions

 EV_Menu_Action (XAP_Menu_Id id, bool bHoldsSubMenu, bool bRaisesDialog, bool bCheckable, bool bRadio, const char *szMethodName, EV_GetMenuItemState_pFn pfnGetState, EV_GetMenuItemComputedLabel_pFn pfnGetLabel, const UT_String &stScriptName="")
 ~EV_Menu_Action ()
XAP_Menu_Id getMenuId () const
void incrementId (void)
bool hasDynamicLabel () const
const char * getDynamicLabel (const EV_Menu_Label *pLabel) const
const char * getMethodName () const
const UT_StringgetScriptName () const
bool hasGetStateFunction () const
EV_Menu_ItemState getMenuItemState (AV_View *pView) const
bool raisesDialog () const
bool isCheckable () const
bool isRadio () const

Private Attributes

XAP_Menu_Id m_id
bool m_bHoldsSubMenu
bool m_bRaisesDialog
bool m_bCheckable
bool m_bRadio
char * m_szMethodName
EV_GetMenuItemState_pFn m_pfnGetState
EV_GetMenuItemComputedLabel_pFn m_pfnGetLabel
UT_String m_stScriptName

Constructor & Destructor Documentation

EV_Menu_Action::EV_Menu_Action ( XAP_Menu_Id  id,
bool  bHoldsSubMenu,
bool  bRaisesDialog,
bool  bCheckable,
bool  bRadio,
const char *  szMethodName,
EV_GetMenuItemState_pFn  pfnGetState,
EV_GetMenuItemComputedLabel_pFn  pfnGetLabel,
const UT_String stScriptName = "" 
)

References m_szMethodName, and UT_ASSERT.

EV_Menu_Action::~EV_Menu_Action (  ) 

References FREEP, and m_szMethodName.


Member Function Documentation

const char * EV_Menu_Action::getDynamicLabel ( const EV_Menu_Label pLabel  )  const

References m_id, and m_pfnGetLabel.

Referenced by _ev_GetLabelName(), and EV_Menu::getLabelName().

XAP_Menu_Id EV_Menu_Action::getMenuId (  )  const
EV_Menu_ItemState EV_Menu_Action::getMenuItemState ( AV_View pView  )  const
const char * EV_Menu_Action::getMethodName (  )  const
const UT_String& EV_Menu_Action::getScriptName (  )  const [inline]
bool EV_Menu_Action::hasDynamicLabel (  )  const
bool EV_Menu_Action::hasGetStateFunction (  )  const
void EV_Menu_Action::incrementId ( void   ) 
bool EV_Menu_Action::isCheckable (  )  const
bool EV_Menu_Action::isRadio (  )  const
bool EV_Menu_Action::raisesDialog (  )  const

Member Data Documentation

Referenced by isCheckable().

bool EV_Menu_Action::m_bRadio [private]

Referenced by isRadio().

Referenced by raisesDialog().

Referenced by getDynamicLabel(), and hasDynamicLabel().


The documentation for this class was generated from the following files: