Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [RWT Standalone] Access Application object at runtime
[RWT Standalone] Access Application object at runtime [message #954041] Mon, 22 October 2012 14:46 Go to next message
Eclipse UserFriend
Hi,

I'm just wondering whether it is a valid use-case to use the add* methods of the org.eclipse.rap.rwt.application.Application interface at runtime, after the Application has been configured by using an implementation of the ApplicationConfiguration interface, es described in the RWT standalone guide. Is it possible to add resources at a later point?

If so, what would be the proper way to get ahold of the Application object at runtime?

Somehow I doubt that is foreseen, as I didn't find any method to access the Application after the initial configuration, and there don't seem to be methods to remove resources again. However, just to be sure I'm asking this question here.

Thanks!!

Cheers,
Ben
Re: [RWT Standalone] Access Application object at runtime [message #954747 is a reply to message #954041] Tue, 23 October 2012 04:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ben,

you can register resources at runtime with the resource manager.

RWT.getResourceManager().register( ... );

At the moment, there is no method to access the application at runtime.
Do you have a use case apart from resource registration?

Regards, Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: [RWT Standalone] Access Application object at runtime [message #956801 is a reply to message #954041] Wed, 24 October 2012 16:26 Go to previous message
Eclipse UserFriend
Hi Ralf,

thanks for the clarification!

I was just curious, I don't have any other use case than registering resources dynamically, and this can be done easily, as you mentioned Smile.

Cheers,
Ben


Previous Topic:RWT/RAP API documentation not accessible from RAP website
Next Topic:FilteredTree not working correctly for custom TreeViewer
Goto Forum:
  


Current Time: Tue Jul 15 14:18:20 EDT 2025

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

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

Back to the top