LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
chart::StatusBarCommandDispatch Class Reference

#include <StatusBarCommandDispatch.hxx>

Inheritance diagram for chart::StatusBarCommandDispatch:
[legend]
Collaboration diagram for chart::StatusBarCommandDispatch:
[legend]

Public Member Functions

 StatusBarCommandDispatch (const css::uno::Reference< css::uno::XComponentContext > &xContext, rtl::Reference<::chart::ChartModel > xModel, const css::uno::Reference< css::view::XSelectionSupplier > &xSelSupp)
 
virtual ~StatusBarCommandDispatch () override
 
virtual void initialize () override
 

Protected Member Functions

virtual void SAL_CALL dispatch (const css::util::URL &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override
 
virtual void disposing (std::unique_lock< std::mutex > &rGuard) override
 is called when this is disposed More...
 
virtual void SAL_CALL modified (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void fireStatusEvent (const OUString &rURL, const css::uno::Reference< css::frame::XStatusListener > &xSingleListener) override
 
virtual void SAL_CALL selectionChanged (const css::lang::EventObject &aEvent) override
 

Private Attributes

rtl::Reference<::chart::ChartModel > m_xChartModel
 
css::uno::Reference< css::view::XSelectionSupplier > m_xSelectionSupplier
 
bool m_bIsModified
 
ObjectIdentifier m_aSelectedOID
 

Detailed Description

Definition at line 47 of file StatusBarCommandDispatch.hxx.

Constructor & Destructor Documentation

◆ StatusBarCommandDispatch()

chart::StatusBarCommandDispatch::StatusBarCommandDispatch ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
rtl::Reference<::chart::ChartModel >  xModel,
const css::uno::Reference< css::view::XSelectionSupplier > &  xSelSupp 
)
explicit

Definition at line 34 of file StatusBarCommandDispatch.cxx.

References xModel.

◆ ~StatusBarCommandDispatch()

chart::StatusBarCommandDispatch::~StatusBarCommandDispatch ( )
overridevirtual

Definition at line 44 of file StatusBarCommandDispatch.cxx.

Member Function Documentation

◆ dispatch()

void SAL_CALL chart::StatusBarCommandDispatch::dispatch ( const css::util::URL &  URL,
const css::uno::Sequence< css::beans::PropertyValue > &  Arguments 
)
overrideprotectedvirtual

Definition at line 84 of file StatusBarCommandDispatch.cxx.

◆ disposing() [1/2]

virtual void SAL_CALL chart::StatusBarCommandDispatch::disposing ( const css::lang::EventObject &  Source)
overrideprotectedvirtual

◆ disposing() [2/2]

void chart::StatusBarCommandDispatch::disposing ( std::unique_lock< std::mutex > &  rGuard)
overrideprotectedvirtual

is called when this is disposed

Definition at line 93 of file StatusBarCommandDispatch.cxx.

References m_xChartModel, and m_xSelectionSupplier.

◆ fireStatusEvent()

void chart::StatusBarCommandDispatch::fireStatusEvent ( const OUString &  rURL,
const css::uno::Reference< css::frame::XStatusListener > &  xSingleListener 
)
overrideprotectedvirtual

◆ initialize()

void chart::StatusBarCommandDispatch::initialize ( )
overridevirtual

Definition at line 47 of file StatusBarCommandDispatch.cxx.

References m_xChartModel, and m_xSelectionSupplier.

◆ modified()

void SAL_CALL chart::StatusBarCommandDispatch::modified ( const css::lang::EventObject &  aEvent)
overrideprotectedvirtual

◆ selectionChanged()

void SAL_CALL chart::StatusBarCommandDispatch::selectionChanged ( const css::lang::EventObject &  aEvent)
overrideprotectedvirtual

Definition at line 116 of file StatusBarCommandDispatch.cxx.

References m_aSelectedOID, and m_xSelectionSupplier.

Member Data Documentation

◆ m_aSelectedOID

ObjectIdentifier chart::StatusBarCommandDispatch::m_aSelectedOID
private

Definition at line 89 of file StatusBarCommandDispatch.hxx.

Referenced by fireStatusEvent(), and selectionChanged().

◆ m_bIsModified

bool chart::StatusBarCommandDispatch::m_bIsModified
private

Definition at line 88 of file StatusBarCommandDispatch.hxx.

Referenced by fireStatusEvent(), and modified().

◆ m_xChartModel

rtl::Reference<::chart::ChartModel> chart::StatusBarCommandDispatch::m_xChartModel
private

Definition at line 86 of file StatusBarCommandDispatch.hxx.

Referenced by disposing(), fireStatusEvent(), initialize(), and modified().

◆ m_xSelectionSupplier

css::uno::Reference< css::view::XSelectionSupplier > chart::StatusBarCommandDispatch::m_xSelectionSupplier
private

Definition at line 87 of file StatusBarCommandDispatch.hxx.

Referenced by disposing(), initialize(), and selectionChanged().


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