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

Bug 343319

Summary: Ensure that RWT#requestThreadExec works with threadless lifecycle
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 1.4 M7   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 341763    

Description Rüdiger Herrmann CLA 2011-04-19 18:09:56 EDT
RWT#requestThreadExec was introduced to pass on code from the UIThread to the request thread for execution. While with the threadless lifecycle active it shouldn't be neccessary to use this method at all, it should retain its functionality.
Comment 1 Rüdiger Herrmann CLA 2011-04-20 05:03:55 EDT
Introduced abstract method requestThreadExec() on LifeCycle. The threadless lifecycle implements this method in that it executes the runnable on the current thread as UIThread and request-thread are one and the same 
RWT#requestThreadExec() now obtains a LifeCycle-casted life cycle from the LifeCycleFactory and invokes requestThreadExec().
Changes are in CVS HEAD