LibreOffice Module dbaccess (master) 1
Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
dbaui::SbaXDataBrowserController Class Referenceabstract

#include <brwctrlr.hxx>

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

Classes

class  FormControllerImpl
 
class  FormErrorHelper
 

Public Member Functions

 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
 

Protected Member Functions

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 ()
 

Private Member Functions

void setCurrentModified (bool _bSet)
 
void ExecuteFilterSortCrit (bool bFilter)
 
void ExecuteSearch ()
 
void initializeParser () const
 
void applyParserFilter (const OUString &_rOldFilter, bool _bOldFilterApplied, const ::OUString &_sOldHaving, const css::uno::Reference< css::sdb::XSingleSelectQueryComposer > &_xParser)
 
void applyParserOrder (const OUString &_rOldOrder, const css::uno::Reference< css::sdb::XSingleSelectQueryComposer > &_xParser)
 
sal_Int16 getCurrentColumnPosition () const
 
void setCurrentColumnPosition (sal_Int16 _nPos)
 
void addColumnListeners (const css::uno::Reference< css::awt::XControlModel > &_xGridControlModel)
 
void impl_checkForCannotSelectUnfiltered (const ::dbtools::SQLExceptionInfo &_rError)
 
 DECL_LINK (OnInvalidateClipboard, Timer *, void)
 
 DECL_LINK (OnClipboardChanged, TransferableDataHelper *, void)
 
 DECL_LINK (OnSearchContextRequest, FmSearchContext &, sal_uInt32)
 
 DECL_LINK (OnFoundData, FmFoundRecordInformation &, void)
 
 DECL_LINK (OnCanceledNotFound, FmFoundRecordInformation &, void)
 
 DECL_LINK (OnAsyncGetCellFocus, void *, void)
 
 DECL_LINK (OnAsyncDisplayError, void *, void)
 

Private Attributes

css::uno::Reference< css::sdbc::XRowSet > m_xRowSet
 
css::uno::Reference< css::sdbcx::XColumnsSupplier > m_xColumnsSupplier
 
css::uno::Reference< css::form::XLoadable > m_xLoadable
 
css::uno::Reference< css::form::XFormComponent > m_xGridModel
 
css::uno::Reference< css::util::XNumberFormatter > m_xFormatter
 
css::uno::Reference< css::sdb::XSingleSelectQueryComposer > m_xParser
 
sal_Int32 m_nRowSetPrivileges
 
AutoTimer m_aInvalidateClipboard
 
TransferableDataHelper m_aSystemClipboard
 
rtl::Reference< TransferableClipboardListenerm_pClipboardNotifier
 
OAsynchronousLink m_aAsyncGetCellFocus
 
OAsynchronousLink m_aAsyncDisplayError
 
::dbtools::SQLExceptionInfo m_aCurrentError
 
OUString m_sStateSaveRecord
 
OUString m_sStateUndoRecord
 
OUString m_sModuleIdentifier
 
rtl::Reference< FormControllerImplm_xFormControllerImpl
 
sal_uInt16 m_nFormActionNestingLevel
 
bool m_bLoadCanceled: 1
 
bool m_bCannotSelectUnfiltered: 1
 

Friends

class FormControllerImpl
 
class FormErrorHelper
 

Detailed Description

Definition at line 68 of file brwctrlr.hxx.

Constructor & Destructor Documentation

◆ SbaXDataBrowserController()

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

◆ ~SbaXDataBrowserController()

dbaui::SbaXDataBrowserController::~SbaXDataBrowserController ( )
overrideprotectedvirtual

Definition at line 529 of file brwctrlr.cxx.

References m_xFormControllerImpl.

Member Function Documentation

◆ AddColumnListener()

void dbaui::SbaXDataBrowserController::AddColumnListener ( const css::uno::Reference< css::beans::XPropertySet > &  xCol)
protectedvirtual

◆ addColumnListeners()

void dbaui::SbaXDataBrowserController::addColumnListeners ( const css::uno::Reference< css::awt::XControlModel > &  _xGridControlModel)
private

