Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322208 - Create PlatformFacade to support Riena on e4
Summary: Create PlatformFacade to support Riena on e4
Status: NEW
Alias: None
Product: Riena
Classification: RT
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 363268
  Show dependency tree
 
Reported: 2010-08-10 05:24 EDT by Steffen Kriese CLA
Modified: 2011-11-09 04:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Kriese CLA 2010-08-10 05:24:43 EDT
If we want't to support the e4-Platform, we can't use API like PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), but instead have to use the e4 ShellProvider-Service, to get access to the current shell or the active display. 
Therefore we need to create a facade to encapsulate methods like getDisplay(), getActiveShell() and isWorkbenchRunning(). This could be accomplished in the same way as the RapFacades, by creating an abstract baseclass like PlatformFacade and providing implementations for Eclipse 3.x and e4. 
All suggestions are welcome!