LibreOffice Module sd (master) 1
|
This module waits for new views to be created for the center pane and then moves the center view to the top most place on the shell stack. More...
#include <CenterViewFocusModule.hxx>
Public Member Functions | |
CenterViewFocusModule (rtl::Reference< sd::DrawController > const &rxController) | |
virtual | ~CenterViewFocusModule () 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 | HandleNewView (const css::uno::Reference< css::drawing::framework::XConfiguration > &rxConfiguration) |
At the end of an update of the current configuration this method handles a new view in the center pane by moving the associated view shell to the top of the shell stack. More... | |
Private Attributes | |
bool | mbValid |
css::uno::Reference< css::drawing::framework::XConfigurationController > | mxConfigurationController |
ViewShellBase * | mpBase |
bool | mbNewViewCreated |
This flag indicates whether in the last configuration change cycle a new view has been created and thus the center view has to be moved to the top of the shell stack. More... | |
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 waits for new views to be created for the center pane and then moves the center view to the top most place on the shell stack.
As we are moving away from the shell stack this module may become obsolete or has to be modified.
Definition at line 51 of file CenterViewFocusModule.hxx.
|
explicit |
Definition at line 42 of file CenterViewFocusModule.cxx.
References Any, mbValid, mbValid, mpBase, sd::framework::FrameworkHelper::msConfigurationUpdateEndEvent, sd::framework::FrameworkHelper::msResourceActivationEvent, and mxConfigurationController.
|
overridevirtual |
Definition at line 75 of file CenterViewFocusModule.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from comphelper::WeakComponentImplHelperBase.
Definition at line 79 of file CenterViewFocusModule.cxx.
References mbValid, mpBase, and mxConfigurationController.
|
private |
At the end of an update of the current configuration this method handles a new view in the center pane by moving the associated view shell to the top of the shell stack.
Definition at line 106 of file CenterViewFocusModule.cxx.
References sd::framework::FrameworkHelper::CreateResourceId(), sd::framework::ViewShellWrapper::GetViewShell(), sd::ViewShellBase::GetViewShellManager(), mbNewViewCreated, mpBase, sd::framework::FrameworkHelper::msCenterPaneURL, sd::framework::FrameworkHelper::msViewURLPrefix, and mxConfigurationController.
Referenced by notifyConfigurationChange().
|
overridevirtual |
|
private |
This flag indicates whether in the last configuration change cycle a new view has been created and thus the center view has to be moved to the top of the shell stack.
Definition at line 79 of file CenterViewFocusModule.hxx.
Referenced by HandleNewView(), and notifyConfigurationChange().
|
private |
Definition at line 71 of file CenterViewFocusModule.hxx.
Referenced by CenterViewFocusModule(), disposing(), and notifyConfigurationChange().
|
private |
Definition at line 74 of file CenterViewFocusModule.hxx.
Referenced by CenterViewFocusModule(), disposing(), and HandleNewView().
|
private |
Definition at line 73 of file CenterViewFocusModule.hxx.
Referenced by CenterViewFocusModule(), disposing(), and HandleNewView().