Definition at line 2599 of file brwctrlr.cxx.

References AddColumnListener(), i, and nCount.

Referenced by addModelListeners().

◆ addControlListeners()

void dbaui::SbaXDataBrowserController::addControlListeners ( const css::uno::Reference< css::awt::XControl > &  _xGridControl)
protected

Definition at line 868 of file brwctrlr.cxx.

References getBrowserView().

Referenced by Construct().

◆ addModelListeners()

void dbaui::SbaXDataBrowserController::addModelListeners ( const css::uno::Reference< css::awt::XControlModel > &  _xGridControlModel)
protectedvirtual

Reimplemented in dbaui::SbaTableQueryBrowser.

Definition at line 830 of file brwctrlr.cxx.

References addColumnListeners().

Referenced by dbaui::SbaTableQueryBrowser::addModelListeners(), and Construct().

◆ AfterDrop()

void dbaui::SbaXDataBrowserController::AfterDrop ( )
overridevirtual

Implements dbaui::SbaGridListener.

Definition at line 2592 of file brwctrlr.cxx.

References getRowSet().

◆ applyParserFilter()

void dbaui::SbaXDataBrowserController::applyParserFilter ( const OUString &  _rOldFilter,
bool  _bOldFilterApplied,
const ::OUString &  _sOldHaving,
const css::uno::Reference< css::sdb::XSingleSelectQueryComposer > &  _xParser 
)
private

◆ applyParserOrder()

void dbaui::SbaXDataBrowserController::applyParserOrder ( const OUString &  _rOldOrder,
const css::uno::Reference< css::sdb::XSingleSelectQueryComposer > &  _xParser 
)
private

◆ approveParameter()

sal_Bool dbaui::SbaXDataBrowserController::approveParameter ( const css::form::DatabaseParameterEvent &  aEvent)
overridevirtual

◆ approveReset()

sal_Bool dbaui::SbaXDataBrowserController::approveReset ( const css::lang::EventObject &  rEvent)
overridevirtual

Definition at line 1325 of file brwctrlr.cxx.

◆ BeforeDrop()

void dbaui::SbaXDataBrowserController::BeforeDrop ( )
overridevirtual

Implements dbaui::SbaGridListener.

Definition at line 2585 of file brwctrlr.cxx.

References getRowSet().

◆ CellActivated()

void dbaui::SbaXDataBrowserController::CellActivated ( )
overridevirtual

Implements dbaui::SbaGridListener.

Definition at line 2246 of file brwctrlr.cxx.

References m_aInvalidateClipboard, and Timer::Start().

◆ CellDeactivated()

void dbaui::SbaXDataBrowserController::CellDeactivated ( )
overridevirtual

Implements dbaui::SbaGridListener.

Definition at line 2252 of file brwctrlr.cxx.

References m_aInvalidateClipboard, and Task::Stop().

◆ ColumnChanged()

void dbaui::SbaXDataBrowserController::ColumnChanged ( )
overridevirtual

◆ CommitCurrent()

bool dbaui::SbaXDataBrowserController::CommitCurrent ( )
protected

Definition at line 2197 of file brwctrlr.cxx.

References getBrowserView().

Referenced by SaveModified().

◆ confirmDelete()

sal_Bool dbaui::SbaXDataBrowserController::confirmDelete ( const css::sdb::RowChangeEvent &  aEvent)
overridevirtual

Definition at line 1336 of file brwctrlr.cxx.

References Application::CreateMessageDialog(), DBA_RES, and RET_YES.

◆ Construct()

bool dbaui::SbaXDataBrowserController::Construct ( vcl::Window pParent)
overridevirtual

◆ CreateForm()

Reference< XRowSet > dbaui::SbaXDataBrowserController::CreateForm ( )
protectedvirtual

Reimplemented in dbaui::SbaExternalSourceBrowser.

Definition at line 816 of file brwctrlr.cxx.

Referenced by Construct().

◆ CreateGridModel()

