User: kz Date: 2008-06-25 12:37:32+0000 Modified: dba/dbaccess/source/ui/app/AppDetailView.hxx
Log: 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 File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppDetailView.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppDetailView.hxx?r1=1.19&r2=1.20 Delta lines: +17 -6 -------------------- --- AppDetailView.hxx 2008-04-10 13:58:21+0000 1.19 +++ AppDetailView.hxx 2008-06-25 12:37:29+0000 1.20 @@ -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 @@ namespace dbaui { - class OApplicationController; class OAppBorderWindow; class OApplicationDetailView; class OAppDetailPageHelper; @@ -295,6 +297,20 @@ */ 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 @@ 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( --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
