LibreOffice Module framework (master) 1
|
#include <headermenucontroller.hxx>
Public Member Functions | |
HeaderMenuController (const css::uno::Reference< css::uno::XComponentContext > &xContext, bool _bFooter=false) | |
virtual | ~HeaderMenuController () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &sServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | updatePopupMenu () override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &Event) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
Private Member Functions | |
void | fillPopupMenu (const css::uno::Reference< css::frame::XModel > &rModel, css::uno::Reference< css::awt::XPopupMenu > const &rPopupMenu) |
Private Attributes | |
css::uno::Reference< css::frame::XModel > | m_xModel |
bool | m_bFooter |
Definition at line 28 of file headermenucontroller.hxx.
framework::HeaderMenuController::HeaderMenuController | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext, |
bool | _bFooter = false |
||
) |
Definition at line 70 of file headermenucontroller.cxx.
|
overridevirtual |
Definition at line 76 of file headermenucontroller.cxx.
|
overridevirtual |
Definition at line 183 of file headermenucontroller.cxx.
References m_aMutex, m_xDispatch, and m_xFrame.
|
private |
Definition at line 81 of file headermenucontroller.cxx.
References aCommand, ALL_MENUITEM_ID, aName, FwkResId(), m_bFooter, n, nCount, nId, and u.
Referenced by statusChanged(), and updatePopupMenu().
|
overridevirtual |
Reimplemented in framework::FooterMenuController.
Definition at line 55 of file headermenucontroller.cxx.
|
overridevirtual |
Reimplemented in framework::FooterMenuController.
Definition at line 65 of file headermenucontroller.cxx.
References framework::SERVICENAME_POPUPMENUCONTROLLER.
|
overridevirtual |
Definition at line 197 of file headermenucontroller.cxx.
References fillPopupMenu(), m_aMutex, m_xModel, and xModel.
|
overridevirtual |
Reimplemented in framework::FooterMenuController.
Definition at line 60 of file headermenucontroller.cxx.
References sServiceName, and cppu::supportsService().
|
overridevirtual |
Definition at line 211 of file headermenucontroller.cxx.
References fillPopupMenu(), m_aMutex, m_xModel, and xModel.
|
private |
Definition at line 54 of file headermenucontroller.hxx.
Referenced by fillPopupMenu().
|
private |
Definition at line 53 of file headermenucontroller.hxx.
Referenced by statusChanged(), and updatePopupMenu().