Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337336 - Consider providing extendable String wrapper as a base for displayable text
Summary: Consider providing extendable String wrapper as a base for displayable text
Status: CLOSED WONTFIX
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 11:54 EST by Oleg Besedin CLA
Modified: 2019-09-04 03:11 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 Oleg Besedin CLA 2011-02-16 11:54:45 EST
The Java's String is a final class. We can't extend it to store information needed to provide extended bi-directional information or information needed for dynamic translation.

This causes information and code that truly needs to be associated with String to be scattered around the code base. This causes catch-22 between adoption and development of enhanced string processing.

The basic proposal here it to consider creating something like UIText class to be used for the text to be displayed in applications to the end user.

There is a cost associated with creating such a wrapper. Most immediate concern will be the extra memory required by the wrappers. Then we need to make sure that we don't interfere with VM's optimization of String processing.
Comment 1 Lars Vogel CLA 2019-09-04 03:11:06 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 and remove the stalebug whiteboard tag. 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.

--