| Summary: | The LayoutModel should implement LayoutContext. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Matthias Wienand <matthias.wienand> |
| Component: | GEF Zest | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 3.10.0 (Mars) M6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Matthias Wienand
I refactored the code so that LayoutModel extends GraphLayoutContext and it is bound as an adapter for every GraphContentPart. Moreover, I changed the mechanism for providing layout information as follows: The AbstractLayoutBehavior schedules Runnables before and after a layout algorithm is applied. The NodeLayoutBehavior provides its layout information before applying an algorithm and adapts to the layout data after applying an algorithm. The code is published on the master branch, therefore I resolve this ticket as fixed for 3.10.0M6. |