Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361753 - [SimpleLifeCycle] Display#getDefault() does not create a new Display instance in case none exists
Summary: [SimpleLifeCycle] Display#getDefault() does not create a new Display instance...
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 341761
  Show dependency tree
 
Reported: 2011-10-23 09:11 EDT by Frank Appel CLA
Modified: 2011-10-24 12:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Appel CLA 2011-10-23 09:11:56 EDT
Create a new IEntryPoint implementation and use Display#getDefault() instead of new Display().
Comment 1 Rüdiger Herrmann CLA 2011-10-24 12:25:52 EDT
Changed SimplLifeCycle#attachThread() and #detachThread() to always set and reset the UI-thread. Previously this was only done when there already was a display.
Changes are in CVS HEAD.