Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Implementing View in Debugger

If you want to associate an instance of your class (ModelManager) with CDebugTarget you should catch the creation of CDebugTarget (CREATE type of DebugEvent) and create an association.
 
Mikhail
----- Original Message -----
Sent: Friday, November 15, 2002 10:27 AM
Subject: Re: [cdt-debug-dev] Implementing View in Debugger


Hi!!!

My problem is overpassed!  ModelManager recieves notification from Debugger! Thanks a lot.

But I have another question  :)

While solving my problem I had to add some code into CDebugTarget.java. In particular I added in function initialize() such a string         initializeModelManager();

and function                

        protected void initializeModelManager()
        {
                fModelManager = new ModelManager( this );
        }
Also I added in function getAdapter() following strings

      if ( adapter.equals( ModelManager.class ) )
              return getModelManager();        
and function getModelManager() and so on.

Can I somehow avoid this situation?  I don't want to correct or add something in source files. May be I do something wrong...


Igor S. Zamyatin

Interstron Ltd.
----------------------------------------
email:  isz@xxxxxxxxxxxxx
tel:    +7 (095) 269-4713
cell:   +7 (902) 659-5838
www:    http://www.interstron.ru



Back to the top