summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-25 11:37:29 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-25 11:37:29 +0000
commitd3a46d7fad71cee618bf255114096df76aa3ac02 (patch)
treebe2a6d57ada447fde7fc172deb547379d067f908 /dbaccess/source/ui/app
parent3aa0efd0cdbb453ab304d27b0ca691e70fcd35e8 (diff)
INTEGRATION: CWS dba30d (1.19.30); FILE MERGED
2008/06/10 11:04:41 fs 1.19.30.2: +describeCurrentSelectionForType 2008/06/01 21:02:33 fs 1.19.30.1: #i80943# more preparations for context menu interception, including some re-factoring
Diffstat (limited to 'dbaccess/source/ui/app')
-rw-r--r--dbaccess/source/ui/app/AppDetailView.hxx25
1 files changed, 18 insertions, 7 deletions
diff --git a/dbaccess/source/ui/app/AppDetailView.hxx b/dbaccess/source/ui/app/AppDetailView.hxx
index bb05ea91e..4467f3bb9 100644
--- a/dbaccess/source/ui/app/AppDetailView.hxx
+++ b/dbaccess/source/ui/app/AppDetailView.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: AppDetailView.hxx,v $
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
* This file is part of OpenOffice.org.
*
@@ -42,6 +42,9 @@
#ifndef _COM_SUN_STAR_UCB_XCONTENT_HPP_
#include <com/sun/star/ucb/XContent.hpp>
#endif
+#ifndef _COM_SUN_STAR_SDB_APPLICATION_NAMEDDATABASEOBJECT_HPP_
+#include <com/sun/star/sdb/application/NamedDatabaseObject.hpp>
+#endif
#ifndef _SV_SPLIT_HXX
#include <vcl/split.hxx>
#endif
@@ -73,7 +76,6 @@ class SvLBoxEntry;
namespace dbaui
{
- class OApplicationController;
class OAppBorderWindow;
class OApplicationDetailView;
class OAppDetailPageHelper;
@@ -295,6 +297,20 @@ namespace dbaui
*/
void getSelectionElementNames(::std::vector< ::rtl::OUString>& _rNames ) const;
+ /** describes the current selection for the given control
+ */
+ void describeCurrentSelectionForControl(
+ const Control& _rControl,
+ ::com::sun::star::uno::Sequence< ::com::sun::star::sdb::application::NamedDatabaseObject >& _out_rSelectedObjects
+ );
+
+ /** describes the current selection for the given ElementType
+ */
+ void describeCurrentSelectionForType(
+ const ElementType _eType,
+ ::com::sun::star::uno::Sequence< ::com::sun::star::sdb::application::NamedDatabaseObject >& _out_rSelectedObjects
+ );
+
/** select all names on the currently selected container. Non existence names where ignored.
*
* \param _aNames the element names
@@ -376,11 +392,6 @@ namespace dbaui
SvLBoxEntry* getEntry( const Point& _aPoint ) const;
- /** a command entry was selected
- @param _sCommand
- The command to be executed.
- */
- void onCreationClick( const ::rtl::OUString& _sCommand);
Window* getTreeWindow() const;
private:
void impl_createPage(