LibreOffice Module framework (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
framework::ToolbarModeMenuController Class Referencefinal

#include <toolbarmodemenucontroller.hxx>

Inheritance diagram for framework::ToolbarModeMenuController:
[legend]
Collaboration diagram for framework::ToolbarModeMenuController:
[legend]

Public Member Functions

 ToolbarModeMenuController (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~ToolbarModeMenuController () 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 setPopupMenu (const css::uno::Reference< css::awt::XPopupMenu > &PopupMenu) override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual void SAL_CALL itemSelected (const css::awt::MenuEvent &rEvent) override
 
virtual void SAL_CALL itemActivated (const css::awt::MenuEvent &rEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 

Private Member Functions

void fillPopupMenu (css::uno::Reference< css::awt::XPopupMenu > const &rPopupMenu)
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 26 of file toolbarmodemenucontroller.hxx.

Constructor & Destructor Documentation

◆ ToolbarModeMenuController()

framework::ToolbarModeMenuController::ToolbarModeMenuController ( const css::uno::Reference< css::uno::XComponentContext > &  xContext)

Definition at line 72 of file toolbarmodemenucontroller.cxx.

◆ ~ToolbarModeMenuController()

framework::ToolbarModeMenuController::~ToolbarModeMenuController ( )
overridevirtual

Definition at line 78 of file toolbarmodemenucontroller.cxx.

Member Function Documentation

◆ disposing()

void SAL_CALL framework::ToolbarModeMenuController::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 156 of file toolbarmodemenucontroller.cxx.

References m_aMutex, m_xDispatch, and m_xFrame.

◆ fillPopupMenu()

void framework::ToolbarModeMenuController::fillPopupMenu ( css::uno::Reference< css::awt::XPopupMenu > const &  rPopupMenu)
private

◆ getImplementationName()

OUString SAL_CALL framework::ToolbarModeMenuController::getImplementationName ( )
overridevirtual

Definition at line 56 of file toolbarmodemenucontroller.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL framework::ToolbarModeMenuController::getSupportedServiceNames ( )
overridevirtual

◆ itemActivated()

void SAL_CALL framework::ToolbarModeMenuController::itemActivated ( const css::awt::MenuEvent &  rEvent)
overridevirtual

◆ itemSelected()

void SAL_CALL framework::ToolbarModeMenuController::itemSelected ( const css::awt::MenuEvent &  rEvent)
overridevirtual

◆ setPopupMenu()

void SAL_CALL framework::ToolbarModeMenuController::setPopupMenu ( const css::uno::Reference< css::awt::XPopupMenu > &  PopupMenu)
overridevirtual

Definition at line 269 of file toolbarmodemenucontroller.cxx.

References fillPopupMenu(), m_aMutex, and m_xFrame.

◆ statusChanged()

void SAL_CALL framework::ToolbarModeMenuController::statusChanged ( const css::frame::FeatureStateEvent &  Event)
overridevirtual

Definition at line 170 of file toolbarmodemenucontroller.cxx.

References i, m_aMutex, nCount, and nId.

◆ supportsService()

sal_Bool SAL_CALL framework::ToolbarModeMenuController::supportsService ( const OUString &  sServiceName)
overridevirtual

Definition at line 61 of file toolbarmodemenucontroller.cxx.

References sServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > framework::ToolbarModeMenuController::m_xContext
private

Definition at line 55 of file toolbarmodemenucontroller.hxx.

Referenced by fillPopupMenu(), and itemActivated().


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