22#include <com/sun/star/sdbc/XConnection.hpp>
43 virtual css::uno::Reference< css::sdbc::XConnection >
48 virtual void addTableWindow(
const OUString& _rQualifiedTableName,
const OUString& _rAliasName ) = 0;
virtual css::uno::Reference< css::sdbc::XConnection > getConnection() const =0
~IAddTableDialogContext()
virtual void onWindowClosing()=0
virtual bool allowQueries() const =0
virtual void addTableWindow(const OUString &_rQualifiedTableName, const OUString &_rAliasName)=0
virtual bool allowAddition() const =0
virtual bool allowViews() const =0
static OUString getDialogTitleForContext(IAddTableDialogContext const &_rContext)
std::unique_ptr< weld::RadioButton > m_xCaseTables
DECL_LINK(TableListDoubleClickHdl, weld::TreeView &, bool)
std::unique_ptr< weld::RadioButton > m_xCaseQueries
std::unique_ptr< weld::Button > m_xCloseButton
IAddTableDialogContext & m_rContext
DECL_LINK(AddClickHdl, weld::Button &, void)
DECL_LINK(OnTypeSelected, weld::Toggleable &, void)
DECL_LINK(TableListSelectHdl, weld::TreeView &, void)
std::unique_ptr< weld::TreeView > m_xQueryList
DECL_LINK(CloseClickHdl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xAddButton
void impl_switchTo(ObjectList _eList)
virtual ~OAddTableDlg() override
OAddTableDlg(weld::Window *_pParent, IAddTableDialogContext &_rContext)
std::unique_ptr< OTableTreeListBox > m_xTableList
std::unique_ptr< TableObjectListFacade > m_xCurrentList
unifies the access to a list of table/query objects
virtual ~TableObjectListFacade()
virtual void updateTableObjectList(bool _bAllowViews)=0
virtual OUString getSelectedName(OUString &_out_rAliasName) const =0
virtual bool isLeafSelected() const =0