Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Theming engine based on declarative ui
Theming engine based on declarative ui [message #490608] Fri, 09 October 2009 11:45 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
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 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.

As there are some declarative ui frameworks out there, this could be applied to rap/rcp, too.

Are there already similar approches (planned)?
Re: Theming engine based on declarative ui [message #490762 is a reply to message #490608] Sat, 10 October 2009 10:42 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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
Re: Theming engine based on declarative ui [message #490897 is a reply to message #490762] Mon, 12 October 2009 10:01 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
I was not asking for a new declarative ui framework Smile

Now, that you named the e4 declarative ui frameworks:
I see that a lot of the theme is done manually (creation and layout of swt/rwt widgets): my idea was to use an (e4) declarative ui to describe the layout of the theme as it is done in typical CMSs (e.g. joomla, typo3)...
Previous Topic:CoolBar in fancy branding does not work
Next Topic:org.eclipse.swt.graphics.Image
Goto Forum:
  


Current Time: Thu Apr 25 18:02:00 GMT 2024

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

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

Back to the top