Reference< css::form::XFormComponent > dbaui::SbaXDataBrowserController::CreateGridModel ( )
protected

Definition at line 823 of file brwctrlr.cxx.

Referenced by Construct().

◆ createParser_nothrow()

Reference< XSingleSelectQueryComposer > dbaui::SbaXDataBrowserController::createParser_nothrow ( )
protected

◆ criticalFail()

void dbaui::SbaXDataBrowserController::criticalFail ( )
protectedvirtual

◆ DECL_LINK() [1/7]

dbaui::SbaXDataBrowserController::DECL_LINK ( OnAsyncDisplayError  ,
void *  ,
void   
)
private

◆ DECL_LINK() [2/7]

dbaui::SbaXDataBrowserController::DECL_LINK ( OnAsyncGetCellFocus  ,
void *  ,
void   
)
private

◆ DECL_LINK() [3/7]

dbaui::SbaXDataBrowserController::DECL_LINK ( OnCanceledNotFound  ,
FmFoundRecordInformation ,
void   
)
private

◆ DECL_LINK() [4/7]

dbaui::SbaXDataBrowserController::DECL_LINK ( OnClipboardChanged  ,
TransferableDataHelper ,
void   
)
private

◆ DECL_LINK() [5/7]

dbaui::SbaXDataBrowserController::DECL_LINK ( OnFoundData  ,
FmFoundRecordInformation ,
void   
)
private

◆ DECL_LINK() [6/7]

dbaui::SbaXDataBrowserController::DECL_LINK ( OnInvalidateClipboard  ,
Timer ,
void   
)
private

◆ DECL_LINK() [7/7]

dbaui::SbaXDataBrowserController::DECL_LINK ( OnSearchContextRequest  ,
FmSearchContext ,
sal_uInt32   
)
private

◆ describeSupportedFeatures()

void dbaui::SbaXDataBrowserController::describeSupportedFeatures ( )
overrideprotectedvirtual

◆ disposing() [1/2]

void dbaui::SbaXDataBrowserController::disposing ( )
overridevirtual

◆ disposing() [2/2]

virtual void SAL_CALL dbaui::SbaXDataBrowserController::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ disposingColumnModel()

void dbaui::SbaXDataBrowserController::disposingColumnModel ( const css::lang::EventObject &  Source)
protected

Definition at line 966 of file brwctrlr.cxx.

References RemoveColumnListener(), and Source.

◆ disposingFormModel()

void dbaui::SbaXDataBrowserController::disposingFormModel ( const css::lang::EventObject &  Source)
protected

◆ elementInserted()

void dbaui::SbaXDataBrowserController::elementInserted ( const css::container::ContainerEvent &  Event)
overridevirtual

Reimplemented in dbaui::SbaTableQueryBrowser.

Definition at line 1077 of file brwctrlr.cxx.

References AddColumnListener(), get(), and getControlModel().

Referenced by dbaui::SbaTableQueryBrowser::elementInserted().

◆ elementRemoved()

void dbaui::SbaXDataBrowserController::elementRemoved ( const css::container::ContainerEvent &  Event)
overridevirtual

◆ elementReplaced()

void dbaui::SbaXDataBrowserController::elementReplaced ( const css::container::ContainerEvent &  Event)
overridevirtual

◆ enterFormAction()

void dbaui::SbaXDataBrowserController::enterFormAction ( )
protected

◆ errorOccured()

void dbaui::SbaXDataBrowserController::errorOccured ( const css::sdb::SQLErrorEvent &  aEvent)
overridevirtual

◆ Execute()

void dbaui::SbaXDataBrowserController::Execute ( sal_uInt16  nId,
const css::uno::Sequence< css::beans::PropertyValue > &  aArgs 
)
overrideprotectedvirtual

◆ ExecuteFilterSortCrit()

void dbaui::SbaXDataBrowserController::ExecuteFilterSortCrit ( bool  bFilter)
private

◆ ExecuteSearch()

void dbaui::SbaXDataBrowserController::ExecuteSearch ( )
private

◆ focusGained()

