I have this SWT widget (color picker) with label:
By pressing the star button, color picker field transforms into code field, where you can write code:
I am not satisfied with this "star button", which is used to change input mode for color. I think there are should be some alternative, how this could be done. But I can't think of any other application with the same functionality. Any ideas?