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

Bug 322208

Summary: Create PlatformFacade to support Riena on e4
Product: [RT] Riena Reporter: Steffen Kriese <steffen.kriese>
Component: UIAssignee: Project Inbox <riena.core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 363268    

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!