Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Load init parameters on Eclipse RAP e4(How to load init parameters using .ini file or contribution.xml file ?)
Load init parameters on Eclipse RAP e4 [message #1722407] Thu, 04 February 2016 16:06 Go to next message
Eclipse UserFriend
Hello,

I want to load init properties with my eclipse e4 RAP application.
Properties like:
- database folder
- website title
- EntryPoint
etc.... Basically, I need somehow to load <key, value> parameters

You would advise to put it in the Application.e4xmi in Persisted state field ?
Or in the contribution.xml file ?

Then, in both cases, how I access to these values in a programmatical way ?

I want something like:
public class BasicApplication implements ApplicationConfiguration {
	
	public void configure(Application application) {
    	        /*
                 *   Get value obtained from Application.e4xmi or contribution.xml
                 */
               String websiteTitle =   ??????
               properties.put(WebClient.PAGE_TITLE, websiteTitle );
       
         }
}
Re: Load init parameters on Eclipse RAP e4 [message #1722962 is a reply to message #1722407] Wed, 10 February 2016 14:55 Go to previous message
Eclipse UserFriend
Up ?
Previous Topic:New Charts from Ralf
Next Topic:[ANN] RAP 3.1M5 published
Goto Forum:
  


Current Time: Fri Apr 26 16:21:19 GMT 2024

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

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

Back to the top