LibreOffice Module sfx2 (master) 1
|
Selection change handler to listen to document selection changes. More...
#include <SelectionChangeHandler.hxx>
Public Member Functions | |
SelectionChangeHandler (css::uno::Reference< css::frame::XController > xController, DevelopmentToolDockingWindow *pDockingWindow) | |
~SelectionChangeHandler () | |
virtual void SAL_CALL | selectionChanged (const css::lang::EventObject &) override |
void | stopListening () |
virtual void SAL_CALL | disposing (const css::lang::EventObject &) override |
Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc > | |
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 |
Public Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
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 > &) |
Public Member Functions inherited from comphelper::UnoImplBase | |
virtual | ~UnoImplBase () |
Private Member Functions | |
SelectionChangeHandler (const SelectionChangeHandler &)=delete | |
SelectionChangeHandler & | operator= (const SelectionChangeHandler &)=delete |
Private Attributes | |
css::uno::Reference< css::frame::XController > | mxController |
VclPtr< DevelopmentToolDockingWindow > | mpDockingWindow |
Additional Inherited Members | |
Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
Protected Attributes inherited from comphelper::WeakComponentImplHelperBase | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
Protected Attributes inherited from comphelper::UnoImplBase | |
std::mutex | m_aMutex |
bool | m_bDisposed |
Selection change handler to listen to document selection changes.
Listens to the changes and notifies the docking window with a new selected object, when a change happens.
Definition at line 29 of file SelectionChangeHandler.hxx.
|
inline |
Definition at line 36 of file SelectionChangeHandler.hxx.
References mxController, and xController.
|
inline |
Definition at line 46 of file SelectionChangeHandler.hxx.
References VclPtr< class reference_type >::disposeAndClear(), and mpDockingWindow.
|
privatedelete |
|
inlineoverridevirtual |
Definition at line 67 of file SelectionChangeHandler.hxx.
|
privatedelete |
|
inlineoverridevirtual |
Definition at line 48 of file SelectionChangeHandler.hxx.
References mpDockingWindow, and mxController.
|
inline |
Definition at line 60 of file SelectionChangeHandler.hxx.
References mxController.
Referenced by DevelopmentToolDockingWindow::dispose().
|
private |
Definition at line 33 of file SelectionChangeHandler.hxx.
Referenced by selectionChanged(), and ~SelectionChangeHandler().
|
private |
Definition at line 32 of file SelectionChangeHandler.hxx.
Referenced by selectionChanged(), SelectionChangeHandler(), and stopListening().