Bug 319092 - create an interface for all text components components with setText() and getText()
Summary: create an interface for all text components components with setText() and get...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 05:04 EDT by Andrei Diaconu CLA
Modified: 2019-10-11 09:55 EDT (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 Andrei Diaconu CLA 2010-07-07 05:04:22 EDT
Many classes don't really care if they work with Combo, Text, StyledText or CCombo. All they want is to call setText() and getText() methods. The solution now is to make adapters for each SWT class.

I don't think that adding a new interface would make SWT too complicated. Maybe there are also other common behaviours that should be made available in common interfaces.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:11:24 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Andrei Diaconu CLA 2019-10-11 09:55:35 EDT
I would still like a common way to work with text controls. Nothing changed since I reported the issue.