User: kz      
Date: 2008-06-25 12:49:29+0000
Modified:
   dba/dbaccess/source/ui/inc/dbtreelistbox.hxx

Log:
 INTEGRATION: CWS dba30d (1.12.30); FILE MERGED
 2008/06/09 13:43:18 fs 1.12.30.2: #i80943# FOLDER_INDICATOR replaced by usage 
of css.sdb.application.DatabaseObjectFolder constants
 2008/05/29 11:25:36 fs 1.12.30.1: 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.13
Delta lines:  +5 -10
--------------------
--- dbtreelistbox.hxx   2008-04-10 15:29:27+0000        1.12
+++ dbtreelistbox.hxx   2008-06-25 12:49:26+0000        1.13
@@ -49,8 +49,6 @@
 
 namespace dbaui
 {
-       #define FOLDER_INDICATOR 1
-
        struct DBTreeEditedEntry
        {
                SvLBoxEntry*    pEntry;
@@ -65,7 +63,7 @@
 
        
//========================================================================
        class IControlActionListener;
-       class IController;
+    class IContextMenuProvider;
        class DBTreeListBox             :public SvTreeListBox
        {
                OModuleClient        m_aModuleClient;
@@ -75,7 +73,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 +111,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 +172,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