Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336086

Summary: [Tree] Animate collapsing and expanding tree items
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: tbuschto
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2011-02-02 11:08:31 EST
Like with other client technologies, it should be possible to animate child items while they are expanded collapsed.
For an example, see here:
  http://dojotoolkit.org/widgets
Comment 1 Tim Buschtoens CLA 2011-06-20 08:28:12 EDT
The Tree in this demo can be found in "Sliding TabContainer" on the left.

I'm all for adding more animations, but for TREE this is going to be very difficult, mostly due to its virtual rending. Some compromise would be feasible, for example where the new items appearance/disappearance is animated, but not the shifting of the other rows.
Comment 2 Tim Buschtoens CLA 2011-06-20 10:35:43 EDT
Animated shifting *might* be possible in an somewhat efficient manner by cloning the DOM of the area thats about to be moved (using either cloneNode or innerHTML) and overlay and animate the result.