void SAL_CALL dbaui::SbaXDataBrowserController::focusGained ( const css::awt::FocusEvent &  e)
overridevirtual

Definition at line 901 of file brwctrlr.cxx.

References m_xFormControllerImpl.

◆ focusLost()

void SAL_CALL dbaui::SbaXDataBrowserController::focusLost ( const css::awt::FocusEvent &  e)
overridevirtual

Definition at line 908 of file brwctrlr.cxx.

References getBrowserView(), m_xFormControllerImpl, and SAL_WARN.

◆ frameAction()

void dbaui::SbaXDataBrowserController::frameAction ( const css::frame::FrameActionEvent &  aEvent)
overridevirtual

◆ getBoundField()

Reference< XPropertySet > dbaui::SbaXDataBrowserController::getBoundField ( ) const
protected

◆ getBrowserView()

UnoDataBrowserView * dbaui::SbaXDataBrowserController::getBrowserView ( ) const
inline

◆ getControlModel()

css::uno::Reference< css::awt::XControlModel > dbaui::SbaXDataBrowserController::getControlModel ( ) const
inlineprotected

◆ getCurrentColumnPosition()

sal_Int16 dbaui::SbaXDataBrowserController::getCurrentColumnPosition ( ) const
private

Definition at line 2561 of file brwctrlr.cxx.

References Exception, and getBrowserView().

Referenced by applyParserFilter(), and applyParserOrder().

◆ getFormComponent()

const css::uno::Reference< css::form::XFormComponent > & dbaui::SbaXDataBrowserController::getFormComponent ( ) const
inlineprotected

◆ getIdentifier()

OUString SAL_CALL dbaui::SbaXDataBrowserController::getIdentifier ( )
overridevirtual

Definition at line 1016 of file brwctrlr.cxx.

References getMutex(), and m_sModuleIdentifier.

◆ getImplementationId()

Sequence< sal_Int8 > SAL_CALL dbaui::SbaXDataBrowserController::getImplementationId ( )
overridevirtual

Reimplemented in dbaui::SbaTableQueryBrowser.

Definition at line 486 of file brwctrlr.cxx.

◆ getLoadable()

const css::uno::Reference< css::form::XLoadable > & dbaui::SbaXDataBrowserController::getLoadable ( ) const
inlineprotected

◆ getNumberFormatter()

const css::uno::Reference< css::util::XNumberFormatter > & dbaui::SbaXDataBrowserController::getNumberFormatter ( ) const
inlineprotected

◆ getRowSet()

const css::uno::Reference< css::sdbc::XRowSet > & dbaui::SbaXDataBrowserController::getRowSet ( ) const
inlineprotected

◆ GetState()

FeatureState dbaui::SbaXDataBrowserController::GetState ( sal_uInt16  nId) const
overrideprotectedvirtual

◆ getTypes()

Sequence< Type > SAL_CALL dbaui::SbaXDataBrowserController::getTypes ( )
overridevirtual

Reimplemented in dbaui::SbaTableQueryBrowser.

Definition at line 478 of file brwctrlr.cxx.

References m_xFormControllerImpl.

Referenced by dbaui::SbaTableQueryBrowser::getTypes().

◆ impl_checkForCannotSelectUnfiltered()

void dbaui::SbaXDataBrowserController::impl_checkForCannotSelectUnfiltered ( const ::dbtools::SQLExceptionInfo _rError)
private

◆ initFormatter()

void dbaui::SbaXDataBrowserController::initFormatter ( )
protected

◆ InitializeForm()

virtual bool dbaui::SbaXDataBrowserController::InitializeForm ( const css::uno::Reference< css::beans::XPropertySet > &  i_formProperties)
protectedpure virtual

◆ initializeParser()

void dbaui::SbaXDataBrowserController::initializeParser ( ) const
private

◆ isLoaded()

bool dbaui::SbaXDataBrowserController::isLoaded ( ) const
protected

Definition at line 2535 of file brwctrlr.cxx.

References m_xLoadable.

