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

Bug 366681

Summary: Make Widget.getNameText() protected so subclasses from, e.g., Composite are allowed to override
Product: [Eclipse Project] Platform Reporter: Thomas Singer <eclipse>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipse.felipe, remy.suen
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Thomas Singer CLA 2011-12-14 05:49:46 EST
Build Identifier: 

Some subclasses of Widget are supposed for overriding like Composite. For those it makes sense for overriding some methods which usually are package protected.

Reproducible: Always
Comment 1 Felipe Heidrich CLA 2011-12-14 20:21:29 EST
Why do you want to overwrite getNameText() ?
couldn't you re-implement toString() instead ?