|Operations during startup of RCP app [message #902251]
||Thu, 16 August 2012 14:35
| Mat Mathiew
Registered: July 2012
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?
I found these function in the WorkbenchAdvisor but I am not sure if
they are good candidates to do that:
Called first to perform any setup such as parsing the command line, registering adapters, declaring images, etc.. IWorkbenchConfigurer
Called after initialization but before the first window is opened. May be used to set options affecting which editors and views are initially opened.
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
Powered by FUDForum
. Page generated in 0.01505 seconds