Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » restart a workbench
restart a workbench [message #95692] Wed, 02 July 2008 06:22 Go to next message
Eclipse UserFriend
Originally posted by: rglorius.web.de

Hello,

is there a way to restart a RAP workbench like a RCP workbench with
PlatformUI.getWorkbench().restart()?

I just could close the workbench, but reopen failes, re-running the
createUI() method in my Entry Point failes.

Thanks in advance,
Rob.
Re: restart a workbench [message #95707 is a reply to message #95692] Wed, 02 July 2008 06:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Rob,

this is not yet supported. See this bug:
201545: workbench restart does not open new workbench window
https://bugs.eclipse.org/bugs/show_bug.cgi?id=201545

Cheers,
Rüdiger

Rob wrote:
> Hello,
>
> is there a way to restart a RAP workbench like a RCP workbench with
> PlatformUI.getWorkbench().restart()?
>
> I just could close the workbench, but reopen failes, re-running the
> createUI() method in my Entry Point failes.
>
> Thanks in advance,
> Rob.
>
Re: restart a workbench [message #1259896 is a reply to message #95692] Fri, 28 February 2014 17:52 Go to previous messageGo to next message
Eclipse UserFriend
how about a little workaround:

final JavaScriptExecutor executor = RWT.getClient().getService(JavaScriptExecutor.class);
executor.execute("window.location.reload(true);");
Re: restart a workbench [message #1293015 is a reply to message #1259896] Sat, 12 April 2014 04:13 Go to previous message
Eclipse UserFriend
Alice in Wonderland wrote on Fri, 28 February 2014 17:52
how about a little workaround:

final JavaScriptExecutor executor = RWT.getClient().getService(JavaScriptExecutor.class);
executor.execute("window.location.reload(true);");


:
This workaround only stops current UISession and creates a new one within the same JVM process. It doesn't help if one is trying to have Eclipse workbench restarted in order to have a new VM process allocated upon restart. In our case we need the server (Eclipse with embedded Jetty) to be truly restarted and the lack of Workbench.restart() implementation is blocking us from doing that.
Previous Topic:custom widgets: life cycle adapters and frequent client side activities
Next Topic:Strange back-button behaviour
Goto Forum:
  


Current Time: Tue Jul 08 16:39:18 EDT 2025

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

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

Back to the top