LibreOffice Module sd (master) 1
|
This module is responsible for locking the ToolBarManager during configuration updates and for triggering ToolBarManager updates. More...
#include <ToolBarModule.hxx>
Public Member Functions | |
ToolBarModule (const rtl::Reference< sd::DrawController > &rxController) | |
Create a new module. More... | |
virtual | ~ToolBarModule () override |
virtual void | disposing (std::unique_lock< std::mutex > &) override |
virtual void SAL_CALL | notifyConfigurationChange (const css::drawing::framework::ConfigurationChangeEvent &rEvent) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &rEvent) override |
![]() | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | dispose () noexcept final override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
![]() | |
virtual | ~WeakComponentImplHelperBase () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual void | disposing (std::unique_lock< std::mutex > &) |
![]() | |
virtual | ~UnoImplBase () |
Private Member Functions | |
void | HandleUpdateStart () |
void | HandleUpdateEnd () |
Private Attributes | |
css::uno::Reference< css::drawing::framework::XConfigurationController > | mxConfigurationController |
ViewShellBase * | mpBase |
std::unique_ptr< ToolBarManager::UpdateLock, o3tl::default_delete< ToolBarManager::UpdateLock > > | mpToolBarManagerLock |
bool | mbMainViewSwitchUpdatePending |
Additional Inherited Members | |
![]() | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
![]() | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
![]() | |
std::mutex | m_aMutex |
bool | m_bDisposed |
This module is responsible for locking the ToolBarManager during configuration updates and for triggering ToolBarManager updates.
Definition at line 46 of file ToolBarModule.hxx.
|
explicit |
Create a new module.
rxController | This is the access point to the drawing framework. |
Definition at line 43 of file ToolBarModule.cxx.
References Any, mpBase, sd::framework::FrameworkHelper::msConfigurationUpdateEndEvent, sd::framework::FrameworkHelper::msConfigurationUpdateStartEvent, sd::framework::FrameworkHelper::msResourceActivationRequestEvent, sd::framework::FrameworkHelper::msResourceDeactivationRequestEvent, and mxConfigurationController.
|
overridevirtual |
Definition at line 77 of file ToolBarModule.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from comphelper::WeakComponentImplHelperBase.
Definition at line 81 of file ToolBarModule.cxx.
References mxConfigurationController.
|
private |
Definition at line 140 of file ToolBarModule.cxx.
References sd::ViewShellBase::GetToolBarManager(), sd::ViewShell::GetView(), SfxShell::GetViewShell(), sd::framework::FrameworkHelper::Instance(), mbMainViewSwitchUpdatePending, mpBase, mpToolBarManagerLock, and sd::framework::FrameworkHelper::msCenterPaneURL.
Referenced by notifyConfigurationChange().
|
private |
Definition at line 126 of file ToolBarModule.cxx.
References sd::ViewShellBase::GetToolBarManager(), mpBase, and mpToolBarManagerLock.
Referenced by notifyConfigurationChange().
|
overridevirtual |
Definition at line 90 of file ToolBarModule.cxx.
References HandleUpdateEnd(), HandleUpdateStart(), mbMainViewSwitchUpdatePending, sd::framework::FrameworkHelper::msCenterPaneURL, sd::framework::FrameworkHelper::msViewURLPrefix, and mxConfigurationController.
|
private |
Definition at line 75 of file ToolBarModule.hxx.
Referenced by HandleUpdateEnd(), and notifyConfigurationChange().
|
private |
Definition at line 73 of file ToolBarModule.hxx.
Referenced by HandleUpdateEnd(), HandleUpdateStart(), and ToolBarModule().
|
private |
Definition at line 74 of file ToolBarModule.hxx.
Referenced by HandleUpdateEnd(), and HandleUpdateStart().
|
private |
Definition at line 72 of file ToolBarModule.hxx.
Referenced by disposing(), notifyConfigurationChange(), and ToolBarModule().