RCP: how to change perspective bar location ? [message #254024] |
Sat, 19 June 2004 09:20  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04140 seconds