Bug 257141 - [JFace] StringConverter should support asRGB from #rrggbb
Summary: [JFace] StringConverter should support asRGB from #rrggbb
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-01 17:26 EST by Philipp Kursawe CLA
Modified: 2019-09-06 16:19 EDT (History)
1 user (show)

See Also:


Attachments
Initial patch + tests (5.56 KB, patch)
2009-03-20 15:54 EDT, Philipp Kursawe CLA
no flags Details | Diff
mylyn/context/zip (37.44 KB, application/octet-stream)
2009-03-20 15:54 EDT, Philipp Kursawe CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Kursawe CLA 2008-12-01 17:26:10 EST
Beside the rrr,ggg,bbb notation the StringConverter.asRGB should also accept #rrggbb as it is used in web-development. It would save some time from converting those values into the r,g,b form.
When StringConverter has implemented that, the ColorDefintion of a IThemeDescriptor could accept #rrggbb values too.
I will try to provide an initial implementation patch of that.
Comment 1 Philipp Kursawe CLA 2009-03-20 15:54:19 EDT
Created attachment 129497 [details]
Initial patch + tests

Added a new supported format that is known from the web:
#rrggbb

Updated the docs and added a simple StringConverterTest
Comment 2 Philipp Kursawe CLA 2009-03-20 15:54:23 EDT
Created attachment 129498 [details]
mylyn/context/zip
Comment 3 Mike Wilson CLA 2009-05-05 12:28:20 EDT
Changing Version tag to something more believable. Note that this is not a statement about when the enhancement request will be addressed (the Target Milestone field is used for that); the Version tag should be set to the version of Eclipse you were using when you saw the need for the enhancement.
Comment 4 Susan McCourt CLA 2009-07-09 18:20:14 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:19:16 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.