Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Could not register custom theme
Could not register custom theme [message #127420] Tue, 07 April 2009 06:11 Go to next message
Christian Mising name is currently offline Christian Mising nameFriend
Messages: 9
Registered: July 2009
Location: Germany
Junior Member
Hi,

I had a little problem using my custom theme. All the time I got the
error message 'Could not register custom theme...'. The solution a small
change in the org.eclipse.rap.ui.workbench bundle. The internal class
in
org.eclipse.rap.ui.internal.servlet.EngineConfigWrapper#regi sterThemes
uses the #getResource Method of the bundle to get the url to read the
theme from. I changed this for my self to #getEntry - and it works as
expected. May this is a bug?

Christian
Re: Could not register custom theme [message #127466 is a reply to message #127420] Tue, 07 April 2009 09:42 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Christian,

Christian wrote:
> I had a little problem using my custom theme. All the time I got the
> error message 'Could not register custom theme...'. The solution a small
> change in the org.eclipse.rap.ui.workbench bundle. The internal class
> in
> org.eclipse.rap.ui.internal.servlet.EngineConfigWrapper#regi sterThemes
> uses the #getResource Method of the bundle to get the url to read the
> theme from. I changed this for my self to #getEntry - and it works as
> expected. May this is a bug?

Could you describe the problem in more detail? Do you use fragments,
what does the paths in your extension look like, etc.? Could you post
the complete stack trace of the error you get?

I don't think that your solution is feasible since #getEntry does not
work with fragments.

Regards, Ralf
Re: Could not register custom theme [message #127512 is a reply to message #127466] Tue, 07 April 2009 12:37 Go to previous message
Christian Mising name is currently offline Christian Mising nameFriend
Messages: 9
Registered: July 2009
Location: Germany
Junior Member
Hi,

after some more playing around with this, I found this article (
http://www.eclipsezone.com/eclipse/forums/t101557.rhtml ) that helped me
out. My fault was that I didn't have the '.' in the classpath of my
manifest file.
No it works as expected, thanks for your help.

Christian
Previous Topic:GEF with RAP
Next Topic:Composite as a TreeItem
Goto Forum:
  


Current Time: Sun Jan 29 01:45:39 GMT 2023

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

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

Back to the top