|Re: Restarting RCP application [message #1173157 is a reply to message #1172353]
||Wed, 06 November 2013 10:23
| Thomas Schindl
Registered: July 2009
Look at the implementation of IWorkbench#restart and do the same, in the|
end we are setting some equinox stuff ;-)
On 05.11.13 22:54, Ralf Heydenreich wrote:
> Hi all,
> perhaps it sounds a bit odd, but want to restart my application before
> it gets visible.
> Short explanation: I work on a product where the user can select the
> working directory at first startup. This is achieved through a
> LifecycleManager (@PostContextCreate), where I raise up a popup dialog.
> The dialog is displayed correctly, but now I don't know how to restart
> the workbench, since it isn't available. What I have is an
> IApplicationContext and a Display. I know that IWorkbench now has a
> restart() method, but I can't get an object for it. How can I do this?
> Thanks in advance,
Powered by FUDForum
. Page generated in 0.02805 seconds