Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343319 - Ensure that RWT#requestThreadExec works with threadless lifecycle
Summary: Ensure that RWT#requestThreadExec works with threadless lifecycle
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.4 M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 341763
  Show dependency tree
 
Reported: 2011-04-19 18:09 EDT by Rüdiger Herrmann CLA
Modified: 2011-04-20 05:03 EDT (History)
0 users

See Also:


Attachments

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