Bug 257141

Summary: [JFace] StringConverter should support asRGB from #rrggbb
Product: [Eclipse Project] Platform Reporter: Philipp Kursawe <phil.kursawe>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: Mike_Wilson
Version: 3.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Initial patch + tests
none
mylyn/context/zip none

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.