LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::sidebar::SelectionChangeHandler Class Referencefinal

#include <SelectionChangeHandler.hxx>

Inheritance diagram for svx::sidebar::SelectionChangeHandler:
[legend]
Collaboration diagram for svx::sidebar::SelectionChangeHandler:
[legend]

Public Member Functions

 SelectionChangeHandler (const std::function< OUString()> &rSelectionChangeCallback, const css::uno::Reference< css::frame::XController > &rxController, const vcl::EnumContext::Context eDefaultContext)
 
virtual ~SelectionChangeHandler () override
 
virtual void SAL_CALL selectionChanged (const css::lang::EventObject &rEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &rEvent) override
 
virtual void SAL_CALL disposing () override
 
void Connect ()
 
void Disconnect ()
 

Private Member Functions

 SelectionChangeHandler (const SelectionChangeHandler &)=delete
 
SelectionChangeHandleroperator= (const SelectionChangeHandler &)=delete
 

Private Attributes

const std::function< OUString()> maSelectionChangeCallback
 
css::uno::Reference< css::frame::XController > mxController
 
const vcl::EnumContext::Context meDefaultContext
 
bool mbIsConnected
 
- Private Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 41 of file SelectionChangeHandler.hxx.

Constructor & Destructor Documentation

svx::sidebar::SelectionChangeHandler::SelectionChangeHandler ( const std::function< OUString()> &  rSelectionChangeCallback,
const css::uno::Reference< css::frame::XController > &  rxController,
const vcl::EnumContext::Context  eDefaultContext 
)
SelectionChangeHandler::~SelectionChangeHandler ( )
overridevirtual

Definition at line 45 of file SelectionChangeHandler.cxx.

svx::sidebar::SelectionChangeHandler::SelectionChangeHandler ( const SelectionChangeHandler )
privatedelete

Member Function Documentation

void SelectionChangeHandler::Connect ( )

Definition at line 77 of file SelectionChangeHandler.cxx.

References mbIsConnected, and mxController.

void SelectionChangeHandler::Disconnect ( )

Definition at line 88 of file SelectionChangeHandler.cxx.

References mbIsConnected, and mxController.

Referenced by disposing().

virtual void SAL_CALL svx::sidebar::SelectionChangeHandler::disposing ( const css::lang::EventObject &  rEvent)
overridevirtual
void SAL_CALL SelectionChangeHandler::disposing ( )
overridevirtual

Definition at line 70 of file SelectionChangeHandler.cxx.

References Disconnect(), and mbIsConnected.

SelectionChangeHandler& svx::sidebar::SelectionChangeHandler::operator= ( const SelectionChangeHandler )
privatedelete
virtual void SAL_CALL svx::sidebar::SelectionChangeHandler::selectionChanged ( const css::lang::EventObject &  rEvent)
overridevirtual

Member Data Documentation

const std::function<OUString ()> svx::sidebar::SelectionChangeHandler::maSelectionChangeCallback
private

Definition at line 65 of file SelectionChangeHandler.hxx.

bool svx::sidebar::SelectionChangeHandler::mbIsConnected
private

Definition at line 68 of file SelectionChangeHandler.hxx.

Referenced by Connect(), Disconnect(), and disposing().

const vcl::EnumContext::Context svx::sidebar::SelectionChangeHandler::meDefaultContext
private

Definition at line 67 of file SelectionChangeHandler.hxx.

css::uno::Reference<css::frame::XController> svx::sidebar::SelectionChangeHandler::mxController
private

Definition at line 66 of file SelectionChangeHandler.hxx.

Referenced by Connect(), and Disconnect().


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