Inheritance Class chooser


How do you create a class chooser dialog that only displays classes that implements or extends a class?

I used the TreeClassChooserFactory.createInheritanceClassChooser method, for which you can supply a base class, but I have no idea how this base class is used, because it seems to just display all classes.
One of the overloads for this method creates a InheritanceJavaClassFilterImpl that contains a comment saying "we've already checked for inheritance". Well... I am curious where this is checked, because I don't see it being done.

Please sign in to leave a comment.