Community
Participate
Working Groups
/** * A concrete implementation of the <code>IStructuredSelection</code> interface, * suitable for instantiating or subclassing. * <p> * This class is not intended to be subclassed. * </p> */ public class StructuredSelection implements IStructuredSelection { ----- According to the JavaDoc quoted above, the class is both intended to be subclassed and not intended to be subclassed. Which is it? :-) In any case, this JavaDoc comment is broken and needs fixing. :-)
Do you have a need to subclass it?
I don't need to subclass it although I reimplement IStructuredSelection in various places. Actually, I can't imagine anyone really needing to subclass it that badly, since one can just reimplement IStructuredSelection with any other features that might be needed.
Took out the "suitable for subclassing" comment. Left the "This class is not intended to be subclassed." comment. Thanks for pointing this out.