Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » What is the suggested approach to using 1.4 style widgets instead of 1.5?
What is the suggested approach to using 1.4 style widgets instead of 1.5? [message #763538] Fri, 09 December 2011 23:55 Go to next message
Matt Seashore is currently offline Matt SeashoreFriend
Messages: 58
Registered: July 2009
Member
I see that the default RWT/RAP theme has changed in 1.5M3 from 1.4 (http://eclipse.org/rap/noteworthy/1.5/news_M3.php) and I also see that the 1.3 classic theme has been removed (https://bugs.eclipse.org/bugs/show_bug.cgi?id=364965).

I want to preserve the sizing of existing widgets from 1.4 in my application. This is because after running it with 1.5, I see some of my applications existing SWT layouts don't size well with the new padding space, text box size, table header size, etc. After seeing the removal of the 1.3 theme, I would like to make sure I'm preserving the 1.4 widget sizing in the most maintainable way.

I think I figured out from googling and CVS that the closest thing to what I want is the business theme from: org.eclipse.rap.design.example.

So, my questions are:
1. Would you suggest using the the business theme for preserving 1.4 widget sizing going forward (i.e. is the plan to maintain the business theme and keep it's look similar)?

2. Is the proper way to utilize the business theme to use the org.eclipse.rap.design.example bundle (from cvs or wherever) and specify my applications theme as: "org.eclipse.rap.design.example.business.theme"? I've looked around in the documentation, but I mostly see information for creating a new custom theme, not utilizing the business theme.

Oh yeah, and RAP is awesome, thanks for all your work, guys!
Re: What is the suggested approach to using 1.4 style widgets instead of 1.5? [message #764496 is a reply to message #763538] Mon, 12 December 2011 09:54 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

> 1. Would you suggest using the the business theme for preserving 1.4
> widget sizing going forward (i.e. is the plan to maintain the business
> theme and keep it's look similar)?

Yes.

> 2. Is the proper way to utilize the business theme to use the
> org.eclipse.rap.design.example bundle (from cvs or wherever) and specify
> my applications theme as:
> "org.eclipse.rap.design.example.business.theme"?

Yes, that's the idea if you use the extension registry. If not, you'll
currently have to copy the business theme into your application and
register it with the ApplicationConfigurator using
ApplicationConfiguration#addStyleSheet().

> I've looked around in
> the documentation, but I mostly see information for creating a new
> custom theme, not utilizing the business theme.

We have plans to change the way that custom themes fallback to the
default theme [1]. After these changes, we'll revise the theming docs.

> Oh yeah, and RAP is awesome, thanks for all your work, guys!

Thanks :)
Ralf


[1] 363736: Default theme modifications severely affect consumer themes
https://bugs.eclipse.org/bugs/show_bug.cgi?id=363736

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:What is the suggested approach to using 1.4 style widgets instead of 1.5?
Next Topic:Deep Linking to a page, using existing session.
Goto Forum:
  


Current Time: Thu Oct 21 09:34:48 GMT 2021

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

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

Back to the top