| Hiding coolbar/toolbar/statusbar [message #245332] |
Tue, 25 May 2004 23:39  |
|
Originally posted by: mzarra.mac.com
I am positive this has been asked many times in the past. But how do
you disable, hide or otherwise remove the coolbar/toolbar and statusbar
to get maximum real estate? I have seen references to disabling them in
the xml files but I have not been able to find where to disable them.
Any help would be appreciated.
Marcus
|
|
|
| Re: Hiding coolbar/toolbar/statusbar [message #245338 is a reply to message #245332] |
Wed, 26 May 2004 00:19   |
|
Originally posted by: jlinuxcn.yahoo.com.cn
Marcus S. Zarra wrote:
> I am positive this has been asked many times in the past. But how do
> you disable, hide or otherwise remove the coolbar/toolbar and statusbar
> to get maximum real estate? I have seen references to disabling them in
> the xml files but I have not been able to find where to disable them.
>
> Any help would be appreciated.
>
> Marcus
public class RcpWorkbenchAdvisor extends WorkbenchAdvisor {
public void preWindowOpen(IWorkbenchWindowConfigurer configurer) {
super.preWindowOpen(configurer);
configurer.setInitialSize(new Point(400, 300));
//this code can hide coolbar/toolbar and statusbar.
configurer.setShowCoolBar(false);
configurer.setShowStatusLine(false);
configurer.setTitle(Messages.getString("Hello_RCP")); //$NON-NLS-1$
}
}
|
|
|
| Re: Hiding coolbar/toolbar/statusbar [message #245638 is a reply to message #245338] |
Wed, 26 May 2004 10:43   |
|
Originally posted by: mzarra.mac.com
Thank you for the reply. However, I am looking for a way to disable the
coolbar and statusline in the IDE not in any SWT development that I am
doing.
I apologize for not making that clear.
Marcus
> public class RcpWorkbenchAdvisor extends WorkbenchAdvisor {
> public void preWindowOpen(IWorkbenchWindowConfigurer configurer) {
> super.preWindowOpen(configurer);
> configurer.setInitialSize(new Point(400, 300));
>
> //this code can hide coolbar/toolbar and statusbar.
>
> configurer.setShowCoolBar(false);
> configurer.setShowStatusLine(false);
>
>
> configurer.setTitle(Messages.getString("Hello_RCP")); //$NON-
> NLS-1$
>} }
>
|
|
|
| Re: Hiding coolbar/toolbar/statusbar [message #278425 is a reply to message #245638] |
Sat, 01 January 2005 19:45  |
Sergey S. Messages: 4 Registered: July 2009 |
Junior Member |
|
|
Marcus,
I have exactly the same problem.
If you was able to solve it, could you please share the solution ?
Thanks a lot,
--Sergei
On Wed, 26 May 2004 14:43:49 +0000, Marcus S. Zarra wrote:
Subject: Re: Hiding coolbar/toolbar/statusbar
From: Marcus S. Zarra <mzarra@mac.com>
Newsgroups: eclipse.platform
Date: Wed, 26 May 2004 14:43:49 +0000 (UTC)
Thank you for the reply. However, I am looking for a way to disable the
coolbar and statusline in the IDE not in any SWT development that I am
doing.
I apologize for not making that clear.
Marcus
> public class RcpWorkbenchAdvisor extends WorkbenchAdvisor {
> public void preWindowOpen(IWorkbenchWindowConfigurer configurer) {
> super.preWindowOpen(configurer);
> configurer.setInitialSize(new Point(400, 300));
>
> //this code can hide coolbar/toolbar and statusbar.
>
> configurer.setShowCoolBar(false);
> configurer.setShowStatusLine(false);
>
>
> configurer.setTitle(Messages.getString("Hello_RCP")); //$NON-
> NLS-1$
>} }
>
|
|
|
Powered by
FUDForum. Page generated in 0.01697 seconds