Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Question on Qooxdoo and QxTheme
Question on Qooxdoo and QxTheme [message #84336] Wed, 23 April 2008 13:51 Go to next message
Eclipse UserFriend
I am trying to use the Qooxdoo in the RAP projects directly, now I have a
question on how to use the themes defined in org.eclipse.swt.theme.
In the qx.js and qx-debug.js, the qxsettings["qx.theme"] is set to be
"org.eclipse.swt.theme.Default", and in the eventual RAP html, it shows
that it is RAP theme file generated by QxTheme. Can anybody help me
understand how this generation works in RAP?

Thanks!
Re: Question on Qooxdoo and QxTheme [message #84639 is a reply to message #84336] Thu, 24 April 2008 15:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Ruibin,

Ruibin Zhou wrote:
> I am trying to use the Qooxdoo in the RAP projects directly, now I have
> a question on how to use the themes defined in org.eclipse.swt.theme. In
> the qx.js and qx-debug.js, the qxsettings["qx.theme"] is set to be
> "org.eclipse.swt.theme.Default", and in the eventual RAP html, it shows
> that it is RAP theme file generated by QxTheme. Can anybody help me
> understand how this generation works in RAP?

The Qooxdoo theme files org.eclipse.swt.theme.Default* and Custom_* are
generated by RAP on the server side at application startup based on the
themes registered with the extension point org.eclipse.rap.ui.themes.
This process is controlled by the ThemeManager which uses the class
QxTheme for writing qx theme files.

I didn't quite understand what you mean by "using the Qooxdoo in the RAP
project directly", could you explain a little more what you try to achieve?

Best regards,
Ralf
Re: Question on Qooxdoo and QxTheme [message #86086 is a reply to message #84639] Mon, 05 May 2008 17:36 Go to previous messageGo to next message
Eclipse UserFriend
Ralf,

Thanks for your response! My story is a quite complex. For the starter, I
am a committer of a project named "DeviceKit" under org.eclipse.ohf, and I
like to use RAP to develop the Web GUI for some embedded device agent.
Unfortunately we require our device agents to be able to run on
OSGi/Minimum-11 environment and RAP is not quite there yet, so I thought
maybe I could use the Qooxdoo directly for my Web GUI, so I opened a CQ
for contributing Qooxdoo to Eclipse. Then it turned out that I can use the
subset of Qooxdoo included in the RAP project by just piggybacking the CQ
that the RAP opened to include the Qooxdoo.

After going through the source code of qx.js included in RAP, I noticed
that RAP creates its own themes, I am new to Qooxdoo and not very familiar
with the concept of the "themes", so it will be very helpful if you could
give me some information on how to incorporate these RAP themes to my
project.

Thanks!

Ruibin
Re: Question on Qooxdoo and QxTheme [message #86281 is a reply to message #86086] Tue, 06 May 2008 12:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Ruibin,

ok I see. In qooxdoo, the name of the default theme must be defined
before loading the qooxdoo classes. This is why this name is hardcoded
in the qx.js file. If you want to use our qx.js file, you'll have to
provide a custom theme with the name org.eclipse.swt.theme.Default.
Please refer to [1] for info on qooxdoo themes.

On the other hand, you might prefer building your own qooxdoo js file
using the sources found in the org.eclipse.rap.tools project under
qx-build/source, because our qx.js file contains some RAP-specific
patches which might not be suitable for your application.

Are you still interested in OSGi/Minimum-11 environment support in RAP?
We still have it on our plan, but since you seem to be the only one
interested in it at the moment, we could re-schedule this issue if
you're no longer interested.

Best regards,
Ralf

[1] http://qooxdoo.org/documentation/0.7/theme_support

Ruibin Zhou wrote:
> Ralf,
>
> Thanks for your response! My story is a quite complex. For the starter,
> I am a committer of a project named "DeviceKit" under org.eclipse.ohf,
> and I like to use RAP to develop the Web GUI for some embedded device
> agent. Unfortunately we require our device agents to be able to run on
> OSGi/Minimum-11 environment and RAP is not quite there yet, so I thought
> maybe I could use the Qooxdoo directly for my Web GUI, so I opened a CQ
> for contributing Qooxdoo to Eclipse. Then it turned out that I can use
> the subset of Qooxdoo included in the RAP project by just piggybacking
> the CQ that the RAP opened to include the Qooxdoo.
> After going through the source code of qx.js included in RAP, I noticed
> that RAP creates its own themes, I am new to Qooxdoo and not very
> familiar with the concept of the "themes", so it will be very helpful if
> you could give me some information on how to incorporate these RAP
> themes to my project.
>
> Thanks!
>
> Ruibin
>
Re: Question on Qooxdoo and QxTheme [message #86296 is a reply to message #86281] Tue, 06 May 2008 13:41 Go to previous message
Eclipse UserFriend
Ralf,

Thanks! Definitely I am still very interested in the RAP running on
OSGi/Minimum-11, using Qooxdoo directly is the trade-off I have to take
before RAP becomes OSGi/Minimum-11 compliant for my current release, but I
will sure convert my applications to RAP once that happens.

Ruibin
Previous Topic:Documentation?
Next Topic:RAP activities
Goto Forum:
  


Current Time: Sat Aug 30 09:46:55 EDT 2025

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

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

Back to the top