Referenced by GetState(), and dbaui::SbaTableQueryBrowser::GetState().

◆ isValid()

bool dbaui::SbaXDataBrowserController::isValid ( ) const
inlineprotected

◆ isValidCursor()

bool dbaui::SbaXDataBrowserController::isValidCursor ( ) const
protected

◆ leaveFormAction()

void dbaui::SbaXDataBrowserController::leaveFormAction ( )
protected

◆ loaded()

void dbaui::SbaXDataBrowserController::loaded ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 2477 of file brwctrlr.cxx.

◆ LoadFinished()

void dbaui::SbaXDataBrowserController::LoadFinished ( bool  bWasSynch)
protectedvirtual

◆ LoadForm()

bool dbaui::SbaXDataBrowserController::LoadForm ( )
protectedvirtual

Reimplemented in dbaui::SbaExternalSourceBrowser.

Definition at line 801 of file brwctrlr.cxx.

References m_xLoadable, and reloadForm().

Referenced by Construct().

◆ loadingCancelled()

bool dbaui::SbaXDataBrowserController::loadingCancelled ( ) const
inlineprotected

◆ modified()

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

Reimplemented in dbaui::SbaExternalSourceBrowser.

Definition at line 1072 of file brwctrlr.cxx.

References setCurrentModified().

Referenced by dbaui::SbaExternalSourceBrowser::modified().

◆ onStartLoading()

void dbaui::SbaXDataBrowserController::onStartLoading ( const css::uno::Reference< css::form::XLoadable > &  _rxLoadable)
protected

◆ postReloadForm()

virtual void dbaui::SbaXDataBrowserController::postReloadForm ( )
inlineprotectedvirtual

Reimplemented in dbaui::SbaTableQueryBrowser.

Definition at line 294 of file brwctrlr.hxx.

Referenced by Execute().

◆ preReloadForm()

virtual bool dbaui::SbaXDataBrowserController::preReloadForm ( )
inlineprotectedvirtual

Reimplemented in dbaui::SbaTableQueryBrowser.

Definition at line 293 of file brwctrlr.hxx.

Referenced by Execute().

◆ propertyChange()

void dbaui::SbaXDataBrowserController::propertyChange ( const css::beans::PropertyChangeEvent &  evt)
overridevirtual

◆ queryInterface()

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

◆ reloaded()

void dbaui::SbaXDataBrowserController::reloaded ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 2504 of file brwctrlr.cxx.

◆ reloadForm()

bool dbaui::SbaXDataBrowserController::reloadForm ( const css::uno::Reference< css::form::XLoadable > &  _rxLoadable)
protected

◆ reloading()

void dbaui::SbaXDataBrowserController::reloading ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 2499 of file brwctrlr.cxx.

◆ RemoveColumnListener()

void dbaui::SbaXDataBrowserController::RemoveColumnListener ( const css::uno::Reference< css::beans::XPropertySet > &  xCol)
protectedvirtual

◆ removeControlListeners()

void dbaui::SbaXDataBrowserController::removeControlListeners ( const css::uno::Reference< css::awt::XControl > &  _xGridControl)
protected

Definition at line 886 of file brwctrlr.cxx.

Referenced by disposing().

◆ removeModelListeners()

void dbaui::SbaXDataBrowserController::removeModelListeners ( const css::uno::Reference< css::awt::XControlModel > &  _xGridControlModel)
protectedvirtual

Reimplemented in dbaui::SbaTableQueryBrowser.

Definition at line 845 of file brwctrlr.cxx.

References i, nCount, and RemoveColumnListener().

Referenced by disposing(), and dbaui::SbaTableQueryBrowser::removeModelListeners().

◆ resetted()

void dbaui::SbaXDataBrowserController::resetted ( const css::lang::EventObject &  rEvent)
overridevirtual

Definition at line 1330 of file brwctrlr.cxx.

References getControlModel(), and setCurrentModified().

◆ RowChanged()

void dbaui::SbaXDataBrowserController::RowChanged ( )
overridevirtual

Implements dbaui::SbaGridListener.

