Bug 333272 - Prevent illegal subclassing of widgets in RAP
Summary: Prevent illegal subclassing of widgets in RAP
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-28 11:55 EST by Ralf Sternberg CLA
Modified: 2011-02-24 13:23 EST (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 Ralf Sternberg CLA 2010-12-28 11:55:54 EST
SWT Widgets prevent illegal subclassing by means of the Widget#checkSubclass() method. This method is not effective in RAP due to historical reasons (Some illegal subclassing was unavoidable in the early days). From my point of view, we can and should now implement this mechanism properly.

To be revised:
* Display#isValidClass()
* Widget#checkSubclass() overrides in subclasses