LibreOffice Module framework (master) 1
Public Member Functions | Private Attributes | List of all members
framework::ButtonToolbarController Class Referencefinal

#include <buttontoolbarcontroller.hxx>

Inheritance diagram for framework::ButtonToolbarController:
[legend]
Collaboration diagram for framework::ButtonToolbarController:
[legend]

Public Member Functions

 ButtonToolbarController (css::uno::Reference< css::uno::XComponentContext > xContext, ToolBox *pToolBar, OUString aCommand)
 
virtual ~ButtonToolbarController () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual void SAL_CALL update () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual void SAL_CALL execute (sal_Int16 KeyModifier) override
 
virtual void SAL_CALL click () override
 
virtual void SAL_CALL doubleClick () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow (const css::uno::Reference< css::awt::XWindow > &Parent) override
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Private Attributes

bool m_bInitialized: 1
 
bool m_bDisposed: 1
 
OUString m_aCommandURL
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::util::XURLTransformer > m_xURLTransformer
 
VclPtr< ToolBoxm_pToolbar
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 39 of file buttontoolbarcontroller.hxx.

Constructor & Destructor Documentation

◆ ButtonToolbarController()

framework::ButtonToolbarController::ButtonToolbarController ( css::uno::Reference< css::uno::XComponentContext >  xContext,
ToolBox pToolBar,
OUString  aCommand 
)

Definition at line 46 of file buttontoolbarcontroller.cxx.

◆ ~ButtonToolbarController()

framework::ButtonToolbarController::~ButtonToolbarController ( )
overridevirtual

Definition at line 58 of file buttontoolbarcontroller.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL framework::ButtonToolbarController::acquire ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 79 of file buttontoolbarcontroller.cxx.

References cppu::OWeakObject::acquire().

◆ addEventListener()

void SAL_CALL framework::ButtonToolbarController::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 139 of file buttontoolbarcontroller.cxx.

◆ click()

void SAL_CALL framework::ButtonToolbarController::click ( )
overridevirtual

Definition at line 236 of file buttontoolbarcontroller.cxx.

References execute(), m_bDisposed, and m_pToolbar.

◆ createItemWindow()

uno::Reference< awt::XWindow > SAL_CALL framework::ButtonToolbarController::createItemWindow ( const css::uno::Reference< css::awt::XWindow > &  Parent)
overridevirtual

Definition at line 262 of file buttontoolbarcontroller.cxx.

References m_bDisposed.

◆ createPopupWindow()

uno::Reference< awt::XWindow > SAL_CALL framework::ButtonToolbarController::createPopupWindow ( )
overridevirtual

Definition at line 254 of file buttontoolbarcontroller.cxx.

References m_bDisposed.

◆ dispose()

void SAL_CALL framework::ButtonToolbarController::dispose ( void  )
overridevirtual

◆ disposing()

void SAL_CALL framework::ButtonToolbarController::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 160 of file buttontoolbarcontroller.cxx.

References m_bDisposed, m_xFrame, and Source.

◆ doubleClick()

void SAL_CALL framework::ButtonToolbarController::doubleClick ( )
overridevirtual

Definition at line 247 of file buttontoolbarcontroller.cxx.

References m_bDisposed.

◆ execute()

void SAL_CALL framework::ButtonToolbarController::execute ( sal_Int16  KeyModifier)
overridevirtual

◆ initialize()

void SAL_CALL framework::ButtonToolbarController::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

◆ queryInterface()

uno::Any SAL_CALL framework::ButtonToolbarController::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 63 of file buttontoolbarcontroller.cxx.

References a, Any, and cppu::OWeakObject::queryInterface().

◆ release()

void SAL_CALL framework::ButtonToolbarController::release ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 84 of file buttontoolbarcontroller.cxx.

References cppu::OWeakObject::release().

◆ removeEventListener()

void SAL_CALL framework::ButtonToolbarController::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 145 of file buttontoolbarcontroller.cxx.

◆ statusChanged()

void SAL_CALL framework::ButtonToolbarController::statusChanged ( const css::frame::FeatureStateEvent &  Event)
overridevirtual

Definition at line 175 of file buttontoolbarcontroller.cxx.

References m_bDisposed.

◆ update()

void SAL_CALL framework::ButtonToolbarController::update ( )
overridevirtual

Definition at line 152 of file buttontoolbarcontroller.cxx.

References m_bDisposed.

Member Data Documentation

◆ m_aCommandURL

OUString framework::ButtonToolbarController::m_aCommandURL
private

Definition at line 85 of file buttontoolbarcontroller.hxx.

Referenced by execute(), and initialize().

◆ m_bDisposed

bool framework::ButtonToolbarController::m_bDisposed
private

◆ m_bInitialized

bool framework::ButtonToolbarController::m_bInitialized
private

Definition at line 83 of file buttontoolbarcontroller.hxx.

Referenced by execute(), and initialize().

◆ m_pToolbar

VclPtr<ToolBox> framework::ButtonToolbarController::m_pToolbar
private

Definition at line 89 of file buttontoolbarcontroller.hxx.

Referenced by click(), and dispose().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > framework::ButtonToolbarController::m_xContext
private

Definition at line 87 of file buttontoolbarcontroller.hxx.

Referenced by dispose(), execute(), and initialize().

◆ m_xFrame

css::uno::Reference< css::frame::XFrame > framework::ButtonToolbarController::m_xFrame
private

Definition at line 86 of file buttontoolbarcontroller.hxx.

Referenced by dispose(), disposing(), execute(), and initialize().

◆ m_xURLTransformer

css::uno::Reference< css::util::XURLTransformer > framework::ButtonToolbarController::m_xURLTransformer
private

Definition at line 88 of file buttontoolbarcontroller.hxx.

Referenced by dispose(), and execute().


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