Reimplemented in dbaui::SbaTableQueryBrowser.

Definition at line 2224 of file brwctrlr.cxx.

References setCurrentModified().

Referenced by dbaui::SbaTableQueryBrowser::RowChanged().

◆ SaveModified()

bool dbaui::SbaXDataBrowserController::SaveModified ( bool  bAskFor = true)
protected

◆ SelectionChanged()

void dbaui::SbaXDataBrowserController::SelectionChanged ( )
overridevirtual

Implements dbaui::SbaGridListener.

Reimplemented in dbaui::SbaTableQueryBrowser.

Definition at line 2241 of file brwctrlr.cxx.

◆ setCurrentColumnPosition()

void dbaui::SbaXDataBrowserController::setCurrentColumnPosition ( sal_Int16  _nPos)
private

Definition at line 2574 of file brwctrlr.cxx.

References _nPos, Exception, and getBrowserView().

Referenced by applyParserFilter(), and applyParserOrder().

◆ setCurrentModified()

void dbaui::SbaXDataBrowserController::setCurrentModified ( bool  _bSet)
private

◆ setIdentifier()

void SAL_CALL dbaui::SbaXDataBrowserController::setIdentifier ( const OUString &  Identifier)
overridevirtual

Definition at line 1010 of file brwctrlr.cxx.

References getMutex(), Identifier, and m_sModuleIdentifier.

◆ setLoadingCancelled()

void dbaui::SbaXDataBrowserController::setLoadingCancelled ( )
inlineprotected

Definition at line 133 of file brwctrlr.hxx.

References m_bLoadCanceled.

Referenced by approveParameter().

◆ startFrameListening()

void dbaui::SbaXDataBrowserController::startFrameListening ( const css::uno::Reference< css::frame::XFrame > &  _rxFrame)
overrideprotectedvirtual

Definition at line 541 of file brwctrlr.cxx.

References m_xFormControllerImpl.

◆ stopFrameListening()

void dbaui::SbaXDataBrowserController::stopFrameListening ( const css::uno::Reference< css::frame::XFrame > &  _rxFrame)
overrideprotectedvirtual

Definition at line 553 of file brwctrlr.cxx.

References m_xFormControllerImpl.

◆ suspend()

sal_Bool dbaui::SbaXDataBrowserController::suspend ( sal_Bool  bSuspend)
overridevirtual

◆ unloaded()

void dbaui::SbaXDataBrowserController::unloaded ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 2488 of file brwctrlr.cxx.

References m_xParser.

◆ unloading()

void dbaui::SbaXDataBrowserController::unloading ( const css::lang::EventObject &  aEvent)
overridevirtual

Reimplemented in dbaui::SbaExternalSourceBrowser.

Definition at line 2483 of file brwctrlr.cxx.

Referenced by dbaui::SbaExternalSourceBrowser::unloading().

Friends And Related Function Documentation

◆ FormControllerImpl

friend class FormControllerImpl
friend

Definition at line 75 of file brwctrlr.hxx.

Referenced by SbaXDataBrowserController().

◆ FormErrorHelper

friend class FormErrorHelper
friend

Definition at line 117 of file brwctrlr.hxx.

Member Data Documentation

◆ m_aAsyncDisplayError

OAsynchronousLink dbaui::SbaXDataBrowserController::m_aAsyncDisplayError
private

Definition at line 94 of file brwctrlr.hxx.

Referenced by errorOccured(), leaveFormAction(), and suspend().

◆ m_aAsyncGetCellFocus

OAsynchronousLink dbaui::SbaXDataBrowserController::m_aAsyncGetCellFocus
private

Definition at line 93 of file brwctrlr.hxx.

Referenced by frameAction(), LoadFinished(), and suspend().

◆ m_aCurrentError

::dbtools::SQLExceptionInfo dbaui::SbaXDataBrowserController::m_aCurrentError
private

Definition at line 95 of file brwctrlr.hxx.

Referenced by enterFormAction(), errorOccured(), and leaveFormAction().

