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

Bug 335862

Summary: [Shell] Make Shell implement Drawable
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2011-01-31 11:04:55 EST
Several SWT snippets directly draw on a shell like so:
	Shell shell = new Shell();
	GC gc = new GC (shell);
	gc.drawRectangle ( ... );
  ...
  
It would help in adopting the SWT snippets for RAP if Shell would implement the Drawable interface and support drawing with a GC.
Comment 1 Ivan Furnadjiev CLA 2012-03-21 04:46:18 EDT
With fixing the bug 302901, all controls implement Drawable as well as Shell. Drawing on a control different than Canvas is still a noop.