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

Bug 325826

Summary: FilteredTree doesn't work proper without UICallBack
Product: [RT] RAP Reporter: Holger Staudacher <holger.staudacher>
Component: JFaceAssignee: Project Inbox <rap-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: sa
Version: 1.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Holger Staudacher CLA 2010-09-21 06:28:13 EDT
The FilteredTree registers a ModifyListener on it's Text widget and schedules an asynchronous Job to update the tree. On RAP the filter applies to late (with the next request because of the asynchronous job). 

Workaround: Add a FocusListener to the Text widget and activate/deactivate the UICallBack on focusGained/Lost.

I think the FilteredTree should work out of the box.
Comment 1 Samy Abou-Shama CLA 2014-07-02 06:03:36 EDT
The Bug still exists in the RAP Version 2.3

Another Workaround is to override the getRefreshJobDelay() and return '0'