| Summary: | [hierarchy] revive and adjust traditional type hierarchy for OT/J | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||
| Component: | OTDT | Assignee: | Stephan Herrmann <stephan.herrmann> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | Keywords: | noteworthy | ||||
| Version: | 0.7 | ||||||
| Target Milestone: | 0.7.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Stephan Herrmann
Created attachment 176812 [details] proposed implementation Re-enabling the traditional mode was already committed in bug 321411, this patch provides the following: * ensure HierarchyResolver reaches STATE_ROLES_LINKED: links for explicit inheritance were not properly copied to the interface part. * provide special API in OTTypeHierarchies that acts differently above vs. below the focus type: only above it traverses the getSuperclass() linearized chain using the result for answering a single subclass of the given type. This solves the issue that linearization is only implemented bottom-to-top whereas the hierarchy view needs to create its tree top-to-bottom. * hook the new functionality into the TraditionalHierarchyContentProvider Patch also includes a few tests. Fix works fine in real-world usage, closing. Verified using I201009211735 |