26#include <osl/diagnose.h>
38 OSL_ENSURE(
isContainer(rEntry),
"SbaTableQueryBrowser::getChildType: invalid entry!");
72 OSL_FAIL(
"SbaTableQueryBrowser::select: invalid entry!");
81 std::unique_ptr<weld::TreeIter> xEntry(rTreeView.
make_iterator(pEntry));
84 select(xEntry.get(), bSelect);
118 implDescribeSupportedFeature(
".uno:DSBrowserExplorer",
ID_BROWSER_EXPLORER, CommandGroup::VIEW );
131 implDescribeSupportedFeature(
".uno:CloseWin",
ID_BROWSER_CLOSE, CommandGroup::DOCUMENT );
148 OSL_FAIL(
"SbaTableQueryBrowser::getDatabaseObjectType: folder types and 'Unknown' not allowed here!" );
#define ID_BROWSER_FORMLETTER
#define ID_TREE_ADMINISTRATE
#define ID_TREE_CLOSE_CONN
#define ID_BROWSER_INSERTCONTENT
#define ID_BROWSER_EXPLORER
#define ID_BROWSER_DOCUMENT_DATASOURCE
#define ID_BROWSER_REFRESH_REBUILD
#define ID_BROWSER_INSERTCOLUMNS
#define ID_TREE_EDIT_DATABASE
EntryType getChildType(const weld::TreeIter &rEntry) const
void selectPath(const weld::TreeIter *pEntry, bool bSelect=true)
virtual sal_Bool SAL_CALL select(const css::uno::Any &aSelection) override
VclPtr< InterimDBTreeListBox > m_pTreeView
static sal_Int32 getDatabaseObjectType(EntryType _eType)
returns a DatabaseObject value corresponding to the given EntryType
virtual void describeSupportedFeatures() override
OUString GetEntryText(const weld::TreeIter &rEntry) const
static bool isContainer(EntryType _eType)
virtual void SelectionChanged() override
EntryType getEntryType(const weld::TreeIter &rEntry) const
bool isSelected(const weld::TreeIter &rEntry) const
virtual void describeSupportedFeatures() override
virtual std::unique_ptr< TreeIter > make_iterator(const TreeIter *pOrig=nullptr) const=0
virtual bool get_text_emphasis(int row, int col) const=0
virtual void set_text_emphasis(int row, bool bOn, int col)=0
virtual bool iter_parent(TreeIter &rIter) const=0
virtual OUString get_id(int pos) const=0
SbaTableQueryBrowser::EntryType eType