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

is a helper class which loads/opens a given sub component as soon as the main application window becomes visible. More...

#include <subcomponentloader.hxx>

Inheritance diagram for dbaccess::SubComponentLoader:
[legend]
Collaboration diagram for dbaccess::SubComponentLoader:
[legend]

Public Member Functions

 SubComponentLoader (const css::uno::Reference< css::frame::XController > &i_rApplicationController, const css::uno::Reference< css::ucb::XCommandProcessor > &i_rSubDocumentDefinition)
 
 SubComponentLoader (const css::uno::Reference< css::frame::XController > &i_rApplicationController, const css::uno::Reference< css::lang::XComponent > &i_rNonDocumentComponent)
 
virtual void SAL_CALL windowResized (const css::awt::WindowEvent &e) override
 
virtual void SAL_CALL windowMoved (const css::awt::WindowEvent &e) override
 
virtual void SAL_CALL windowShown (const css::lang::EventObject &e) override
 
virtual void SAL_CALL windowHidden (const css::lang::EventObject &e) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 

Protected Member Functions

virtual ~SubComponentLoader () override
 

Private Attributes

const css::uno::Reference< css::ucb::XCommandProcessor > mxDocDefCommands
 
const css::uno::Reference< css::lang::XComponent > mxNonDocComponent
 
css::uno::Reference< css::awt::XWindow > mxAppComponentWindow
 

Detailed Description

is a helper class which loads/opens a given sub component as soon as the main application window becomes visible.

Definition at line 38 of file subcomponentloader.hxx.

Constructor & Destructor Documentation

◆ SubComponentLoader() [1/2]

dbaccess::SubComponentLoader::SubComponentLoader ( const css::uno::Reference< css::frame::XController > &  i_rApplicationController,
const css::uno::Reference< css::ucb::XCommandProcessor > &  i_rSubDocumentDefinition 
)

◆ SubComponentLoader() [2/2]

dbaccess::SubComponentLoader::SubComponentLoader ( const css::uno::Reference< css::frame::XController > &  i_rApplicationController,
const css::uno::Reference< css::lang::XComponent > &  i_rNonDocumentComponent 
)

◆ ~SubComponentLoader()

dbaccess::SubComponentLoader::~SubComponentLoader ( )
overrideprotectedvirtual

Definition at line 75 of file subcomponentloader.cxx.

Member Function Documentation

◆ disposing()

void SAL_CALL dbaccess::SubComponentLoader::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 118 of file subcomponentloader.cxx.

◆ windowHidden()

void SAL_CALL dbaccess::SubComponentLoader::windowHidden ( const css::lang::EventObject &  e)
overridevirtual

Definition at line 114 of file subcomponentloader.cxx.

◆ windowMoved()

void SAL_CALL dbaccess::SubComponentLoader::windowMoved ( const css::awt::WindowEvent &  e)
overridevirtual

Definition at line 83 of file subcomponentloader.cxx.

◆ windowResized()

void SAL_CALL dbaccess::SubComponentLoader::windowResized ( const css::awt::WindowEvent &  e)
overridevirtual

Definition at line 79 of file subcomponentloader.cxx.

◆ windowShown()

void SAL_CALL dbaccess::SubComponentLoader::windowShown ( const css::lang::EventObject &  e)
overridevirtual

Definition at line 87 of file subcomponentloader.cxx.

References Command, DBG_UNHANDLED_EXCEPTION, Exception, xController, and xFrame.

Member Data Documentation

◆ mxAppComponentWindow

css::uno::Reference< css::awt::XWindow > dbaccess::SubComponentLoader::mxAppComponentWindow
private

Definition at line 66 of file subcomponentloader.hxx.

◆ mxDocDefCommands

const css::uno::Reference< css::ucb::XCommandProcessor > dbaccess::SubComponentLoader::mxDocDefCommands
private

Definition at line 64 of file subcomponentloader.hxx.

◆ mxNonDocComponent

const css::uno::Reference< css::lang::XComponent > dbaccess::SubComponentLoader::mxNonDocComponent
private

Definition at line 65 of file subcomponentloader.hxx.


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