Bug 511079

Summary: Listen to scene graph changes within VisualChangeListener to support reassigning and premature registration.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF FXAssignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 1.1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2017-01-26 04:37:20 EST
Currently, VisualChangeListener can only be registered for a pair of nodes if a common ancestor node exists. Moreover, structural changes, such as moving a node to a different parent, are not covered by VisualChangeListener, i.e. neither are old, no longer relevant listeners unregistered, nor are new listeners registered.

In order to be able to safely use VisualChangeListener, it should be possible to register it for any pair of nodes, and have it deal with structural changes all by itself. The required transformation and bounds listeners would then be registered on the fly if the common ancestor changes.