Bug 511079 - Listen to scene graph changes within VisualChangeListener to support reassigning and premature registration.
Summary: Listen to scene graph changes within VisualChangeListener to support reassign...
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF FX (show other bugs)
Version: 1.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-26 04:37 EST by Matthias Wienand CLA
Modified: 2017-01-26 04:37 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.