Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Operations during startup of RCP app
Operations during startup of RCP app [message #902251] Thu, 16 August 2012 14:35
Mat Mathiew is currently offline Mat MathiewFriend
Messages: 29
Registered: July 2012
Junior Member
I want to load values from a big XML file into a list which
later I will use to populate viewers in forms.

I'm not sure if there is a better way to do this efficiently
but one thought is to do this operation ( reading/parsing XML storing
data in the list) during the RCP application start up.

Where should I write the code to run during the startup?


Edit:
I found these function in the WorkbenchAdvisor but I am not sure if
they are good candidates to do that:
initialize
Called first to perform any setup such as parsing the command line, registering adapters, declaring images, etc.. IWorkbenchConfigurer
preStartup
Called after initialization but before the first window is opened. May be used to set options affecting which editors and views are initially opened.
postStartup
Called after all windows have been opened or restored, but before the event loop starts. It can be used to start automatic processes and to open tips or other windows.

[Updated on: Thu, 16 August 2012 14:41]

Report message to a moderator

Previous Topic:Unwanted menu contributions CNF
Next Topic:Implement Project Navigator with e4
Goto Forum:
  


Current Time: Fri Apr 19 02:03:22 GMT 2024

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

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

Back to the top