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

> 
> Hi!
> 

Bonjour

> I followed an advice and wrote code in my class ModelViewEventHandler 
> which catches the DebugEvent.CREATE event by such snippet of code

I do no know/understand what you are trying to do.
You can use the Eclipse framework for this; make an association
between to unrelated classes.  The design pattern that eclipse provides
is with the PlaformObject and IAdapterFactory.  You register a factory
for a certain class and when the IAdaptable.getAdapter(..) is call
your factory will have a chance to create the class.

see org.eclipse.core.runtime.IAdapterManager

Eclipse/CDT provides a certain number of interfaces, like CDI to 
interact with the underlying debuger etc ...  Those interfaces are still in
developement, so if you feel they are lacking certain functionnality,
send a proposal 8-).



Back to the top