Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Layouting
Layouting [message #60034] Thu, 15 November 2007 14:06 Go to next message
Eclipse UserFriend
Hi!

I just read in the wiki:
"RWT reuses the original SWT layout manager implementations and therefore
layouting takes place on the server-side. "

Up to now I thought, RAP reuses the Qooxdoo Layout-Mechanism. But now IŽm
not so sure anymore, how can this sentence be understood? Thanks in
advance!

Martin
Re: Layouting [message #60104 is a reply to message #60034] Thu, 15 November 2007 18:35 Go to previous messageGo to next message
Eclipse UserFriend
Hi Martin,

The sentence is to understand as it's described there ;)
RAP uses the layout managers of SWT to calculate the positions and sizes
of the widgets on the server-side. Only the real bounds were send to the
client where the qooxdoo widgets are rendered in the end (based on the
informations computed on the server). The layout managers of qooxdoo
itself are mostly eliminated in the build except some simple ones which
we are using inside some widgets.

Greets
Benny

Martin wrote:
> Hi!
>
> I just read in the wiki:
> "RWT reuses the original SWT layout manager implementations and
> therefore layouting takes place on the server-side. "
>
> Up to now I thought, RAP reuses the Qooxdoo Layout-Mechanism. But now
> IŽm not so sure anymore, how can this sentence be understood? Thanks in
> advance!
>
> Martin
>
Re: Layouting [message #60173 is a reply to message #60104] Fri, 16 November 2007 04:07 Go to previous messageGo to next message
Eclipse UserFriend
Hi Benny,

thanks;),
ok, I could not imagine how the mapping between the SWT LayoutManagers are
mapped to Qooxdoo-Layouting on the Clientside, but now this makes sense as
I looked little more at the Code.

Greetings

Martin
Re: Layouting [message #64756 is a reply to message #60173] Fri, 07 December 2007 07:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cindy.beers.freenet.de

Hi all!

I have the bad luck that I must introduce RAP Technology to our Java
Developers, now I must work throuh the deep functionality.
I just realized, that it is possible to create Custom Components without
programming a JS-Client widget at all using the standard layouts in RWT
and standard buttons etc.. (I realized that when I saw the Calendar Widget
Source Code from Frank Appel in the "Looking like a Website" - Thread)
BUT,
I also realized that for example the Qooxdoo-GridLayout is not shipped
within the qooxdoo implementation you use for RAP, so how do you render a
SWT GridLayout in Qooxdoo??

Thank you very much, working through this technology is quite a mess,
since I am also not as experienced as my boss thinks I sgould be;)

Cindy Beers
Re: Layouting [message #64779 is a reply to message #64756] Fri, 07 December 2007 07:34 Go to previous messageGo to next message
Eclipse UserFriend
That's an easy one: the layouts are rendered on the server. In fact we
use the same code as SWT does - the layout managers. Only position and
size (the bounds) are sended to the client. For example a resize of a
shell will do a turnaround, the layout will be calculated on the server
and the new positions and sizes are sended to the client for each widget.

Hope that helps!
Benny

Cindy wrote:
> Hi all!
>
> I have the bad luck that I must introduce RAP Technology to our Java
> Developers, now I must work throuh the deep functionality.
> I just realized, that it is possible to create Custom Components without
> programming a JS-Client widget at all using the standard layouts in RWT
> and standard buttons etc.. (I realized that when I saw the Calendar
> Widget Source Code from Frank Appel in the "Looking like a Website" -
> Thread)
> BUT,
> I also realized that for example the Qooxdoo-GridLayout is not shipped
> within the qooxdoo implementation you use for RAP, so how do you render
> a SWT GridLayout in Qooxdoo??
>
> Thank you very much, working through this technology is quite a mess,
> since I am also not as experienced as my boss thinks I sgould be;)
>
> Cindy Beers
>
>
>
Re: Layouting [message #64801 is a reply to message #64756] Fri, 07 December 2007 08:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cindy.beers.freenet.de

As I read carefully, this question is alreasy answered by Benny.
Sorry.

Cindy
Re: Layouting [message #64846 is a reply to message #64801] Fri, 07 December 2007 08:59 Go to previous message
Eclipse UserFriend
Originally posted by: cindy.beers.freenet.de

Hi Benny,

now it is answered twice;)
Yes, that helps absolutely, thank you very much!


Greets

Cindy Beers
Previous Topic:NPE in org.eclipse.core.runtime when starting RAP-app
Next Topic:Eclipse DemoCamps with RAP
Goto Forum:
  


Current Time: Fri Jun 06 21:40:02 EDT 2025

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

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

Back to the top