Tag: cws_dev300_dba30d
User: fs      
Date: 2008-05-29 11:25:39+0000
Modified:
   dba/dbaccess/source/ui/inc/dbtreelistbox.hxx

Log:
 during #i80943#: refactoring: ContextMenuActionListener not needed anymore, 
superseded by IContextMenuProvider

File Changes:

Directory: /dba/dbaccess/source/ui/inc/
=======================================

File [changed]: dbtreelistbox.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/dbtreelistbox.hxx?r1=1.12&r2=1.12.30.1
Delta lines:  +7 -10
--------------------
--- dbtreelistbox.hxx   2008-04-10 15:29:27+0000        1.12
+++ dbtreelistbox.hxx   2008-05-29 11:25:36+0000        1.12.30.1
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: dbtreelistbox.hxx,v $
- * $Revision: 1.12 $
+ * $Revision: 1.12.30.1 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -65,7 +65,7 @@
 
        
//========================================================================
        class IControlActionListener;
-       class IController;
+    class IContextMenuProvider;
        class DBTreeListBox             :public SvTreeListBox
        {
                OModuleClient        m_aModuleClient;
@@ -75,7 +75,8 @@
                SvLBoxEntry*                            m_pSelectedEntry;
                SvLBoxEntry*                            m_pDragedEntry;
                IControlActionListener*         m_pActionListener;
-               IController*                            
m_pContextMenuActionListener;
+        IContextMenuProvider*
+                                    m_pContextMenuProvider;
 
                Link                                            
m_aPreExpandHandler;    // handler to be called before a node is expanded
                Link                                            m_aCutHandler;  
                // called when someone press CTRL+X
@@ -112,10 +113,7 @@
                ~DBTreeListBox();
 
                void                                    
setControlActionListener( IControlActionListener* _pListener ) { 
m_pActionListener = _pListener; }
-               IControlActionListener* getControlActionListener( ) const { 
return m_pActionListener; }
-
-               void                    setContextMenuActionListener( 
IController* _pConextListener) { m_pContextMenuActionListener = 
_pConextListener; }
-               IController*    getContextMenuActionListener( ) const { return 
m_pContextMenuActionListener; }
+               void                            setContextMenuProvider( 
IContextMenuProvider* _pContextMenuProvider ) { m_pContextMenuProvider = 
_pContextMenuProvider; }
 
                inline void setORB(const ::com::sun::star::uno::Reference< 
::com::sun::star::lang::XMultiServiceFactory >& _xORB) { m_xORB = _xORB; }
                
@@ -176,7 +174,6 @@
 
        protected:
                virtual void            MouseButtonDown( const MouseEvent& 
rMEvt );
-               virtual void            Command( const CommandEvent& rCEvt );
         virtual void        RequestHelp( const HelpEvent& rHEvt );
 
                // DragSourceHelper overridables




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to