Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Restore minimized application or shell
Restore minimized application or shell [message #7179] Wed, 14 March 2007 13:25 Go to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
Hello,

how do I restore a minimized application or shell? The window just
disappears with no option to restore it.

Best regards,

Markus
Re: Restore minimized application or shell [message #7227 is a reply to message #7179] Wed, 14 March 2007 15:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hello Markus,

this is a limitation of the current implementation. The class
ShellListener does not yet have the shellIconified method which would
inform the server-side that a shell was minimized as well as there is no
way to represent a minimized shell on the client-side.

Until we fix this You could construct the shell with
new Shell( parent, RWT.CLOSE | RWT.RESIZE );

Cheers,
Rüdiger

Markus Krüger wrote:
> Hello,
>
> how do I restore a minimized application or shell? The window just
> disappears with no option to restore it.
>
> Best regards,
>
> Markus
>
>
Re: Restore minimized application or shell [message #7249 is a reply to message #7179] Wed, 14 March 2007 17:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

when using the workbench you can run it maximized without a title bar by
implementing preWindowOpen of WorkbenchWindowAdvisor like this

public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setShellStyle( RWT.NONE );
Rectangle bounds = Display.getCurrent().getBounds();
configurer.setInitialSize( new Point( bounds.width,
bounds.height ) );
configurer.setShowCoolBar( true );
configurer.setTitle( "Workbench Demo" );
}

There is still a small problem with the positioning of the menu.

Cheers,
Rüdiger



Markus Krüger wrote:
> Hello,
>
> how do I restore a minimized application or shell? The window just
> disappears with no option to restore it.
>
> Best regards,
>
> Markus
>
>
Re: Restore minimized application or shell [message #7306 is a reply to message #7249] Wed, 14 March 2007 17:45 Go to previous message
Eclipse UserFriend
Originally posted by: roberto.sanchez.autonomind.com

Hi,

If you add RWT.TITLE appears the Title (obviously ;-) ) but the menu is
positioned correctly and, of course, The Window can't be minimized.

configurer.setShellStyle( RWT.NONE | RWT.TITLE);

Bye.
Roberto.

Rüdiger Herrmann wrote:
> when using the workbench you can run it maximized without a title bar by
> implementing preWindowOpen of WorkbenchWindowAdvisor like this
>
> public void preWindowOpen() {
> IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
> configurer.setShellStyle( RWT.NONE );
> Rectangle bounds = Display.getCurrent().getBounds();
> configurer.setInitialSize( new Point( bounds.width,
> bounds.height ) );
> configurer.setShowCoolBar( true );
> configurer.setTitle( "Workbench Demo" );
> }
>
> There is still a small problem with the positioning of the menu.
>
> Cheers,
> Rüdiger
>
>
>
> Markus Krüger wrote:
>> Hello,
>>
>> how do I restore a minimized application or shell? The window just
>> disappears with no option to restore it.
>>
>> Best regards,
>>
>> Markus
>>
Previous Topic:validation phase
Next Topic:TreeViewer sorts elements by name
Goto Forum:
  


Current Time: Wed Apr 24 17:22:35 GMT 2024

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

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

Back to the top