Bug 322337 - [Forms] FormText should provide getter for text
Summary: [Forms] FormText should provide getter for text
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: platform-ua-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2010-08-11 06:45 EDT by Daniel Krügler CLA
Modified: 2018-03-14 11:55 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Krügler CLA 2010-08-11 06:45:55 EDT
Build Identifier: 20100218-1602

FormText does provide a setter for the text (void setText(String text, boolean parseTags, boolean expandURLs)) and several getters for text selections (getSelectionText(), getSelectedLinkText(), getSelectedLinkHref()). The lack of a getter for the text without considering the selection does make it hard to define a proper data binding for this component. If different answers to this questions exist, different getters could be provided (e.g. getText(), getLinkText(), ..)

Reproducible: Always
Comment 1 Chris Goldthorpe CLA 2010-11-11 13:38:29 EST
Although this seems useful we don't have any resources available to develop the feature. If someone were to contribute the code we could probably add it to Eclipse.
Comment 2 Eclipse Genie CLA 2017-11-23 16:41:54 EST
New Gerrit change created: https://git.eclipse.org/r/112211
Comment 3 Daniel Krügler CLA 2017-11-23 16:43:49 EST
(In reply to Chris Goldthorpe from comment #1)
> Although this seems useful we don't have any resources available to develop
> the feature. If someone were to contribute the code we could probably add it
> to Eclipse.

OK, I finally accepted the challenge and provided a patch suggestion - a review would be very much appreciated!