Skip to main content


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 SinghFriend
Messages: 141
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 SchindlFriend
Messages: 6651
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 SchindlFriend
Messages: 6651
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: Thu Apr 25 08:52:16 GMT 2024

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

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

Back to the top