summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/browser/dbtreeview.cxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2000-12-10 15:12:18 +0000
committerFrank Schönheit <fs@openoffice.org>2000-12-10 15:12:18 +0000
commitd1ac24e1bf5ab9b2a0207693ab1706fb040bb030 (patch)
tree9b8cfa3fead54355e42542be21690a31625478bb /dbaccess/source/ui/browser/dbtreeview.cxx
parentelementInserted/Replaced/Removed: check the argument (now that a derived clas... (diff)
downloadcore-d1ac24e1bf5ab9b2a0207693ab1706fb040bb030.tar.gz
core-d1ac24e1bf5ab9b2a0207693ab1706fb040bb030.zip
context menu in the list view / listener on the context for reflecting any changes dynamically
Diffstat (limited to 'dbaccess/source/ui/browser/dbtreeview.cxx')
-rw-r--r--dbaccess/source/ui/browser/dbtreeview.cxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/dbaccess/source/ui/browser/dbtreeview.cxx b/dbaccess/source/ui/browser/dbtreeview.cxx
index 7a84232b8a8e..7364b39b36a1 100644
--- a/dbaccess/source/ui/browser/dbtreeview.cxx
+++ b/dbaccess/source/ui/browser/dbtreeview.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dbtreeview.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: fs $ $Date: 2000-12-08 21:23:39 $
+ * last change: $Author: fs $ $Date: 2000-12-10 16:12:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -124,6 +124,18 @@ Link DBTreeView::GetPreExpandHandler() const
}
// -----------------------------------------------------------------------------
+void DBTreeView::SetContextMenuHandler(const Link& _rHdl)
+{
+ m_pTreeListBox->SetContextMenuHandler(_rHdl);
+}
+
+// -----------------------------------------------------------------------------
+Link DBTreeView::GetContextMenuHandler() const
+{
+ return m_pTreeListBox->GetContextMenuHandler();
+}
+
+// -----------------------------------------------------------------------------
void DBTreeView::Resize()
{
Window::Resize();