| Summary: | Automatically refresh the visualization/layout when changes are made to the underlying Graph. | ||
|---|---|---|---|
| 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: | |||
| Bug Depends on: | 461296 | ||
| Bug Blocks: | |||
|
Description
Matthias Wienand
I implemented automatic refresh using the property change mechanism provided by GEF4 Graph: The individual content parts (NodeContentPart, EdgeContentPart, GraphContentPart) register property change listeners on their content objects (Node, Edge, and Graph, respectively). When the attributes of a Node, Edge, or Graph change, the corresponding visual is refreshed. When the nodes or edges of a Graph change, the content parts are synchronized with the content objects. When the content synchronization is finished, a re-layout is triggered. The code is published on the master branch, therefore I resolve this ticket as fixed for 3.10.0M6. |