positioning CoolBar and PerspectiveBar [message #376152] |
Thu, 02 September 2004 16:46 |
Eclipse User |
|
|
|
Originally posted by: evan_yap.mindspring.com
I've made the following settings:
configurer.showCoolBar(true);
configurer.showPerspectiveBar(true);
The (default) results I'm getting (on Windows XP):
CoolBar is below MenuBar in its own row
PerspectiveBar is below CoolBar in its own row
What I'd like to have in order to save space:
CoolBar and PerspectiveBar on same row,
with PerspectiveBar to the right of CoolBar.
PerspectiveBar can be right-aligned to the window edge,
so that CoolBar can grab the remaining horizontal space.
Could someone please tell me what steps I'm missing?
I haven't figured out what the default layout class is yet ...
Thanks!
|
|
|
|
|
Re: positioning CoolBar and PerspectiveBar [message #376175 is a reply to message #376167] |
Thu, 02 September 2004 18:33 |
Eclipse User |
|
|
|
Originally posted by: evan_yap.mindspring.com
Thanks, Mike!
Thanks for the tip re: right-click Dock On ... option.
Wouldn't have known to try it if you had not mentioned it.
I haven't tried the preference setting, but I definitely would like to be
able
to do the positioning programatically. You'll hear from me if I'm
able to find a programmatic way to do this [ that is, if i can figure out
where to find the Dock On ... code :-) ].
Thanks again!
"Mike Evans" <mike.evans@incremental.eu.com> wrote in message
news:ch7m00$jif$1@eclipse.org...
> I had a similar probelm with the perspective bar - could not find the code
> positioning it and the following seemed to have no effect:
> WorkbenchPlugin.getDefault().getPreferenceStore().setValue(
> IWorkbenchPreferenceConstants.DOCK_PERSPECTIVE_BAR,
> IWorkbenchPreferenceConstants.TOP_RIGHT );
> However I accidently right-clicked on the perspective bar and positioning
> options magically appeared.
> Perhaps you'll be as lucky...
>
> Mike Evans
>
>
> "Evan Chua-Yap" <evan_yap@mindspring.com> wrote in message
> news:ch7ij7$doh$1@eclipse.org...
> > I've made the following settings:
> > configurer.showCoolBar(true);
> > configurer.showPerspectiveBar(true);
> >
> > The (default) results I'm getting (on Windows XP):
> > CoolBar is below MenuBar in its own row
> > PerspectiveBar is below CoolBar in its own row
> >
> > What I'd like to have in order to save space:
> > CoolBar and PerspectiveBar on same row,
> > with PerspectiveBar to the right of CoolBar.
> > PerspectiveBar can be right-aligned to the window edge,
> > so that CoolBar can grab the remaining horizontal space.
> >
> > Could someone please tell me what steps I'm missing?
> > I haven't figured out what the default layout class is yet ...
> >
> > Thanks!
> >
> >
>
>
|
|
|
Re: positioning CoolBar and PerspectiveBar [message #376176 is a reply to message #376173] |
Thu, 02 September 2004 18:38 |
Eclipse User |
|
|
|
Originally posted by: evan_yap.mindspring.com
Thanks, Andrew. I'll try it.
"Andrew Eidsness" <Andrew_Eidsness@ca.ibm.com> wrote in message
news:opsdppjck44nuvnq@news.eclipse.org...
> If you already have a plugin_customization.ini file for your RCP
> application then the easiest way to control the initial location of the
> perspective bar is to add the following line:
>
> org.eclipse.ui/DOCK_PERSPECTIVE_BAR=topRight
>
> If you don't already have a plugin_customization file then review the
> section:
>
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -ui-home/rcp/index.html#rcp_and_r21
>
> This is a description of how to use the R21-style presentation in your RCP
> application however, one part of that process is to create a
> plugin_customization.ini file.
>
> -Andrew
>
> On Thu, 2 Sep 2004 09:46:51 -0700, Evan Chua-Yap <evan_yap@mindspring.com>
> wrote:
>
> > I've made the following settings:
> > configurer.showCoolBar(true);
> > configurer.showPerspectiveBar(true);
> >
> > The (default) results I'm getting (on Windows XP):
> > CoolBar is below MenuBar in its own row
> > PerspectiveBar is below CoolBar in its own row
> >
> > What I'd like to have in order to save space:
> > CoolBar and PerspectiveBar on same row,
> > with PerspectiveBar to the right of CoolBar.
> > PerspectiveBar can be right-aligned to the window edge,
> > so that CoolBar can grab the remaining horizontal space.
> >
> > Could someone please tell me what steps I'm missing?
> > I haven't figured out what the default layout class is yet ...
> >
> > Thanks!
> >
> >
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02790 seconds