Community
Participate
Working Groups
I opened a hierarchy on CellEditor in the jface package. I got the following structure in the hierarchy view (the first few classes are not rooted at Object, and they come from javax.swing). +-AbstractCellEditor | +-DefaultCellEditor | +-BooleanEditor | +-GenericEditor | +-NumberEditor +-DefaultTreeCellEditor +-Object +-CellEditor +-CheckboxCellEditor ... (from here on is correct)
I use ITypeHierarchy.getRootClasses, which should only return Object. Moving to JCore.
I could not reproduce neither in 1.0, nor in latest. This kind of problem is really dependent on the setup of the workspace. However it looks like a duplicate of bug 5522 which is going to be fix in next integration build (20011113 ?). Could you please try it with this build?
*** Bug 5850 has been marked as a duplicate of this bug. ***
i added a fix in our code to handle the case where multiple roots are returned. (Search for object and return it, or if not found, return all the roots)
With Martin's fix and the fix for bug 5522, I believe this cannot happen any longer. Closing. (Please re-open if you see the problem again.)