Home » Eclipse Projects » Remote Application Platform (RAP) » Selected ViewPart Tab Color
|
Re: Selected ViewPart Tab Color [message #89806 is a reply to message #89698] |
Sun, 25 May 2008 18:18 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Markus,
you could provide your own WorkbenchTheme via org.eclipse.ui.themes
the extension point.
In addition, these colors should also be configurable via
preferences, but as I am working offline and can't recall the API to
use, you would need to search around a bit.
A third approach would be to use RWT theming to change the colors of
the CTabFolder. This, of course, would also affect occurences of
CTabFolder outside the workbench parts.
Cheers,
Rüdiger
Markus Krüger wrote:
> Hi,
> how do change the Tab Color of select ViewPart/EditorPart?
> Is it also possible to not make it look so anemic?
>
> Regards,
> Markus
>
>
|
|
| |
Re: Selected ViewPart Tab Color [message #89896 is a reply to message #89861] |
Mon, 26 May 2008 08:31 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Markus,
Markus Krüger wrote:
> Hi Rüdiger,
> I use a RAP theme (css) and tried to set TabItem and CTabItem background
> color, but it take no effect.
> Setting "Shell-Titlebar" does seem to take affect (although the color I used
> gets displayed anemic vin the selected view/editor part), but changing this
> will effect all shells titelbar. So is this a bug?
No. Using the RWT theming you can only set the foreground and background
of selected and unselected items in a CTabFolder. The CTabFolder is an
RWT widget and is not aware of selected parts in the workbench.
Moreover, the theme colors are overwritten by the workbench anyway. So
you have to provide your own *workbench* theme using the extension point
org.eclipse.ui.theme.
Setting the background of Shell-Titlebar changes the system color
SWT.COLOR_TITLE_BACKGROUND which the default workbench theme refers to.
Best regards, Ralf
> "Rüdiger Herrmann" <rherrmann@innoopract.com> schrieb im Newsbeitrag
> news:g1cohj$h2o$4@build.eclipse.org...
>> Markus,
>>
>> you could provide your own WorkbenchTheme via org.eclipse.ui.themes the
>> extension point.
>> In addition, these colors should also be configurable via preferences, but
>> as I am working offline and can't recall the API to use, you would need to
>> search around a bit.
>> A third approach would be to use RWT theming to change the colors of the
>> CTabFolder. This, of course, would also affect occurences of CTabFolder
>> outside the workbench parts.
>>
>> Cheers,
>> Rüdiger
>>
>> Markus Krüger wrote:
>>> Hi,
>>> how do change the Tab Color of select ViewPart/EditorPart?
>>> Is it also possible to not make it look so anemic?
>>>
>>> Regards,
>>> Markus
>
>
|
|
|
Re: Selected ViewPart Tab Color [message #90475 is a reply to message #89896] |
Wed, 28 May 2008 09:22 |
Eclipse User |
|
|
|
Originally posted by: mike.xmos.com
I'm finding that the first RAP session I open has pale blue ViewPart
tabs, then subsequent sessions have normal blue tabs until I restart the
server. Has anyone else seen this happen?
Ralf Sternberg wrote:
> Hi Markus,
>
> Markus Krüger wrote:
>> Hi Rüdiger,
>> I use a RAP theme (css) and tried to set TabItem and CTabItem
>> background color, but it take no effect.
>> Setting "Shell-Titlebar" does seem to take affect (although the color
>> I used gets displayed anemic vin the selected view/editor part), but
>> changing this will effect all shells titelbar. So is this a bug?
>
> No. Using the RWT theming you can only set the foreground and background
> of selected and unselected items in a CTabFolder. The CTabFolder is an
> RWT widget and is not aware of selected parts in the workbench.
> Moreover, the theme colors are overwritten by the workbench anyway. So
> you have to provide your own *workbench* theme using the extension point
> org.eclipse.ui.theme.
>
> Setting the background of Shell-Titlebar changes the system color
> SWT.COLOR_TITLE_BACKGROUND which the default workbench theme refers to.
>
> Best regards, Ralf
>
>> "Rüdiger Herrmann" <rherrmann@innoopract.com> schrieb im Newsbeitrag
>> news:g1cohj$h2o$4@build.eclipse.org...
>>> Markus,
>>>
>>> you could provide your own WorkbenchTheme via org.eclipse.ui.themes
>>> the extension point.
>>> In addition, these colors should also be configurable via
>>> preferences, but as I am working offline and can't recall the API to
>>> use, you would need to search around a bit.
>>> A third approach would be to use RWT theming to change the colors of
>>> the CTabFolder. This, of course, would also affect occurences of
>>> CTabFolder outside the workbench parts.
>>>
>>> Cheers,
>>> Rüdiger
>>>
>>> Markus Krüger wrote:
>>>> Hi,
>>>> how do change the Tab Color of select ViewPart/EditorPart?
>>>> Is it also possible to not make it look so anemic?
>>>>
>>>> Regards,
>>>> Markus
>>
>>
|
|
| |
Re: Selected ViewPart Tab Color [message #90759 is a reply to message #90637] |
Thu, 29 May 2008 09:57 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Mike, Patrick,
Patrick wrote:
> Mike Wrighton wrote:
>> I'm finding that the first RAP session I open has pale blue ViewPart
>> tabs, then subsequent sessions have normal blue tabs until I restart
>> the server. Has anyone else seen this happen?
>>
> Yes, same here. with RC1 (I'll switch to RC2 tomorrow).
>
> Seems to affect the whole theming.
Do you mean workbench theming or RWT theming?
Can you provide more details how to reproduce this? Do you use a custom
RWT theme (org.eclipse.rap.ui.themes)? A custom workbench theme
(org.eclipse.ui.themes)?
Ralf
|
|
|
Re: Selected ViewPart Tab Color [message #90774 is a reply to message #90759] |
Thu, 29 May 2008 10:04 |
Eclipse User |
|
|
|
Originally posted by: mike.xmos.com
Ralf Sternberg wrote:
> Hi Mike, Patrick,
>
> Patrick wrote:
>> Mike Wrighton wrote:
>>> I'm finding that the first RAP session I open has pale blue ViewPart
>>> tabs, then subsequent sessions have normal blue tabs until I restart
>>> the server. Has anyone else seen this happen?
>>>
>> Yes, same here. with RC1 (I'll switch to RC2 tomorrow).
>>
>> Seems to affect the whole theming.
>
> Do you mean workbench theming or RWT theming?
>
> Can you provide more details how to reproduce this? Do you use a custom
> RWT theme (org.eclipse.rap.ui.themes)? A custom workbench theme
> (org.eclipse.ui.themes)?
>
> Ralf
I'm still getting this with the latest version of RAP and I don't use
any theming at all.
Mike
|
|
|
Re: Selected ViewPart Tab Color [message #90791 is a reply to message #90774] |
Thu, 29 May 2008 11:23 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Mike,
Mike Wrighton wrote:
>>> Mike Wrighton wrote:
>>>> I'm finding that the first RAP session I open has pale blue ViewPart
>>>> tabs, then subsequent sessions have normal blue tabs until I restart
>>>> the server. Has anyone else seen this happen?
>>
>> Can you provide more details how to reproduce this? Do you use a
>> custom RWT theme (org.eclipse.rap.ui.themes)? A custom workbench theme
>> (org.eclipse.ui.themes)?
>
> I'm still getting this with the latest version of RAP and I don't use
> any theming at all.
Unfortunately, I cannot reproduce this problem with the RAP Demo
application. Any idea in which respect your application differs from the
Demo or under which circumstances this problem occurs? Just a guess: do
you use the Preference store? Can you provide some code?
Ralf
|
|
|
Re: Selected ViewPart Tab Color [message #91484 is a reply to message #90475] |
Tue, 03 June 2008 13:37 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi,
while smoke-testing 1.1 RC3, I was able to reproduce the behavior as
described in the previous posting.
I filed a bugzilla to gather further information and track progress
on this issue:
235331: Wrong workbench colors in very first session
https://bugs.eclipse.org/bugs/show_bug.cgi?id=235331
Cheers,
Rüdiger
Mike Wrighton wrote:
> I'm finding that the first RAP session I open has pale blue ViewPart
> tabs, then subsequent sessions have normal blue tabs until I restart the
> server. Has anyone else seen this happen?
>
>
> Ralf Sternberg wrote:
>> Hi Markus,
>>
>> Markus Krüger wrote:
>>> Hi Rüdiger,
>>> I use a RAP theme (css) and tried to set TabItem and CTabItem
>>> background color, but it take no effect.
>>> Setting "Shell-Titlebar" does seem to take affect (although the color
>>> I used gets displayed anemic vin the selected view/editor part), but
>>> changing this will effect all shells titelbar. So is this a bug?
>>
>> No. Using the RWT theming you can only set the foreground and
>> background of selected and unselected items in a CTabFolder. The
>> CTabFolder is an RWT widget and is not aware of selected parts in the
>> workbench. Moreover, the theme colors are overwritten by the workbench
>> anyway. So you have to provide your own *workbench* theme using the
>> extension point org.eclipse.ui.theme.
>>
>> Setting the background of Shell-Titlebar changes the system color
>> SWT.COLOR_TITLE_BACKGROUND which the default workbench theme refers to.
>>
>> Best regards, Ralf
>>
>>> "Rüdiger Herrmann" <rherrmann@innoopract.com> schrieb im Newsbeitrag
>>> news:g1cohj$h2o$4@build.eclipse.org...
>>>> Markus,
>>>>
>>>> you could provide your own WorkbenchTheme via org.eclipse.ui.themes
>>>> the extension point.
>>>> In addition, these colors should also be configurable via
>>>> preferences, but as I am working offline and can't recall the API to
>>>> use, you would need to search around a bit.
>>>> A third approach would be to use RWT theming to change the colors of
>>>> the CTabFolder. This, of course, would also affect occurences of
>>>> CTabFolder outside the workbench parts.
>>>>
>>>> Cheers,
>>>> Rüdiger
>>>>
>>>> Markus Krüger wrote:
>>>>> Hi,
>>>>> how do change the Tab Color of select ViewPart/EditorPart?
>>>>> Is it also possible to not make it look so anemic?
>>>>>
>>>>> Regards,
>>>>> Markus
>>>
>>>
|
|
|
Goto Forum:
Current Time: Fri Nov 22 17:03:59 GMT 2024
Powered by FUDForum. Page generated in 0.05957 seconds
|