diff options
author | Pascal Junck <pjunck@openoffice.org> | 2004-10-22 10:59:25 +0000 |
---|---|---|
committer | Pascal Junck <pjunck@openoffice.org> | 2004-10-22 10:59:25 +0000 |
commit | a2e02841c74292a0097548293cbb07f65ce2b64d (patch) | |
tree | 058e199719fb61022fd85bff284c9596ac5f281f /dbaccess/source/ui/app/AppController.hxx | |
parent | INTEGRATION: CWS dba17 (1.3.4); FILE MERGED (diff) | |
download | core-a2e02841c74292a0097548293cbb07f65ce2b64d.tar.gz core-a2e02841c74292a0097548293cbb07f65ce2b64d.zip |
INTEGRATION: CWS dba17 (1.3.4); FILE MERGED
2004/09/30 14:49:58 fs 1.3.4.3: #ii34790# loadSubMenu->onLoadedMenu
2004/09/27 13:49:51 fs 1.3.4.2: #i33353# reworked deleteObjects to care for parent-child relations
2004/09/27 09:03:35 fs 1.3.4.1: #i33699# +requestQuickHelp
Diffstat (limited to 'dbaccess/source/ui/app/AppController.hxx')
-rw-r--r-- | dbaccess/source/ui/app/AppController.hxx | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx index be4e9c08d734..e59006e4b614 100644 --- a/dbaccess/source/ui/app/AppController.hxx +++ b/dbaccess/source/ui/app/AppController.hxx @@ -2,9 +2,9 @@ * * $RCSfile: AppController.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2004-09-09 09:38:40 $ + * last change: $Author: pjunck $ $Date: 2004-10-22 11:59:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -242,7 +242,7 @@ namespace dbaui /** fills the list with the selected entries. @param _rNames */ - void getSelectionElementNames(::std::vector< ::rtl::OUString>& _rNames); + void getSelectionElementNames( ::std::vector< ::rtl::OUString>& _rNames ); /// deletes the entries selected. void deleteEntries(); @@ -250,17 +250,29 @@ namespace dbaui /// renames the selected entry in the detail page void renameEntry(); - /** deletes queries. + /** deletes queries, forms, or reports @param _eType the type of the objects @param _rList - The list of queries. - @param _nTextResource - The ID for the resource string. + The names of the elements to delete + @param _bConfirm + determines whether the user must confirm the deletion */ - void deleteObjects( ElementType _eType - ,const ::std::vector< ::rtl::OUString>& _rList - ,sal_uInt16 _nTextResource); + void deleteObjects( ElementType _eType, + const ::std::vector< ::rtl::OUString>& _rList, + bool _bConfirm ); + + /** deletes multiple elements from the given container + @param _rxNames + the object container + @param _rList + The names of the elements to delete + @param _bConfirm + determines whether the user must confirm the deletion + */ + void deleteObjects( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer>& _rxNames, + const ::std::vector< ::rtl::OUString>& _rList, + bool _bConfirm ); /** deletes tables. @@ -492,13 +504,14 @@ namespace dbaui // IControlActionListener overridables virtual sal_Bool requestContextMenu( const CommandEvent& _rEvent ); + virtual sal_Bool requestQuickHelp( const SvLBoxEntry* _pEntry, String& _rText ) const; virtual sal_Bool requestDrag( sal_Int8 _nAction, const Point& _rPosPixel ); virtual sal_Int8 queryDrop( const AcceptDropEvent& _rEvt, const DataFlavorExVector& _rFlavors ); virtual sal_Int8 executeDrop( const ExecuteDropEvent& _rEvt ); // OGenericUnoController virtual void updateTitle( ); - virtual void loadSubToolbar(const ::com::sun::star::uno::Reference< drafts::com::sun::star::frame::XLayoutManager >& _xLayoutManager); + virtual void onLoadedMenu( const ::com::sun::star::uno::Reference< drafts::com::sun::star::frame::XLayoutManager >& _xLayoutManager ); virtual void impl_initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ); |