Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » "Eclipse Style" PerspectiveBar
"Eclipse Style" PerspectiveBar [message #306174] Mon, 24 July 2006 14:02 Go to next message
Eclipse UserFriend
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 #306190 is a reply to message #306174] Tue, 25 July 2006 02:48 Go to previous messageGo to next message
Eclipse UserFriend
Michael Boeni wrote:
> 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);

You should clear your run-time workspace of that very RCP. This setting
is only evaluated the first time and the result is persisted into the
workspace data.

Greetings from Bremen,

Daniel Krügler
Re: "Eclipse Style" PerspectiveBar [message #306221 is a reply to message #306190] Tue, 25 July 2006 14:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mbo.shift-think.net

Hi Daniel

Ah, ok. How do I delete the run-time workspace?

Cheers,
Michael

Daniel Krügler schrieb:
> Michael Boeni wrote:
>> 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);
>
> You should clear your run-time workspace of that very RCP. This setting
> is only evaluated the first time and the result is persisted into the
> workspace data.
>
> Greetings from Bremen,
>
> Daniel Krügler
Re: "Eclipse Style" PerspectiveBar [message #306254 is a reply to message #306221] Wed, 26 July 2006 04:22 Go to previous messageGo to next message
Eclipse UserFriend
Michael Boeni wrote:
> Hi Daniel
>
> Ah, ok. How do I delete the run-time workspace?
>

In the following I assume that the problem occurs in the RCP
app which has been started by your Eclipse launch configuration,
not your exported/deployed version, is that right?

1) Open Run configuration, tab "Main", ensure that "Clear workspace data
before launching" in the Workspace Data section is selected. Run again.

2) If (1) didn't help, you should use your usual file explorer and go
into the directory described by the launch config's entry "Location" in
the very same Workspace Data section and remove all of its contents
manually. Restart again.

Greetings from Bremen,

Daniel
Re: "Eclipse Style" PerspectiveBar [message #306317 is a reply to message #306254] Wed, 26 July 2006 14:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mbo.shift-think.net

Hi Daniel

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?

Cheers from Zürich :)

Michael

Daniel Krügler schrieb:
> Michael Boeni wrote:
>> Hi Daniel
>>
>> Ah, ok. How do I delete the run-time workspace?
>>
>
> In the following I assume that the problem occurs in the RCP
> app which has been started by your Eclipse launch configuration,
> not your exported/deployed version, is that right?
>
> 1) Open Run configuration, tab "Main", ensure that "Clear workspace data
> before launching" in the Workspace Data section is selected. Run again.
>
> 2) If (1) didn't help, you should use your usual file explorer and go
> into the directory described by the launch config's entry "Location" in
> the very same Workspace Data section and remove all of its contents
> manually. Restart again.
>
> Greetings from Bremen,
>
> Daniel
Re: "Eclipse Style" PerspectiveBar [message #306410 is a reply to message #306317] Fri, 28 July 2006 03:45 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: "Eclipse Style" PerspectiveBar [message #306425 is a reply to message #306410] Fri, 28 July 2006 12:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mbo.shift-think.net

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
Re: "Eclipse Style" PerspectiveBar [message #306436 is a reply to message #306425] Fri, 28 July 2006 13:33 Go to previous message
Eclipse UserFriend
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
Previous Topic:Persist Workbench state
Next Topic:BreakpointView always has Java Exception button
Goto Forum:
  


Current Time: Mon Jul 14 00:54:53 EDT 2025

Powered by FUDForum. Page generated in 0.29603 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top