◆ m_aInvalidateClipboard

AutoTimer dbaui::SbaXDataBrowserController::m_aInvalidateClipboard
private

◆ m_aSystemClipboard

TransferableDataHelper dbaui::SbaXDataBrowserController::m_aSystemClipboard
private

Definition at line 89 of file brwctrlr.hxx.

Referenced by Construct(), and GetState().

◆ m_bCannotSelectUnfiltered

bool dbaui::SbaXDataBrowserController::m_bCannotSelectUnfiltered
private

Definition at line 107 of file brwctrlr.hxx.

Referenced by GetState(), impl_checkForCannotSelectUnfiltered(), and onStartLoading().

◆ m_bLoadCanceled

bool dbaui::SbaXDataBrowserController::m_bLoadCanceled
private

Definition at line 106 of file brwctrlr.hxx.

Referenced by loadingCancelled(), onStartLoading(), and setLoadingCancelled().

◆ m_nFormActionNestingLevel

sal_uInt16 dbaui::SbaXDataBrowserController::m_nFormActionNestingLevel
private

Definition at line 104 of file brwctrlr.hxx.

Referenced by enterFormAction(), errorOccured(), and leaveFormAction().

◆ m_nRowSetPrivileges

sal_Int32 dbaui::SbaXDataBrowserController::m_nRowSetPrivileges
private

Definition at line 85 of file brwctrlr.hxx.

Referenced by criticalFail(), GetState(), and LoadFinished().

◆ m_pClipboardNotifier

rtl::Reference<TransferableClipboardListener> dbaui::SbaXDataBrowserController::m_pClipboardNotifier
private

Definition at line 91 of file brwctrlr.hxx.

Referenced by Construct(), and disposing().

◆ m_sModuleIdentifier

OUString dbaui::SbaXDataBrowserController::m_sModuleIdentifier
private

Definition at line 99 of file brwctrlr.hxx.

Referenced by getIdentifier(), and setIdentifier().

◆ m_sStateSaveRecord

OUString dbaui::SbaXDataBrowserController::m_sStateSaveRecord
private

Definition at line 97 of file brwctrlr.hxx.

Referenced by GetState().

◆ m_sStateUndoRecord

OUString dbaui::SbaXDataBrowserController::m_sStateUndoRecord
private

Definition at line 98 of file brwctrlr.hxx.

Referenced by GetState().

◆ m_xColumnsSupplier

css::uno::Reference< css::sdbcx::XColumnsSupplier > dbaui::SbaXDataBrowserController::m_xColumnsSupplier
private

Definition at line 78 of file brwctrlr.hxx.

Referenced by Construct(), disposing(), ExecuteFilterSortCrit(), and isValidCursor().

◆ m_xFormatter

css::uno::Reference< css::util::XNumberFormatter > dbaui::SbaXDataBrowserController::m_xFormatter
private

Definition at line 81 of file brwctrlr.hxx.

Referenced by getNumberFormatter(), and initFormatter().

◆ m_xFormControllerImpl

rtl::Reference<FormControllerImpl> dbaui::SbaXDataBrowserController::m_xFormControllerImpl
private

◆ m_xGridModel

css::uno::Reference< css::form::XFormComponent > dbaui::SbaXDataBrowserController::m_xGridModel
private

Definition at line 80 of file brwctrlr.hxx.

Referenced by Construct(), getControlModel(), getFormComponent(), and isValid().

◆ m_xLoadable

css::uno::Reference< css::form::XLoadable > dbaui::SbaXDataBrowserController::m_xLoadable
private

◆ m_xParser

css::uno::Reference< css::sdb::XSingleSelectQueryComposer > dbaui::SbaXDataBrowserController::m_xParser
mutableprivate

◆ m_xRowSet

css::uno::Reference< css::sdbc::XRowSet > dbaui::SbaXDataBrowserController::m_xRowSet
private

Definition at line 77 of file brwctrlr.hxx.

Referenced by Construct(), disposing(), getRowSet(), initFormatter(), isValid(), and isValidCursor().


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