Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Shell clipped within a View possible?
icon7.gif  Shell clipped within a View possible? [message #506757] Sat, 09 January 2010 10:30 Go to next message
Eduard  is currently offline Eduard Friend
Messages: 29
Registered: September 2009
Junior Member
Hello RAP-Community!

I've put a shell as a child of a top level shell. But it's still possible to drag the child shell outside of the parent shell.

Is it possible to put a shell or something similar into a parent container (view, workbenchpage...) so it can't be draged out of that parent container and if it will be maximized it will fill the whole containers content area? (screenshots which describes this: http://www.wartower.de/shell_clipped.jpg, http://www.wartower.de/shell_maximized.jpg)

I tried to control the maximazation and the drag and drop of a shell thriugh listeners. But the mouse listerner and the shell listener are not called at all. Are these listeners not working in RAP?

Is it somehow possible to override the maximazation method or the drag & drop mechanism to implement my own one?

Is wehre something similar in RAP/SWT like shells but maybe based on a composite?

Maybe someone has an idea.

Best Regards
Eduard Seibel

[Updated on: Sat, 09 January 2010 15:35]

Report message to a moderator

Re: Shell clipped within a View possible? [message #507694 is a reply to message #506757] Thu, 14 January 2010 12:17 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Eduard,

I don't see a nice way to accomplish such a task without writing your
own widget (which is a big task for such a usecase). But depending on
how your overall usecase, it may be an option to have a static html page
as your UI and let the RAP application run inside an iframe. This is
something we did on our page
( http://eclipsesource.com/en/downloads/eclipse-galileo-downlo ad/ - click
Customize Download).

Regards,
Benny

Eduard wrote:
> Hello RAP-Community!
>
> I've put a shell as a child of a top level shell. But it's still
> possible to drag the child shell outside of the parent shell.
>
> Is it possible to put a shell or something similar into a parent
> container (view, workbenchpage...) so it can't be draged out of that
> parent container and if it will be maximized it will fill the whole
> containers content area? (screenshots which describes this:
> http://www.wartower.de/shell_clipped.jpg,
> http://www.wartower.de/shell_maximized.jpg)
>
> I tried to control the maximazation and the drag and drop of a shell
> thriugh listeners. But the mouse listerner and the shell listener are
> not called at all. Are these listeners not working in RAP?
>
> Is it somehow possible to override the maximazation method or the drag &
> drop mechanism to implement my own one?
>
> Is wehre something similar in RAP/SWT like shells but maybe based on a
> composite?
>
> Maybe someone has an idea.
>
> Best Regards
> Eduard Seibel
>
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:Graphics.getImage("path...") -> IllegalArgumentException: Argument not validImage
Next Topic:InterruptedException from servlet containter thread
Goto Forum:
  


Current Time: Fri Apr 26 12:01:21 GMT 2024

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

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

Back to the top