Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Subclassing CDT classes in plugins

I've subclassed org.eclipse.cdt.launch.ui.CDebuggerTab to remove some
options that does not make sense for embedded development. Less choice
is better. :-)

In particular I've overriden createDebuggerCombo() + inlined it into the
subclass to make some tweaks. This forced me to modify fDCombo a
protected, rather than private member.

Yuk!

This is obviously not the way things where intended to be done.

a) How do I know what in CDT that it is approperiate to subclass?

b) How do I handle the case when there is a 95% complete class as in
org.eclipse.cdt.launch.ui.CDebuggerTab case?

-- 
Øyvind Harboe
http://www.zylin.com




Back to the top