[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: No common IList interface for List and Combo

Hi,

Well you can subclass you "only" have to overwrite checksubclass method or something like this. The reason for swt to say you should not subclass is that it's harder to keep an API-contract with classes who are subclassed. Not making them final still gives the developers a chance to subclass although it's NOT how you are expected to use them.

Tom

amonteith schrieb:
duh! List and Combo classes don't allow subclassing, so I guess I'll just wrap 'em. BTW, this brings me to another question: why are there all these classes in the eclipse swt that say "IMPORTANT: This class is <em>not</em> intended to be subclassed" but the class itself is not declared final?



--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl                                          JFace-Committer
--------------------------------------------------------------------