Hiding coolbar/toolbar/statusbar [message #245332] |
Wed, 26 May 2004 03:39 |
Eclipse User |
|
|
|
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 04:19 |
Eclipse User |
|
|
|
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 14:43 |
Eclipse User |
|
|
|
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$
>} }
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02335 seconds