Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335862 - [Shell] Make Shell implement Drawable
Summary: [Shell] Make Shell implement Drawable
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (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:
 
Reported: 2011-01-31 11:04 EST by Rüdiger Herrmann CLA
Modified: 2012-03-21 04:46 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-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.