Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » CoolBar space visible even after setting visible to false
CoolBar space visible even after setting visible to false [message #783541] Wed, 25 January 2012 23:15 Go to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Hi

I am using the eclipse Version: 4.2.0 and RAP 1.5M4. I have below code in ApplicationWorkbenchWindowAdvisor which extends from WorkbenchWindowAdvisor
I have set the configurer.setShowCoolBar(false); but even though the space used by coolbar is still visible.

This used to work in the previous version
http://www.eclipse.org/forums/index.php/m/434234/



public void preWindowOpen() {
	
	IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
	//configurer.setInitialSize(new Point(400, 300));
	configurer.setShowCoolBar(false);
	configurer.setShowStatusLine(false);
	configurer.setTitle("Title");
	configurer.setShellStyle(SWT.TITLE | SWT.RESIZE);
}
	
	public void postWindowCreate() {
		Shell shell = getWindowConfigurer().getWindow().getShell();
		shell.setMaximized(true);
	}


Is there any workaround.

Thanks
Raj
Re: CoolBar space visible even after setting visible to false [message #783547 is a reply to message #783541] Wed, 25 January 2012 23:38 Go to previous message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
I found it. I missed the statement.

configurer.setShowMenuBar(false);

Thanks
Raj
Re: CoolBar space visible even after setting visible to false [message #783549 is a reply to message #783541] Wed, 25 January 2012 23:38 Go to previous message
Raj is currently offline RajFriend
Messages: 67
Registered: July 2009
Member
I found it. I missed the statement.

configurer.setShowMenuBar(false);

Thanks
Raj
Previous Topic:org.eclipse.rwt.widgets.styledtext
Next Topic:RAP | Mobile | Menu
Goto Forum:
  


Current Time: Wed Apr 24 13:32:32 GMT 2024

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

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

Back to the top