Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » RCP: how to change perspective bar location ?
RCP: how to change perspective bar location ? [message #254024] Sat, 19 June 2004 09:20 Go to next message
Eclipse UserFriend
Hi,

what's the correct api to change the location
of the perspective bar in a RCP application ?
Diggging in the eclipse source, I found this:

PrefUtil.getAPIPreferenceStore().setValue("DOCK_PERSPECTIVE_BAR ",
IWorkbenchPreferenceConstants.TOP_RIGHT);

But this solution is imperfect because the
initial opened perspective doesn't show up
in the bar until I click on it the first time
(at least when using it in 3RC2 linux GTK)

Which api call did I miss ?

TIA,
Axel
Re: how to change perspective bar location ? [message #254270 is a reply to message #254024] Mon, 21 June 2004 10:59 Go to previous message
Eclipse UserFriend
Originally posted by: nick_edgar._no.spam.please_.ca.ibm.com

Please try again using RC3. There have been various problems fixed here.

Also note that PrefUtil is an internal class. You can use
PlatformUI.getPreferenceStore() instead.

Nick

"Axel Schlueter" <axel_eclipse@pqrs.de> wrote in message
news:cb1ehu$ko2$1@eclipse.org...
> Hi,
>
> what's the correct api to change the location
> of the perspective bar in a RCP application ?
> Diggging in the eclipse source, I found this:
>
> PrefUtil.getAPIPreferenceStore().setValue("DOCK_PERSPECTIVE_BAR ",
> IWorkbenchPreferenceConstants.TOP_RIGHT);
>
> But this solution is imperfect because the
> initial opened perspective doesn't show up
> in the bar until I click on it the first time
> (at least when using it in 3RC2 linux GTK)
>
> Which api call did I miss ?
>
> TIA,
> Axel
Previous Topic:TreeViewer and images
Next Topic:How to display an Editor without File Input
Goto Forum:
  


Current Time: Sat Jul 19 01:38:36 EDT 2025

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

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

Back to the top