LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::SbaExternalSourceBrowser Class Referencefinal

#include <exsrcbrw.hxx>

Inheritance diagram for dbaui::SbaExternalSourceBrowser:
[legend]
Collaboration diagram for dbaui::SbaExternalSourceBrowser:
[legend]

Public Member Functions

 SbaExternalSourceBrowser (const css::uno::Reference< css::uno::XComponentContext > &_rM)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &_rType) override
 
virtual void SAL_CALL dispatch (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch (const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags) override
 
virtual void SAL_CALL modified (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual void SAL_CALL disposing () override
 
virtual void SAL_CALL unloading (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from dbaui::SbaXDataBrowserController
 SbaXDataBrowserController (const css::uno::Reference< css::uno::XComponentContext > &_rM)
 
UnoDataBrowserViewgetBrowserView () const
 
virtual bool Construct (vcl::Window *pParent) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &_rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL modified (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL elementInserted (const css::container::ContainerEvent &Event) override
 
virtual void SAL_CALL elementRemoved (const css::container::ContainerEvent &Event) override
 
virtual void SAL_CALL elementReplaced (const css::container::ContainerEvent &Event) override
 
virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &evt) override
 
virtual void SAL_CALL setIdentifier (const OUString &Identifier) override
 
virtual OUString SAL_CALL getIdentifier () override
 
virtual void SAL_CALL focusGained (const css::awt::FocusEvent &e) override
 
virtual void SAL_CALL focusLost (const css::awt::FocusEvent &e) override
 
virtual sal_Bool SAL_CALL suspend (sal_Bool bSuspend) override
 
virtual void SAL_CALL disposing () override
 
virtual void SAL_CALL frameAction (const css::frame::FrameActionEvent &aEvent) override
 
virtual void SAL_CALL errorOccured (const css::sdb::SQLErrorEvent &aEvent) override
 
virtual sal_Bool SAL_CALL approveParameter (const css::form::DatabaseParameterEvent &aEvent) override
 
virtual sal_Bool SAL_CALL confirmDelete (const css::sdb::RowChangeEvent &aEvent) override
 
virtual void SAL_CALL loaded (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL unloading (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL unloaded (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL reloading (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL reloaded (const css::lang::EventObject &aEvent) override
 
virtual sal_Bool SAL_CALL approveReset (const css::lang::EventObject &rEvent) override
 
virtual void SAL_CALL resetted (const css::lang::EventObject &rEvent) override
 
virtual void RowChanged () override
 
virtual void ColumnChanged () override
 
virtual void SelectionChanged () override
 
virtual void CellActivated () override
 
virtual void CellDeactivated () override
 
virtual void BeforeDrop () override
 
virtual void AfterDrop () override
 
virtual void RowChanged ()=0
 
virtual void ColumnChanged ()=0
 
virtual void SelectionChanged ()=0
 
virtual void CellActivated ()=0
 
virtual void CellDeactivated ()=0
 
virtual void BeforeDrop ()=0
 
virtual void AfterDrop ()=0
 

Private Member Functions

virtual ~SbaExternalSourceBrowser () override
 
virtual css::uno::Reference< css::sdbc::XRowSet > CreateForm () override
 
virtual bool InitializeForm (const css::uno::Reference< css::beans::XPropertySet > &i_formProperties) override
 
virtual bool LoadForm () override
 
void Attach (const css::uno::Reference< css::sdbc::XRowSet > &xMaster)
 
void ClearView ()
 
void startListening ()
 
void stopListening ()
 

Private Attributes

::comphelper::OInterfaceContainerHelper3< css::util::XModifyListener > m_aModifyListeners
 
rtl::Reference< SbaXFormAdapterm_pDataSourceImpl
 
bool m_bInQueryDispatch
 

Additional Inherited Members

- Protected Member Functions inherited from dbaui::SbaXDataBrowserController
const css::uno::Reference< css::sdbc::XRowSet > & getRowSet () const
 
const css::uno::Reference< css::form::XLoadable > & getLoadable () const
 
const css::uno::Reference< css::form::XFormComponent > & getFormComponent () const
 
css::uno::Reference< css::awt::XControlModel > getControlModel () const
 
const css::uno::Reference< css::util::XNumberFormatter > & getNumberFormatter () const
 
bool isValid () const
 
bool isValidCursor () const
 
bool isLoaded () const
 
bool loadingCancelled () const
 
void onStartLoading (const css::uno::Reference< css::form::XLoadable > &_rxLoadable)
 
void setLoadingCancelled ()
 
virtual ~SbaXDataBrowserController () override
 
virtual void describeSupportedFeatures () override
 
virtual FeatureState GetState (sal_uInt16 nId) const override
 
virtual void Execute (sal_uInt16 nId, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
virtual void startFrameListening (const css::uno::Reference< css::frame::XFrame > &_rxFrame) override
 
virtual void stopFrameListening (const css::uno::Reference< css::frame::XFrame > &_rxFrame) override
 
virtual css::uno::Reference< css::sdbc::XRowSet > CreateForm ()
 
virtual bool InitializeForm (const css::uno::Reference< css::beans::XPropertySet > &i_formProperties)=0
 
css::uno::Reference< css::form::XFormComponent > CreateGridModel ()
 
void disposingFormModel (const css::lang::EventObject &Source)
 
void disposingColumnModel (const css::lang::EventObject &Source)
 
void addControlListeners (const css::uno::Reference< css::awt::XControl > &_xGridControl)
 
void removeControlListeners (const css::uno::Reference< css::awt::XControl > &_xGridControl)
 
virtual void addModelListeners (const css::uno::Reference< css::awt::XControlModel > &_xGridControlModel)
 
virtual void removeModelListeners (const css::uno::Reference< css::awt::XControlModel > &_xGridControlModel)
 
virtual void AddColumnListener (const css::uno::Reference< css::beans::XPropertySet > &xCol)
 
virtual void RemoveColumnListener (const css::uno::Reference< css::beans::XPropertySet > &xCol)
 
virtual bool LoadForm ()
 
virtual void LoadFinished (bool bWasSynch)
 
virtual void criticalFail ()
 
bool CommitCurrent ()
 
bool SaveModified (bool bAskFor=true)
 
css::uno::Reference< css::beans::XPropertySetgetBoundField () const
 
void enterFormAction ()
 
void leaveFormAction ()
 
void initFormatter ()
 
bool reloadForm (const css::uno::Reference< css::form::XLoadable > &_rxLoadable)
 loads or reloads the form More...
 
virtual bool preReloadForm ()
 
virtual void postReloadForm ()
 
css::uno::Reference< css::sdb::XSingleSelectQueryComposer > createParser_nothrow ()
 
- Protected Member Functions inherited from dbaui::SbaGridListener
 ~SbaGridListener ()
 

Detailed Description

Definition at line 32 of file exsrcbrw.hxx.

Constructor & Destructor Documentation

◆ SbaExternalSourceBrowser()

SbaExternalSourceBrowser::SbaExternalSourceBrowser ( const css::uno::Reference< css::uno::XComponentContext > &  _rM)

Definition at line 61 of file exsrcbrw.cxx.

References getMutex().

◆ ~SbaExternalSourceBrowser()

SbaExternalSourceBrowser::~SbaExternalSourceBrowser ( )
overrideprivatevirtual

Definition at line 69 of file exsrcbrw.cxx.

Member Function Documentation

◆ addModifyListener()

void SAL_CALL SbaExternalSourceBrowser::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

◆ Attach()

void SbaExternalSourceBrowser::Attach ( const css::uno::Reference< css::sdbc::XRowSet > &  xMaster)
private

◆ ClearView()

void SbaExternalSourceBrowser::ClearView ( )
private

Definition at line 374 of file exsrcbrw.cxx.

References Attach(), and dbaui::SbaXDataBrowserController::getControlModel().

Referenced by dispatch(), disposing(), and unloading().

◆ CreateForm()

Reference< XRowSet > SbaExternalSourceBrowser::CreateForm ( )
overrideprivatevirtual

Reimplemented from dbaui::SbaXDataBrowserController.

Definition at line 83 of file exsrcbrw.cxx.

References m_pDataSourceImpl.

◆ dispatch()

void SAL_CALL SbaExternalSourceBrowser::dispatch ( const css::util::URL &  aURL,
const css::uno::Sequence< css::beans::PropertyValue > &  aArgs 
)
overridevirtual

◆ disposing() [1/2]

void SAL_CALL SbaExternalSourceBrowser::disposing ( )
overridevirtual

◆ disposing() [2/2]

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

◆ getImplementationName()

OUString SAL_CALL SbaExternalSourceBrowser::getImplementationName ( )
overridevirtual

Definition at line 78 of file exsrcbrw.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL SbaExternalSourceBrowser::getSupportedServiceNames ( )
overridevirtual

Definition at line 73 of file exsrcbrw.cxx.

◆ InitializeForm()

bool SbaExternalSourceBrowser::InitializeForm ( const css::uno::Reference< css::beans::XPropertySet > &  i_formProperties)
overrideprivatevirtual

Implements dbaui::SbaXDataBrowserController.

Definition at line 89 of file exsrcbrw.cxx.

◆ LoadForm()

bool SbaExternalSourceBrowser::LoadForm ( )
overrideprivatevirtual

Reimplemented from dbaui::SbaXDataBrowserController.

Definition at line 94 of file exsrcbrw.cxx.

◆ modified()

void SbaExternalSourceBrowser::modified ( const css::lang::EventObject &  aEvent)
overridevirtual

◆ queryDispatch()

Reference< css::frame::XDispatch > SAL_CALL SbaExternalSourceBrowser::queryDispatch ( const css::util::URL &  aURL,
const OUString &  aTargetFrameName,
sal_Int32  nSearchFlags 
)
overridevirtual

Definition at line 217 of file exsrcbrw.cxx.

References aURL, and m_bInQueryDispatch.

◆ queryInterface()

Any SAL_CALL SbaExternalSourceBrowser::queryInterface ( const css::uno::Type &  _rType)
overridevirtual

Reimplemented from dbaui::SbaXDataBrowserController.

Definition at line 50 of file exsrcbrw.cxx.

References Any, and dbaui::SbaXDataBrowserController::queryInterface().

◆ removeModifyListener()

void SAL_CALL SbaExternalSourceBrowser::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

◆ startListening()

void SbaExternalSourceBrowser::startListening ( )
private

Definition at line 395 of file exsrcbrw.cxx.

References m_pDataSourceImpl.

Referenced by Attach().

◆ stopListening()

void SbaExternalSourceBrowser::stopListening ( )
private

Definition at line 404 of file exsrcbrw.cxx.

References m_pDataSourceImpl.

Referenced by Attach(), and disposing().

◆ unloading()

void SAL_CALL SbaExternalSourceBrowser::unloading ( const css::lang::EventObject &  aEvent)
overridevirtual

Member Data Documentation

◆ m_aModifyListeners

::comphelper::OInterfaceContainerHelper3<css::util::XModifyListener> dbaui::SbaExternalSourceBrowser::m_aModifyListeners
private

Definition at line 36 of file exsrcbrw.hxx.

Referenced by addModifyListener(), disposing(), modified(), and removeModifyListener().

◆ m_bInQueryDispatch

bool dbaui::SbaExternalSourceBrowser::m_bInQueryDispatch
private

Definition at line 39 of file exsrcbrw.hxx.

Referenced by queryDispatch().

◆ m_pDataSourceImpl

rtl::Reference<SbaXFormAdapter> dbaui::SbaExternalSourceBrowser::m_pDataSourceImpl
private

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