LibreOffice Module dbaccess (master) 1
|
#include <exsrcbrw.hxx>
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) | |
UnoDataBrowserView * | getBrowserView () 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< SbaXFormAdapter > | m_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::XPropertySet > | getBoundField () 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 () | |
Definition at line 32 of file exsrcbrw.hxx.
SbaExternalSourceBrowser::SbaExternalSourceBrowser | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rM | ) |
Definition at line 61 of file exsrcbrw.cxx.
References getMutex().
|
overrideprivatevirtual |
Definition at line 69 of file exsrcbrw.cxx.
|
overridevirtual |
Definition at line 282 of file exsrcbrw.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), and m_aModifyListeners.
|
private |
Definition at line 302 of file exsrcbrw.cxx.
References Any, DBG_UNHANDLED_EXCEPTION, Exception, dbaui::SbaXDataBrowserController::getBrowserView(), dbaui::UnoDataBrowserView::getGridControl(), dbaui::SbaXDataBrowserController::initFormatter(), dbaui::SbaXDataBrowserController::LoadFinished(), m_pDataSourceImpl, dbaui::SbaXDataBrowserController::onStartLoading(), PROPERTY_ISNEW(), SAL_WARN, startListening(), and stopListening().
Referenced by ClearView(), and dispatch().
|
private |
Definition at line 374 of file exsrcbrw.cxx.
References Attach(), and dbaui::SbaXDataBrowserController::getControlModel().
Referenced by dispatch(), disposing(), and unloading().
|
overrideprivatevirtual |
Reimplemented from dbaui::SbaXDataBrowserController.
Definition at line 83 of file exsrcbrw.cxx.
References m_pDataSourceImpl.
|
overridevirtual |
Definition at line 110 of file exsrcbrw.cxx.
References Any, Attach(), aURL, ClearView(), Exception, dbaui::SbaXDataBrowserController::getControlModel(), m_pDataSourceImpl, n, SAL_WARN, and o3tl::tryAccess< sal_Int16 >().
|
overridevirtual |
Reimplemented from dbaui::SbaXDataBrowserController.
Definition at line 270 of file exsrcbrw.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::disposeAndClear(), dbaui::SbaXDataBrowserController::disposing(), m_aModifyListeners, and stopListening().
|
overridevirtual |
Reimplemented from dbaui::SbaXDataBrowserController.
Definition at line 385 of file exsrcbrw.cxx.
References ClearView(), dbaui::SbaXDataBrowserController::disposing(), m_pDataSourceImpl, and Source.
|
overridevirtual |
Definition at line 78 of file exsrcbrw.cxx.
|
overridevirtual |
Definition at line 73 of file exsrcbrw.cxx.
|
overrideprivatevirtual |
Implements dbaui::SbaXDataBrowserController.
Definition at line 89 of file exsrcbrw.cxx.
|
overrideprivatevirtual |
Reimplemented from dbaui::SbaXDataBrowserController.
Definition at line 94 of file exsrcbrw.cxx.
|
overridevirtual |
Reimplemented from dbaui::SbaXDataBrowserController.
Definition at line 101 of file exsrcbrw.cxx.
References aEvent, m_aModifyListeners, dbaui::SbaXDataBrowserController::modified(), and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
|
overridevirtual |
Definition at line 217 of file exsrcbrw.cxx.
References aURL, and m_bInQueryDispatch.
|
overridevirtual |
Reimplemented from dbaui::SbaXDataBrowserController.
Definition at line 50 of file exsrcbrw.cxx.
References Any, and dbaui::SbaXDataBrowserController::queryInterface().
|
overridevirtual |
Definition at line 287 of file exsrcbrw.cxx.
References m_aModifyListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
private |
|
private |
Definition at line 404 of file exsrcbrw.cxx.
References m_pDataSourceImpl.
Referenced by Attach(), and disposing().
|
overridevirtual |
Reimplemented from dbaui::SbaXDataBrowserController.
Definition at line 292 of file exsrcbrw.cxx.
References aEvent, ClearView(), m_pDataSourceImpl, and dbaui::SbaXDataBrowserController::unloading().
|
private |
Definition at line 36 of file exsrcbrw.hxx.
Referenced by addModifyListener(), disposing(), modified(), and removeModifyListener().
|
private |
Definition at line 39 of file exsrcbrw.hxx.
Referenced by queryDispatch().
|
private |
Definition at line 38 of file exsrcbrw.hxx.
Referenced by Attach(), CreateForm(), dispatch(), disposing(), startListening(), stopListening(), and unloading().