"Eclipse Style" PerspectiveBar [message #306174] |
Mon, 24 July 2006 14:02  |
Eclipse User |
|
|
|
Originally posted by: mbo.shift-think.net
Hi all
I would like to add the "eclpse style" perspective bar to my rcp
application. I have successfully added the perspectivebar but it just
shows the normal (non-curved) style.
How is the curved style done.
and yes, this is already set:
PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenc eConstants.SHOW_TRADITIONAL_STYLE_TABS,
false);
Thanks,
Michael
|
|
|
|
|
|
|
|
|
Re: "Eclipse Style" PerspectiveBar [message #306436 is a reply to message #306425] |
Fri, 28 July 2006 13:33  |
Eclipse User |
|
|
|
Originally posted by: mbo.shift-think.net
Hi Daniel
I tried the config file but to no avail. I tried this:
org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS=false
org.eclipse.ui/DOCK_PERSPECTIVE_BAR=topRight
org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP=true
The VIEWS are correctly shown with the curved tabs, but the perspective
bar still does not...strange...
Cheers,
Michael
Michael Boeni schrieb:
> Hi Daniel
>
> I have the statement in the ApplicationWorkbenchWindowAdvisor in the
> preWindowOpen mehtod, like follows:
>
> public void preWindowOpen()
> {
>
> PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenc eConstants.SHOW_TRADITIONAL_STYLE_TABS,
> false);
>
> IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
> configurer.setInitialSize(new Point(1024, 768));
> configurer.setShowCoolBar(false);
> configurer.setShowStatusLine(true);
> configurer.setShowFastViewBars(true);
> configurer.setShowPerspectiveBar(true);
> configurer.setShowProgressIndicator(true);
> configurer.setTitle("LexisNexis Datafeed");
>
> }
>
> Will try your tip with the custom file and will post again :)
>
> Thanks,
> michael
>
>
>
> Daniel Krügler schrieb:
>> Michael Boeni wrote:
>>> Clearing the workspace works ok, but has no effect on the
>>> perspectivebar. It is still not shown in the "curved" mode as in
>>> eclipse. Is there anything else I have to do?
>> The problem might be your chosen point in workbench lifecycle, where
>> you have written your
>>
>> PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenc eConstants.SHOW_TRADITIONAL_STYLE_TABS,
>>
>> false);
>>
>> To isolate this potential error source you should comment the above
>> expression in your code and should - at least for this test - add the line
>>
>> org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS=false
>>
>> in your plugin-customization file. Therefore you have to ensure that
>> there exists the property:
>>
>> <property
>> name="preferenceCustomization"
>> value="your_plugin_customization.ini"/>
>>
>> in your current org.eclipse.core.runtime.products ext. pt. If not
>> existing you also have to create the file your_plugin_customization.ini
>> in the root of that branding plug-in.
>> Then repeat the clearage of your runtime workspace and restart: Do
>> you see the new perspective bar borders now?
>>
>> Hope that helps,
>>
>> Daniel
|
|
|
Powered by
FUDForum. Page generated in 0.29603 seconds