|
Re: Theming engine based on declarative ui [message #490762 is a reply to message #490608] |
Sat, 10 October 2009 10:42 |
|
Hi Erdal,
Erdal Karaca wrote:
> Till now, I have not seen many themes for rap (same goes for rcp).
>
> The main reason is that providing a new theme is not a trivial task and
> it is very complicated.
I agree, we need to ease the creation of custom themes. One important
step will be the RAP Theme Editor [1] that will make it into the
incubator in the next weeks.
> I wonder if there could be a theming engine based on declarative ui. In
> web CMSs (such as joomla, typo3, ...) theming is applied by a master
> template file which defines what is to be shown and where it is to be
> placed, all using simple html and a language specific include mechanism.
The RAP Theming defines the default look and feel of the widgets, but
not their layout. RAP provides a so-called "interaction design API" [2]
that lets you define the position of certain parts of the UI like menu,
toolbar, perspective switcher or stack presentations. We also provide
two example implementations.
> As there are some declarative ui frameworks out there, this could be
> applied to rap/rcp, too.
> Are there already similar approches (planned)?
There are two declarative UI approaches in e4, XWT and TM. The workbench
layout will be defined by exchangeable renderers. All these things
should also work with RAP. I'd suggest you discuss your ideas on the e4
mailing list, since everything that goes beyond default widget styling
should be available on all platforms.
Best regards,
Ralf
[1] http://wiki.eclipse.org/RAP_Theme_Editor
[2]
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .rap.help/help/html/advanced/look-and-feel.html
|
|
|
|
Powered by
FUDForum. Page generated in 5.04320 seconds