LibreOffice Module dbaccess (master) 1
|
#include <brwctrlr.hxx>
Classes | |
class | FormControllerImpl |
class | FormErrorHelper |
Public Member Functions | |
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 |
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::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 () | |
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< TransferableClipboardListener > | m_pClipboardNotifier |
OAsynchronousLink | m_aAsyncGetCellFocus |
OAsynchronousLink | m_aAsyncDisplayError |
::dbtools::SQLExceptionInfo | m_aCurrentError |
OUString | m_sStateSaveRecord |
OUString | m_sStateUndoRecord |
OUString | m_sModuleIdentifier |
rtl::Reference< FormControllerImpl > | m_xFormControllerImpl |
sal_uInt16 | m_nFormActionNestingLevel |
bool | m_bLoadCanceled: 1 |
bool | m_bCannotSelectUnfiltered: 1 |
Friends | |
class | FormControllerImpl |
class | FormErrorHelper |
Definition at line 68 of file brwctrlr.hxx.
dbaui::SbaXDataBrowserController::SbaXDataBrowserController | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rM | ) |
Definition at line 504 of file brwctrlr.cxx.
References FormControllerImpl, LINK, m_aInvalidateClipboard, m_refCount, m_xFormControllerImpl, Timer::SetInvokeHandler(), and Timer::SetTimeout().
|
overrideprotectedvirtual |
Definition at line 529 of file brwctrlr.cxx.
References m_xFormControllerImpl.
|
protectedvirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 807 of file brwctrlr.cxx.
Referenced by dbaui::SbaTableQueryBrowser::AddColumnListener(), addColumnListeners(), elementInserted(), and elementReplaced().
|
private |
Definition at line 2599 of file brwctrlr.cxx.
References AddColumnListener(), i, and nCount.
Referenced by addModelListeners().
|
protected |
Definition at line 868 of file brwctrlr.cxx.
References getBrowserView().
Referenced by Construct().
|
protectedvirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 830 of file brwctrlr.cxx.
References addColumnListeners().
Referenced by dbaui::SbaTableQueryBrowser::addModelListeners(), and Construct().
|
overridevirtual |
Implements dbaui::SbaGridListener.
Definition at line 2592 of file brwctrlr.cxx.
References getRowSet().
|
private |
Definition at line 1611 of file brwctrlr.cxx.
References Any, criticalFail(), Exception, getCurrentColumnPosition(), getRowSet(), ID_BROWSER_REMOVEFILTER, loadingCancelled(), m_xLoadable, nPos, PROPERTY_APPLYFILTER(), PROPERTY_FILTER(), PROPERTY_HAVING_CLAUSE(), reloadForm(), SAL_WARN, and setCurrentColumnPosition().
Referenced by Execute(), and ExecuteFilterSortCrit().
|
private |
Definition at line 1571 of file brwctrlr.cxx.
References Any, criticalFail(), Exception, getCurrentColumnPosition(), getRowSet(), ID_BROWSER_REMOVEFILTER, loadingCancelled(), m_xLoadable, nPos, PROPERTY_ORDER(), reloadForm(), SAL_WARN, and setCurrentColumnPosition().
Referenced by Execute(), and ExecuteFilterSortCrit().
|
overridevirtual |
Definition at line 1251 of file brwctrlr.cxx.
References aEvent, Any, DBG_UNHANDLED_EXCEPTION, Exception, getConnection(), getRowSet(), i, PROPERTY_NAME(), PROPERTY_VALUE(), SAL_WARN, setLoadingCancelled(), and sName.
|
overridevirtual |
Definition at line 1325 of file brwctrlr.cxx.
|
overridevirtual |
Implements dbaui::SbaGridListener.
Definition at line 2585 of file brwctrlr.cxx.
References getRowSet().
|
overridevirtual |
Implements dbaui::SbaGridListener.
Definition at line 2246 of file brwctrlr.cxx.
References m_aInvalidateClipboard, and Timer::Start().
|
overridevirtual |
Implements dbaui::SbaGridListener.
Definition at line 2252 of file brwctrlr.cxx.
References m_aInvalidateClipboard, and Task::Stop().
|
overridevirtual |
Implements dbaui::SbaGridListener.
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 2229 of file brwctrlr.cxx.
References ID_BROWSER_AUTOFILTER, ID_BROWSER_FILTERCRIT, ID_BROWSER_ORDERCRIT, ID_BROWSER_REMOVEFILTER, ID_BROWSER_SORTDOWN, ID_BROWSER_SORTUP, and setCurrentModified().
Referenced by dbaui::SbaTableQueryBrowser::ColumnChanged().
|
protected |
Definition at line 2197 of file brwctrlr.cxx.
References getBrowserView().
Referenced by SaveModified().
|
overridevirtual |
Definition at line 1336 of file brwctrlr.cxx.
References Application::CreateMessageDialog(), DBA_RES, and RET_YES.
|
overridevirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 691 of file brwctrlr.cxx.
References addControlListeners(), addModelListeners(), Any, dbaui::UnoDataBrowserView::Construct(), CreateForm(), TransferableDataHelper::CreateFromSystemClipboard(), CreateGridModel(), DBA_RES, Exception, getBrowserView(), getControlModel(), getRowSet(), dbaui::UnoDataBrowserView::getVclControl(), getView(), initFormatter(), InitializeForm(), LINK, LoadForm(), m_aSystemClipboard, m_pClipboardNotifier, m_xColumnsSupplier, m_xGridModel, m_xLoadable, m_xRowSet, PROPERTY_ACTIVECOMMAND(), PROPERTY_APPLYFILTER(), PROPERTY_BORDER(), PROPERTY_FILTER(), PROPERTY_HAVING_CLAUSE(), PROPERTY_ISMODIFIED(), PROPERTY_ISNEW(), PROPERTY_ORDER(), PROPERTY_ROWCOUNT(), SAL_WARN, dbaui::SbaGridControl::SetMasterListener(), vcl::Window::Show(), and TransferableDataHelper::StartClipboardListening().
Referenced by dbaui::SbaTableQueryBrowser::Construct().
|
protectedvirtual |
Reimplemented in dbaui::SbaExternalSourceBrowser.
Definition at line 816 of file brwctrlr.cxx.
Referenced by Construct().
|
protected |
Definition at line 823 of file brwctrlr.cxx.
Referenced by Construct().
|
protected |
Definition at line 1658 of file brwctrlr.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, getRowSet(), PROPERTY_ACTIVE_CONNECTION(), PROPERTY_ACTIVECOMMAND(), PROPERTY_COMMAND(), PROPERTY_COMMAND_TYPE(), PROPERTY_FILTER(), PROPERTY_HAVING_CLAUSE(), PROPERTY_ORDER(), SERVICE_NAME_SINGLESELECTQUERYCOMPOSER, and xFactory.
Referenced by Execute(), ExecuteFilterSortCrit(), and dbaui::SbaTableQueryBrowser::impl_sanitizeRowSetClauses_nothrow().
|
protectedvirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 2420 of file brwctrlr.cxx.
References m_nRowSetPrivileges.
Referenced by applyParserFilter(), applyParserOrder(), dbaui::SbaTableQueryBrowser::criticalFail(), and Execute().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overrideprotectedvirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 668 of file brwctrlr.cxx.
References ID_BROWSER_INSERT_ROW, ID_BROWSER_SAVERECORD, ID_BROWSER_SORTDOWN, ID_BROWSER_SORTUP, and ID_BROWSER_UNDORECORD.
Referenced by dbaui::SbaTableQueryBrowser::describeSupportedFeatures().
|
overridevirtual |
Reimplemented in dbaui::SbaExternalSourceBrowser, and dbaui::SbaTableQueryBrowser.
Definition at line 1118 of file brwctrlr.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, getBrowserView(), getControlModel(), getRowSet(), getView(), Task::IsActive(), m_aInvalidateClipboard, m_pClipboardNotifier, m_xColumnsSupplier, m_xLoadable, m_xParser, m_xRowSet, PROPERTY_ACTIVECOMMAND(), PROPERTY_APPLYFILTER(), PROPERTY_FILTER(), PROPERTY_HAVING_CLAUSE(), PROPERTY_ISMODIFIED(), PROPERTY_ISNEW(), PROPERTY_ORDER(), PROPERTY_ROWCOUNT(), removeControlListeners(), removeModelListeners(), and Task::Stop().
Referenced by dbaui::SbaExternalSourceBrowser::disposing(), and dbaui::SbaTableQueryBrowser::disposing().
|
overridevirtual |
Reimplemented in dbaui::SbaExternalSourceBrowser, and dbaui::SbaTableQueryBrowser.
|
protected |
Definition at line 966 of file brwctrlr.cxx.
References RemoveColumnListener(), and Source.
|
protected |
Definition at line 939 of file brwctrlr.cxx.
References m_xLoadable, PROPERTY_ACTIVECOMMAND(), PROPERTY_APPLYFILTER(), PROPERTY_FILTER(), PROPERTY_HAVING_CLAUSE(), PROPERTY_ISMODIFIED(), PROPERTY_ISNEW(), PROPERTY_ORDER(), PROPERTY_ROWCOUNT(), and Source.
|
overridevirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 1077 of file brwctrlr.cxx.
References AddColumnListener(), get(), and getControlModel().
Referenced by dbaui::SbaTableQueryBrowser::elementInserted().
|
overridevirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 1086 of file brwctrlr.cxx.
References get(), getControlModel(), and RemoveColumnListener().
Referenced by dbaui::SbaTableQueryBrowser::elementRemoved().
|
overridevirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 1095 of file brwctrlr.cxx.
References AddColumnListener(), get(), getControlModel(), and RemoveColumnListener().
Referenced by dbaui::SbaTableQueryBrowser::elementReplaced().
|
protected |
Definition at line 2514 of file brwctrlr.cxx.
References dbtools::SQLExceptionInfo::clear(), m_aCurrentError, and m_nFormActionNestingLevel.
Referenced by dbaui::SbaXDataBrowserController::FormErrorHelper::FormErrorHelper().
|
overridevirtual |
Definition at line 1231 of file brwctrlr.cxx.
References aEvent, dbaui::OAsynchronousLink::Call(), getMutex(), dbtools::SQLExceptionInfo::isValid(), m_aAsyncDisplayError, m_aCurrentError, and m_nFormActionNestingLevel.
Referenced by Execute().
|
overrideprotectedvirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 1811 of file brwctrlr.cxx.
References aEvent, Any, applyParserFilter(), applyParserOrder(), svt::IEditImplementation::Copy(), dbaui::SbaGridControl::CopySelectedRowsToClipboard(), createParser_nothrow(), criticalFail(), svt::IEditImplementation::Cut(), DBA_RES, DBG_UNHANDLED_EXCEPTION, dbaui::SbaGridControl::DeactivateCell(), dbaui::SbaGridControl::DeleteSelectedRows(), errorOccured(), Exception, Execute(), ExecuteFilterSortCrit(), ExecuteSearch(), tools::SvRef< typename T >::get(), getBoundField(), getBrowserView(), getControlModel(), DbGridControl::GetOptions(), getRowSet(), GetState(), dbaui::UnoDataBrowserView::getVclControl(), ID_BROWSER_AUTOFILTER, ID_BROWSER_COPY, ID_BROWSER_CUT, ID_BROWSER_EDITDOC, ID_BROWSER_FILTERCRIT, ID_BROWSER_FILTERED, ID_BROWSER_INSERT_ROW, ID_BROWSER_ORDERCRIT, ID_BROWSER_PASTE, ID_BROWSER_REFRESH, ID_BROWSER_REMOVEFILTER, ID_BROWSER_SAVERECORD, ID_BROWSER_SEARCH, ID_BROWSER_SORTDOWN, ID_BROWSER_SORTUP, ID_BROWSER_UNDORECORD, isAggregateColumn(), isValidCursor(), m_xLoadable, m_xParser, nId, svt::IEditImplementation::Paste(), postReloadForm(), preReloadForm(), PROPERTY_APPLYFILTER(), PROPERTY_FILTER(), PROPERTY_HAVING_CLAUSE(), PROPERTY_ISNEW(), PROPERTY_ORDER(), reloadForm(), SAL_WARN, SaveModified(), setCurrentModified(), DbGridControl::SetOptions(), and TOOLS_WARN_EXCEPTION.
Referenced by Execute(), dbaui::SbaTableQueryBrowser::Execute(), and SaveModified().
|
private |
Definition at line 1702 of file brwctrlr.cxx.
References applyParserFilter(), applyParserOrder(), dbaui::DlgOrderCrit::BuildOrderPart(), dbaui::DlgFilterCrit::BuildWherePart(), createParser_nothrow(), Exception, getRowSet(), m_xColumnsSupplier, m_xParser, PROPERTY_ACTIVE_CONNECTION(), PROPERTY_APPLYFILTER(), weld::DialogController::run(), SaveModified(), and showError().
Referenced by Execute().
|
private |
Definition at line 1763 of file brwctrlr.cxx.
References Any, COL_LIGHTRED(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateFmSearchDialog(), VclPtr< class reference_type >::disposeAndClear(), getBrowserView(), getControlModel(), IsSearchableControl(), LINK, PROPERTY_CONTROLSOURCE(), and dbaui::UnoDataBrowserView::View2ModelPos().
Referenced by Execute().
|
overridevirtual |
Definition at line 901 of file brwctrlr.cxx.
References m_xFormControllerImpl.
|
overridevirtual |
Definition at line 908 of file brwctrlr.cxx.
References getBrowserView(), m_xFormControllerImpl, and SAL_WARN.
|
overridevirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 1184 of file brwctrlr.cxx.
References aEvent, dbaui::OAsynchronousLink::Call(), dbaui::OAsynchronousLink::CancelCall(), getBrowserView(), getMutex(), Task::IsActive(), m_aAsyncGetCellFocus, m_aInvalidateClipboard, Timer::Start(), and Task::Stop().
Referenced by dbaui::SbaTableQueryBrowser::frameAction().
|
protected |
Definition at line 2278 of file brwctrlr.cxx.
References getBrowserView(), getControlModel(), PROPERTY_BOUNDFIELD(), and dbaui::UnoDataBrowserView::View2ModelPos().
Referenced by Execute(), and GetState().
|
inline |
Definition at line 138 of file brwctrlr.hxx.
References getView().
Referenced by addControlListeners(), dbaui::SbaExternalSourceBrowser::Attach(), dbaui::SbaTableQueryBrowser::ColumnChanged(), CommitCurrent(), Construct(), dbaui::SbaTableQueryBrowser::Construct(), disposing(), dbaui::SbaTableQueryBrowser::disposing(), Execute(), dbaui::SbaTableQueryBrowser::Execute(), ExecuteSearch(), focusLost(), frameAction(), getBoundField(), getCurrentColumnPosition(), GetState(), dbaui::SbaTableQueryBrowser::GetState(), dbaui::SbaTableQueryBrowser::hideExplorer(), dbaui::SbaTableQueryBrowser::implLoadAnything(), dbaui::SbaTableQueryBrowser::initializePreviewMode(), LoadFinished(), dbaui::SbaTableQueryBrowser::preReloadForm(), dbaui::SbaTableQueryBrowser::RowChanged(), SaveModified(), setCurrentColumnPosition(), and dbaui::SbaTableQueryBrowser::showExplorer().
|
inlineprotected |
Definition at line 125 of file brwctrlr.hxx.
References m_xGridModel.
Referenced by dbaui::SbaExternalSourceBrowser::ClearView(), Construct(), dbaui::SbaExternalSourceBrowser::dispatch(), disposing(), elementInserted(), elementRemoved(), elementReplaced(), Execute(), ExecuteSearch(), getBoundField(), resetted(), and dbaui::SbaTableQueryBrowser::unloadAndCleanup().
|
private |
Definition at line 2561 of file brwctrlr.cxx.
References Exception, and getBrowserView().
Referenced by applyParserFilter(), and applyParserOrder().
|
inlineprotected |
Definition at line 124 of file brwctrlr.hxx.
References m_xGridModel.
Referenced by dbaui::SbaTableQueryBrowser::impl_initialize(), dbaui::SbaTableQueryBrowser::implLoadAnything(), and dbaui::SbaTableQueryBrowser::postReloadForm().
|
overridevirtual |
Definition at line 1016 of file brwctrlr.cxx.
References getMutex(), and m_sModuleIdentifier.
|
overridevirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 486 of file brwctrlr.cxx.
|
inlineprotected |
Definition at line 122 of file brwctrlr.hxx.
References m_xLoadable.
Referenced by dbaui::SbaTableQueryBrowser::implSelect(), and dbaui::SbaTableQueryBrowser::unloadAndCleanup().
|
inlineprotected |
Definition at line 126 of file brwctrlr.hxx.
References m_xFormatter.
Referenced by dbaui::SbaTableQueryBrowser::implCopyObject(), and dbaui::SbaTableQueryBrowser::InitializeGridModel().
|
inlineprotected |
Definition at line 121 of file brwctrlr.hxx.
References m_xRowSet.
Referenced by AfterDrop(), applyParserFilter(), applyParserOrder(), approveParameter(), BeforeDrop(), Construct(), createParser_nothrow(), disposing(), Execute(), dbaui::SbaTableQueryBrowser::Execute(), ExecuteFilterSortCrit(), dbaui::SbaTableQueryBrowser::getScriptContainer(), dbaui::SbaTableQueryBrowser::getSelection(), GetState(), dbaui::SbaTableQueryBrowser::GetState(), dbaui::SbaTableQueryBrowser::impl_initialize(), dbaui::SbaTableQueryBrowser::impl_sanitizeRowSetClauses_nothrow(), dbaui::SbaTableQueryBrowser::implGetQuerySignature(), dbaui::SbaTableQueryBrowser::implLoadAnything(), dbaui::SbaTableQueryBrowser::implSelect(), dbaui::SbaTableQueryBrowser::InitializeGridModel(), initializeParser(), dbaui::SbaTableQueryBrowser::initializePreviewMode(), dbaui::SbaTableQueryBrowser::preReloadForm(), reloadForm(), and SaveModified().
|
overrideprotectedvirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 1346 of file brwctrlr.cxx.
References dbaui::FeatureState::bChecked, dbaui::FeatureState::bEnabled, DBG_UNHANDLED_EXCEPTION, Exception, tools::SvRef< typename T >::get(), getBoundField(), getBrowserView(), TransferableDataHelper::GetDataFlavorExVector(), DbGridControl::GetOptions(), getRowSet(), svt::IEditImplementation::GetSelection(), dbaui::UnoDataBrowserView::getVclControl(), ID_BROWSER_AUTOFILTER, ID_BROWSER_COPY, ID_BROWSER_CUT, ID_BROWSER_EDITDOC, ID_BROWSER_FILTERCRIT, ID_BROWSER_FILTERED, ID_BROWSER_INSERT_ROW, ID_BROWSER_ORDERCRIT, ID_BROWSER_PASTE, ID_BROWSER_REDO, ID_BROWSER_REFRESH, ID_BROWSER_REMOVEFILTER, ID_BROWSER_SAVERECORD, ID_BROWSER_SEARCH, ID_BROWSER_SORTDOWN, ID_BROWSER_SORTUP, ID_BROWSER_UNDORECORD, IsFormatSupported(), isLoaded(), svt::IEditImplementation::IsReadOnly(), isValid(), isValidCursor(), Selection::Len(), m_aSystemClipboard, m_bCannotSelectUnfiltered, m_nRowSetPrivileges, m_sStateSaveRecord, m_sStateUndoRecord, m_xParser, nCount, nId, PROPERTY_APPLYFILTER(), PROPERTY_ESCAPE_PROCESSING(), PROPERTY_FILTER(), PROPERTY_HAVING_CLAUSE(), PROPERTY_ISMODIFIED(), PROPERTY_ISNEW(), PROPERTY_ISSEARCHABLE(), PROPERTY_PRIVILEGES(), PROPERTY_ROWCOUNT(), and dbaui::FeatureState::sTitle.
Referenced by Execute(), dbaui::SbaTableQueryBrowser::GetState(), and SaveModified().
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 478 of file brwctrlr.cxx.
References m_xFormControllerImpl.
Referenced by dbaui::SbaTableQueryBrowser::getTypes().
|
private |
Definition at line 584 of file brwctrlr.cxx.
References connectivity::SQLError::getErrorCode(), ID_BROWSER_FILTERCRIT, and m_bCannotSelectUnfiltered.
Referenced by reloadForm().
|
protected |
Definition at line 653 of file brwctrlr.cxx.
References m_xFormatter, and m_xRowSet.
Referenced by dbaui::SbaExternalSourceBrowser::Attach(), Construct(), and dbaui::SbaTableQueryBrowser::implLoadAnything().
|
protectedpure virtual |
Implemented in dbaui::SbaExternalSourceBrowser, and dbaui::SbaTableQueryBrowser.
Referenced by Construct().
|
private |
Definition at line 2454 of file brwctrlr.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, getRowSet(), m_xParser, PROPERTY_ESCAPE_PROCESSING(), and PROPERTY_SINGLESELECTQUERYCOMPOSER().
Referenced by LoadFinished().
|
protected |
Definition at line 2535 of file brwctrlr.cxx.
References m_xLoadable.
Referenced by GetState(), and dbaui::SbaTableQueryBrowser::GetState().
|
inlineprotected |
Definition at line 128 of file brwctrlr.hxx.
References m_xGridModel, and m_xRowSet.
Referenced by GetState(), dbaui::SbaTableQueryBrowser::GetState(), dbaui::SbaTableQueryBrowser::LoadFinished(), and LoadFinished().
|
protected |
Definition at line 2540 of file brwctrlr.cxx.
References m_xColumnsSupplier, m_xParser, m_xRowSet, and PROPERTY_ISNEW().
Referenced by Execute(), dbaui::SbaTableQueryBrowser::Execute(), GetState(), and dbaui::SbaTableQueryBrowser::GetState().
|
protected |
Definition at line 2523 of file brwctrlr.cxx.
References dbaui::OAsynchronousLink::Call(), dbtools::SQLExceptionInfo::isValid(), m_aAsyncDisplayError, m_aCurrentError, and m_nFormActionNestingLevel.
Referenced by dbaui::SbaXDataBrowserController::FormErrorHelper::~FormErrorHelper().
|
overridevirtual |
Definition at line 2477 of file brwctrlr.cxx.
|
protectedvirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 2426 of file brwctrlr.cxx.
References dbaui::OAsynchronousLink::Call(), DBG_UNHANDLED_EXCEPTION, Exception, getBrowserView(), dbaui::UnoDataBrowserView::getGridControl(), initializeParser(), isValid(), loadingCancelled(), m_aAsyncGetCellFocus, m_nRowSetPrivileges, m_xLoadable, and PROPERTY_PRIVILEGES().
Referenced by dbaui::SbaExternalSourceBrowser::Attach(), and dbaui::SbaTableQueryBrowser::LoadFinished().
|
protectedvirtual |
Reimplemented in dbaui::SbaExternalSourceBrowser.
Definition at line 801 of file brwctrlr.cxx.
References m_xLoadable, and reloadForm().
Referenced by Construct().
|
inlineprotected |
Definition at line 131 of file brwctrlr.hxx.
References m_bLoadCanceled.
Referenced by applyParserFilter(), applyParserOrder(), dbaui::SbaTableQueryBrowser::LoadFinished(), and LoadFinished().
|
overridevirtual |
Reimplemented in dbaui::SbaExternalSourceBrowser.
Definition at line 1072 of file brwctrlr.cxx.
References setCurrentModified().
Referenced by dbaui::SbaExternalSourceBrowser::modified().
|
protected |
Definition at line 565 of file brwctrlr.cxx.
References DBG_UNHANDLED_EXCEPTION, m_bCannotSelectUnfiltered, and m_bLoadCanceled.
Referenced by dbaui::SbaExternalSourceBrowser::Attach(), and reloadForm().
|
inlineprotectedvirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 294 of file brwctrlr.hxx.
Referenced by Execute().
|
inlineprotectedvirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 293 of file brwctrlr.hxx.
Referenced by Execute().
|
overridevirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 1022 of file brwctrlr.cxx.
References ID_BROWSER_REMOVEFILTER, PROPERTY_FILTER(), PROPERTY_HAVING_CLAUSE(), PROPERTY_ISMODIFIED(), PROPERTY_ISNEW(), PROPERTY_ORDER(), PROPERTY_ROWCOUNT(), and setCurrentModified().
Referenced by dbaui::SbaTableQueryBrowser::propertyChange().
|
overridevirtual |
Reimplemented in dbaui::SbaExternalSourceBrowser, and dbaui::SbaTableQueryBrowser.
Definition at line 491 of file brwctrlr.cxx.
References Any, and m_xFormControllerImpl.
Referenced by dbaui::SbaExternalSourceBrowser::queryInterface(), and dbaui::SbaTableQueryBrowser::queryInterface().
|
overridevirtual |
Definition at line 2504 of file brwctrlr.cxx.
|
protected |
loads or reloads the form
Definition at line 594 of file brwctrlr.cxx.
References DBG_UNHANDLED_EXCEPTION, getRowSet(), impl_checkForCannotSelectUnfiltered(), dbtools::SQLExceptionInfo::isValid(), m_xParser, onStartLoading(), PROPERTY_ESCAPE_PROCESSING(), PROPERTY_NAME(), PROPERTY_SINGLESELECTQUERYCOMPOSER(), PROPERTY_TABLENAME(), and showError().
Referenced by applyParserFilter(), applyParserOrder(), Execute(), dbaui::SbaTableQueryBrowser::implLoadAnything(), and LoadForm().
|
overridevirtual |
Definition at line 2499 of file brwctrlr.cxx.
|
protectedvirtual |
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 812 of file brwctrlr.cxx.
Referenced by disposingColumnModel(), elementRemoved(), elementReplaced(), dbaui::SbaTableQueryBrowser::RemoveColumnListener(), and removeModelListeners().
|
protected |
Definition at line 886 of file brwctrlr.cxx.
Referenced by disposing().
|
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().
|
overridevirtual |
Definition at line 1330 of file brwctrlr.cxx.
References getControlModel(), and setCurrentModified().
|
overridevirtual |
Implements dbaui::SbaGridListener.
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 2224 of file brwctrlr.cxx.
References setCurrentModified().
Referenced by dbaui::SbaTableQueryBrowser::RowChanged().
|
protected |
Definition at line 2148 of file brwctrlr.cxx.
References CommitCurrent(), Application::CreateBuilder(), Exception, Execute(), getBrowserView(), getRowSet(), GetState(), dbaui::UnoDataBrowserView::getVclControl(), ID_BROWSER_SAVERECORD, ID_BROWSER_UNDORECORD, PROPERTY_ISMODIFIED(), PROPERTY_ISNEW(), RET_CANCEL, RET_NO, and SAL_WARN.
Referenced by Execute(), dbaui::SbaTableQueryBrowser::Execute(), ExecuteFilterSortCrit(), and suspend().
|
overridevirtual |
Implements dbaui::SbaGridListener.
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 2241 of file brwctrlr.cxx.
|
private |
Definition at line 2574 of file brwctrlr.cxx.
References _nPos, Exception, and getBrowserView().
Referenced by applyParserFilter(), and applyParserOrder().
|
private |
Definition at line 2217 of file brwctrlr.cxx.
References ID_BROWSER_SAVERECORD, and ID_BROWSER_UNDORECORD.
Referenced by ColumnChanged(), Execute(), modified(), propertyChange(), resetted(), and RowChanged().
|
overridevirtual |
Definition at line 1010 of file brwctrlr.cxx.
References getMutex(), Identifier, and m_sModuleIdentifier.
|
inlineprotected |
Definition at line 133 of file brwctrlr.hxx.
References m_bLoadCanceled.
Referenced by approveParameter().
|
overrideprotectedvirtual |
Definition at line 541 of file brwctrlr.cxx.
References m_xFormControllerImpl.
|
overrideprotectedvirtual |
Definition at line 553 of file brwctrlr.cxx.
References m_xFormControllerImpl.
Reimplemented in dbaui::SbaTableQueryBrowser.
Definition at line 1108 of file brwctrlr.cxx.
References dbaui::OAsynchronousLink::CancelCall(), m_aAsyncDisplayError, m_aAsyncGetCellFocus, and SaveModified().
Referenced by dbaui::SbaTableQueryBrowser::suspend().
|
overridevirtual |
Definition at line 2488 of file brwctrlr.cxx.
References m_xParser.
|
overridevirtual |
Reimplemented in dbaui::SbaExternalSourceBrowser.
Definition at line 2483 of file brwctrlr.cxx.
Referenced by dbaui::SbaExternalSourceBrowser::unloading().
|
friend |
Definition at line 75 of file brwctrlr.hxx.
Referenced by SbaXDataBrowserController().
|
friend |
Definition at line 117 of file brwctrlr.hxx.
|
private |
Definition at line 94 of file brwctrlr.hxx.
Referenced by errorOccured(), leaveFormAction(), and suspend().
|
private |
Definition at line 93 of file brwctrlr.hxx.
Referenced by frameAction(), LoadFinished(), and suspend().
|
private |
Definition at line 95 of file brwctrlr.hxx.
Referenced by enterFormAction(), errorOccured(), and leaveFormAction().
|
private |
Definition at line 87 of file brwctrlr.hxx.
Referenced by CellActivated(), CellDeactivated(), disposing(), frameAction(), and SbaXDataBrowserController().
|
private |
Definition at line 89 of file brwctrlr.hxx.
Referenced by Construct(), and GetState().
|
private |
Definition at line 107 of file brwctrlr.hxx.
Referenced by GetState(), impl_checkForCannotSelectUnfiltered(), and onStartLoading().
|
private |
Definition at line 106 of file brwctrlr.hxx.
Referenced by loadingCancelled(), onStartLoading(), and setLoadingCancelled().
|
private |
Definition at line 104 of file brwctrlr.hxx.
Referenced by enterFormAction(), errorOccured(), and leaveFormAction().
|
private |
Definition at line 85 of file brwctrlr.hxx.
Referenced by criticalFail(), GetState(), and LoadFinished().
|
private |
Definition at line 91 of file brwctrlr.hxx.
Referenced by Construct(), and disposing().
|
private |
Definition at line 99 of file brwctrlr.hxx.
Referenced by getIdentifier(), and setIdentifier().
|
private |
Definition at line 97 of file brwctrlr.hxx.
Referenced by GetState().
|
private |
Definition at line 98 of file brwctrlr.hxx.
Referenced by GetState().
|
private |
Definition at line 78 of file brwctrlr.hxx.
Referenced by Construct(), disposing(), ExecuteFilterSortCrit(), and isValidCursor().
|
private |
Definition at line 81 of file brwctrlr.hxx.
Referenced by getNumberFormatter(), and initFormatter().
|
private |
Definition at line 102 of file brwctrlr.hxx.
Referenced by focusGained(), focusLost(), getTypes(), queryInterface(), SbaXDataBrowserController(), startFrameListening(), stopFrameListening(), and ~SbaXDataBrowserController().
|
private |
Definition at line 80 of file brwctrlr.hxx.
Referenced by Construct(), getControlModel(), getFormComponent(), and isValid().
|
private |
Definition at line 79 of file brwctrlr.hxx.
Referenced by applyParserFilter(), applyParserOrder(), Construct(), disposing(), disposingFormModel(), Execute(), getLoadable(), isLoaded(), LoadFinished(), and LoadForm().
|
mutableprivate |
Definition at line 83 of file brwctrlr.hxx.
Referenced by disposing(), Execute(), ExecuteFilterSortCrit(), GetState(), initializeParser(), isValidCursor(), reloadForm(), and unloaded().
|
private |
Definition at line 77 of file brwctrlr.hxx.
Referenced by Construct(), disposing(), getRowSet(), initFormatter(), isValid(), and isValidCursor().