Question on Qooxdoo and QxTheme [message #84336] |
Wed, 23 April 2008 13:51  |
Eclipse User |
|
|
|
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 #86281 is a reply to message #86086] |
Tue, 06 May 2008 12:35   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04162 seconds