Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] How do you get a custom source not found editor to be invoked instead of CSourceNotFoundEditor?

I'd like to use a custom source not found editor, which overrides org.eclipse.cdt.debug.internal.ui.sourcelookup.CSourceNotFoundEditor. I've been investigating and found some references that it can be done, but no documentation that makes it clear how to do it, especially for a newbie like me. One discussion I found in the cdt-dev archives mentions that WindRiver "overrides the source not found editor by using a custom source lookup director". We do have a custom source lookup director, but how do I get my custom source not found editor to be invoked, instead of the default CSourceNotFoundEditor? It seems like there's some magic going on that determines which editor class instance to create, and I'm not sure how to change it to create my custom editor instance instead. Can someone give me some clear steps on what I need to do? Thanks!!!

Back to the top