Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » New Look and Feel
New Look and Feel [message #478236] Thu, 06 August 2009 08:59 Go to next message
Eclipse UserFriend
Originally posted by: admin.kabe-farben.ch

Hi

i read in a thread about a new Look and Feel. Is it the one that can be seen
online at rap.eclipsesource.com/rapdemo/examples?

If yes, how can we migrate our existing RAP-Applications to this new LAF?

we use the RWT-Part (no workbench) and therefore we use only 5 Bundles:
org.eclipse.core.commands
org.eclipse.equinox.common
org.eclipse.rap.jface
org.eclipse.rap.rwt.q07
org.eclipse.rap.rwt

we are on RAP 1.2 (the release build)

Also, please consider that we work on Netbeans-IDE and not with Eclipse.

Could anyone tell us what we have to do (which additional jar-files are
required, changes in web.xml, other?)

Thanks
Andrej
Re: New Look and Feel [message #478603 is a reply to message #478236] Thu, 06 August 2009 10:39 Go to previous messageGo to next message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
Hi,
check my research on the topic:
http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg07103.html
Aleks
Antw: Re: New Look and Feel [message #478679 is a reply to message #478603] Thu, 06 August 2009 11:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: admin.kabe-farben.ch

yes, i had seen this thread.

But it does not really help me any further.

Andrej

>>> Aleksandar Pavlov<a.pavlov@bers-soft.com> schrieb am 06.08.2009 um 12:39
in
Nachricht <h5ebsv$rfd$1@build.eclipse.org>:
> Hi,
> check my research on the topic:
> http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg07103.ht
> ml
> Aleks
Re: New Look and Feel [message #478688 is a reply to message #478236] Thu, 06 August 2009 12:22 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Andrej,

> i read in a thread about a new Look and Feel. Is it the one that can be seen
> online at rap.eclipsesource.com/rapdemo/examples?

Yes.

The new look and feel is a usage example for the new interaction design
API. This API allows you to style workbench applications comfortably. If
you do not use the workbench, then you create the layout of your
application all by yourself. You can still use a custom theme, but you
don't need this API.

Regards,
Ralf


> If yes, how can we migrate our existing RAP-Applications to this new LAF?
>
> we use the RWT-Part (no workbench) and therefore we use only 5 Bundles:
> org.eclipse.core.commands
> org.eclipse.equinox.common
> org.eclipse.rap.jface
> org.eclipse.rap.rwt.q07
> org.eclipse.rap.rwt
>
> we are on RAP 1.2 (the release build)
>
> Also, please consider that we work on Netbeans-IDE and not with Eclipse.
>
> Could anyone tell us what we have to do (which additional jar-files are
> required, changes in web.xml, other?)
>
> Thanks
> Andrej
>
Re: New Look and Feel [message #702464 is a reply to message #478688] Tue, 26 July 2011 12:05 Go to previous messageGo to next message
Werner Hihn is currently offline Werner HihnFriend
Messages: 32
Registered: July 2009
Member
Hi Ralf,

is there any news on this issue using RAP 1.4?

We're about to decide whether to use the workbench or not. But as the extension points for theming and branding are located in org.eclipse.rap.ui (which requires org.eclipse.rap.ui.workbench) I'm not sure if it' s possible to use CSS theming without the workbench.
So what did you mean with "You can still use a custom theme, but you
don't need this API"? Is there another way to register the css file in that case?

I didn' t find any information on how to use theming with plain RWT.

Thanks in advance,
Werner
Re: New Look and Feel [message #703505 is a reply to message #702464] Wed, 27 July 2011 16:35 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Werner,

the dependency from org.eclipse.ui to org.eclipse.rap.ui.workbench is a
legacy that has been removed in HEAD, but it's still there in 1.4. But
even if you have to include the workbench bundle in your 1.4 runtime,
doesn't mean that you have to use the workbench user interface.

You can as well write a plain SWT application and create the layout on
your own. My statement was about the workbench styling API in RAP which
has nothing to do with CSS theming.

You can register your custom theme with the themes extension point as
usual. In RAP 1.5, we'll also provide a way to configure your
application without the extension registry.

Does that answer your question?

Best regards, Ralf


--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: New Look and Feel [message #705097 is a reply to message #703505] Fri, 29 July 2011 12:27 Go to previous messageGo to next message
Werner Hihn is currently offline Werner HihnFriend
Messages: 32
Registered: July 2009
Member
Hi Ralf,

thanks for the quick reply.
One of the most crucial requirements for our (RCP) tool is low memory consumption and quick startup. This is why I'd favour completely dropping the workbench instead of just not using it (in order to throw away as many dependent bundles as possible).

Right now I'm thinking about somehow suppressing org.eclipse.rap.ui.workbench from starting up (either by using an empty dummy bundle with the same ID, or by changing the start level). This way it would be possible to use the extension points without any workbench overhead.

Not sure though if this has any drawbacks..

Regards,
Werner

Re: New Look and Feel [message #706635 is a reply to message #705097] Sun, 31 July 2011 16:37 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Werner,

not using the workbench will of course help to keep the memory
consumption and startup time of your application low.

But you can safely keep the workbench bundle running, as the bundle
itself is only started once at server start and does not add anything to
the footprint or startup time of an application instance, as long as the
application is not a workbench application.

Not starting the workbench bundle would not work, because in 1.4, the
code that binds RWT to the HTTP service is still located in this bundle.

Regards, Ralf


--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:onAppearance Problem
Next Topic:Dynamic set of composites in a ScrolledComposite
Goto Forum:
  


Current Time: Thu Apr 25 12:06:32 GMT 2024

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

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

Back to the top