LibreOffice Module dbaccess (master) 1
|
#include <databaseobjectview.hxx>
Public Member Functions | |
TableDesigner (const css::uno::Reference< css::uno::XComponentContext > &_rxORB, const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > &_rxApplication, const css::uno::Reference< css::frame::XFrame > &_rxParentFrame) | |
Public Member Functions inherited from dbaui::DatabaseObjectView | |
DatabaseObjectView (const css::uno::Reference< css::uno::XComponentContext > &_rxORB, const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > &_rxApplication, const css::uno::Reference< css::frame::XFrame > &_rxParentFrame, OUString _sComponentURL) | |
virtual | ~DatabaseObjectView () |
void | setTargetFrame (const css::uno::Reference< css::frame::XFrame > &_rxFrame) |
sets the target frame into which the view should be loaded. More... | |
css::uno::Reference< css::lang::XComponent > | createNew (const css::uno::Reference< css::sdbc::XDataSource > &_xDataSource, const ::comphelper::NamedValueCollection &i_rDispatchArgs=::comphelper::NamedValueCollection()) |
opens a view for a to-be-created object More... | |
css::uno::Reference< css::lang::XComponent > | openExisting (const css::uno::Any &_aDataSource, const OUString &_rName, const ::comphelper::NamedValueCollection &i_rDispatchArgs) |
opens a view for an existent object More... | |
Protected Member Functions | |
virtual void | fillDispatchArgs (::comphelper::NamedValueCollection &i_rDispatchArgs, const css::uno::Any &_aDataSource, const OUString &_rObjectName) override |
virtual css::uno::Reference< css::lang::XComponent > | doCreateView (const css::uno::Any &_rDataSource, const OUString &_rObjectName, const ::comphelper::NamedValueCollection &i_rCreationArgs) override |
creates the desired view More... | |
Protected Member Functions inherited from dbaui::DatabaseObjectView | |
virtual css::uno::Reference< css::lang::XComponent > | doCreateView (const css::uno::Any &_rDataSource, const OUString &_rObjectName, const ::comphelper::NamedValueCollection &i_rCreationArgs) |
creates the desired view More... | |
virtual void | fillDispatchArgs (::comphelper::NamedValueCollection &i_rDispatchArgs, const css::uno::Any &_rDataSource, const OUString &_rObjectName) |
const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > & | getApplicationUI () const |
css::uno::Reference< css::sdbc::XConnection > | getConnection () const |
Private Member Functions | |
css::uno::Reference< css::uno::XInterface > | impl_getConnectionProvidedDesigner_nothrow (const OUString &_rTableName) |
retrieves the table designer component as provided by the connection, if any More... | |
Definition at line 161 of file databaseobjectview.hxx.
dbaui::TableDesigner::TableDesigner | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rxORB, |
const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > & | _rxApplication, | ||
const css::uno::Reference< css::frame::XFrame > & | _rxParentFrame | ||
) |
Definition at line 191 of file databaseobjectview.cxx.
|
overrideprotectedvirtual |
creates the desired view
The default implementation will call <member>fillDispatchArgs</member>, followed by <member>doDispatch</member>.
_rDataSource | the data source, as passed to the <member>createNew</member> or <member>openExisting</member> method. |
_rObjectName | the name of the object for which the view is to be opened, or an empty string if a view for a new object should be created. |
_rCreationArgs | the arguments for the view's creation |
Reimplemented from dbaui::DatabaseObjectView.
Definition at line 207 of file databaseobjectview.cxx.
References DBG_UNHANDLED_EXCEPTION, dbaui::DatabaseObjectView::doCreateView(), Exception, dbaui::AsyncDialogExecutor::executeModalDialogAsync(), and impl_getConnectionProvidedDesigner_nothrow().
|
overrideprotectedvirtual |
Reimplemented from dbaui::DatabaseObjectView.
Definition at line 196 of file databaseobjectview.cxx.
References dbaui::DatabaseObjectView::fillDispatchArgs(), PROPERTY_CURRENTTABLE(), and comphelper::NamedValueCollection::put().
|
private |
retrieves the table designer component as provided by the connection, if any
_rTableName | the name of the table for which a designer is to be obtained |
Definition at line 227 of file databaseobjectview.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, dbaui::DatabaseObjectView::getApplicationUI(), and dbaui::DatabaseObjectView::getConnection().
Referenced by doCreateView().