Tag: cws_src680_dba24d User: oj Date: 2007-11-07 14:54:02+0000 Modified: dba/dbaccess/source/ui/app/AppController.cxx dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx dba/dbaccess/source/ui/app/AppDetailView.cxx dba/dbaccess/source/ui/app/AppDetailView.hxx
Log: #i78231# use treelistbox as drag window and not the parent File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppController.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.cxx?r1=1.48&r2=1.48.2.1 Delta lines: +4 -4 ------------------- --- AppController.cxx 2007-11-01 15:03:13+0000 1.48 +++ AppController.cxx 2007-11-07 14:54:00+0000 1.48.2.1 @@ -4,9 +4,9 @@ * * $RCSfile: AppController.cxx,v $ * - * $Revision: 1.48 $ + * $Revision: 1.48.2.1 $ * - * last change: $Author: hr $ $Date: 2007/11/01 15:03:13 $ + * last change: $Author: oj $ $Date: 2007/11/07 14:54:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2228,7 +2228,7 @@ if ( pTransfer && getContainer()->getDetailView() ) { ElementType eType = getContainer()->getElementType(); - pTransfer->StartDrag( getContainer()->getDetailView(), ((eType == E_FORM || eType == E_REPORT) ? DND_ACTION_COPYMOVE : DND_ACTION_COPY) ); + pTransfer->StartDrag( getContainer()->getDetailView()->getTreeWindow(), ((eType == E_FORM || eType == E_REPORT) ? DND_ACTION_COPYMOVE : DND_ACTION_COPY) ); } } catch(const Exception& ) File [changed]: AppDetailPageHelper.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx?r1=1.27&r2=1.27.28.1 Delta lines: +5 -3 ------------------- --- AppDetailPageHelper.cxx 2007-09-26 14:47:02+0000 1.27 +++ AppDetailPageHelper.cxx 2007-11-07 14:54:00+0000 1.27.28.1 @@ -4,9 +4,9 @@ * * $RCSfile: AppDetailPageHelper.cxx,v $ * - * $Revision: 1.27 $ + * $Revision: 1.27.28.1 $ * - * last change: $Author: hr $ $Date: 2007/09/26 14:47:02 $ + * last change: $Author: oj $ $Date: 2007/11/07 14:54:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1386,3 +1386,5 @@ SetBackground( rStyleSettings.GetFieldColor() ); } // ----------------------------------------------------------------------------- +// ----------------------------------------------------------------------------- + File [changed]: AppDetailView.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppDetailView.cxx?r1=1.25&r2=1.25.28.1 Delta lines: +9 -4 ------------------- --- AppDetailView.cxx 2007-09-26 14:47:27+0000 1.25 +++ AppDetailView.cxx 2007-11-07 14:54:00+0000 1.25.28.1 @@ -4,9 +4,9 @@ * * $RCSfile: AppDetailView.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.25.28.1 $ * - * last change: $Author: hr $ $Date: 2007/09/26 14:47:27 $ + * last change: $Author: oj $ $Date: 2007/11/07 14:54:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -108,7 +108,7 @@ #include <svtools/localresaccess.hxx> #endif #include <algorithm> - +#include "dbtreelistbox.hxx" using namespace ::dbaui; using namespace ::com::sun::star::uno; @@ -997,3 +997,8 @@ return m_pControlHelper->isSortUp(); } // ----------------------------------------------------------------------------- +Window* OApplicationDetailView::getTreeWindow() const +{ + return m_pControlHelper->getCurrentView(); +} + File [changed]: AppDetailView.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppDetailView.hxx?r1=1.17&r2=1.17.28.1 Delta lines: +4 -4 ------------------- --- AppDetailView.hxx 2007-09-26 14:47:39+0000 1.17 +++ AppDetailView.hxx 2007-11-07 14:54:00+0000 1.17.28.1 @@ -4,9 +4,9 @@ * * $RCSfile: AppDetailView.hxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.17.28.1 $ * - * last change: $Author: hr $ $Date: 2007/09/26 14:47:39 $ + * last change: $Author: oj $ $Date: 2007/11/07 14:54:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -386,7 +386,7 @@ The command to be executed. */ void onCreationClick( const ::rtl::OUString& _sCommand); - + Window* getTreeWindow() const; private: void impl_createPage( ElementType _eType, --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
