Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How restart RCP application with -clearPersistedState.( How restart RCP application with -clearPersistedState.)
How restart RCP application with -clearPersistedState. [message #1385494] Sat, 07 June 2014 06:43 Go to next message
sumit singh is currently offline sumit singh
Messages: 131
Registered: October 2012
Location: Bangalore
Senior Member

I'm working on e4 (kepler) RCP application based on compatibility layer.

I want to restart my RCP application with -clearPersistedState option programmatically.

But by default
PlatformUI.getWorkbench().restart()
doesn't have any option to restart with clearPersistedState.

Is there is any other way to do this, even any workaround will also be helpful.


Thanks.
Re: How restart RCP application with -clearPersistedState. [message #1385568 is a reply to message #1385494] Mon, 09 June 2014 14:19 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5403
Registered: July 2009
Senior Member
There's currently no such feature available by default. I'm in the
process of implementing it and will blog about it.

Tom

On 07.06.14 08:43, sumit singh wrote:
> I'm working on e4 (kepler) RCP application based on compatibility layer.
>
> I want to restart my RCP application with -clearPersistedState option
> programmatically.
>
> But by default PlatformUI.getWorkbench().restart() doesn't have any
> option to restart with clearPersistedState.
>
> Is there is any other way to do this, even any workaround will also be
> helpful.
>
>
> Thanks.
Re: How restart RCP application with -clearPersistedState. [message #1386442 is a reply to message #1385568] Tue, 17 June 2014 14:47 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5403
Registered: July 2009
Senior Member
See
http://tomsondev.bestsolution.at/2014/06/17/restarting-an-e4-application-with-the-intial-workbench-e4xmi/

Tom

On 09.06.14 16:19, Tom Schindl wrote:
> There's currently no such feature available by default. I'm in the
> process of implementing it and will blog about it.
>
> Tom
>
> On 07.06.14 08:43, sumit singh wrote:
>> I'm working on e4 (kepler) RCP application based on compatibility layer.
>>
>> I want to restart my RCP application with -clearPersistedState option
>> programmatically.
>>
>> But by default PlatformUI.getWorkbench().restart() doesn't have any
>> option to restart with clearPersistedState.
>>
>> Is there is any other way to do this, even any workaround will also be
>> helpful.
>>
>>
>> Thanks.
>
Previous Topic:Custom Keybinding in RCP
Next Topic:Creating a tool for running testcode
Goto Forum:
  


Current Time: Wed Oct 22 04:56:12 GMT 2014

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

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