Restarting Eclipse [message #21896] |
Mon, 15 September 2008 05:50  |
Eclipse User |
|
|
|
Hi,
i created a plugin for importing and exporting workspace settings. In
order to applz changes after importing I have to restart Eclipse.
I actually wanted to use the dialog which appear after updating or
installing software.
UpdateUI.requestRestart(true);
Unfortunatly I get a discouraged access warning. And in eclipse 3.4 it
doesn't work at all,
So does anybody know how to access this functionality?
cheers
Fabian Schmidt
|
|
|
Re: Restarting Eclipse [message #21941 is a reply to message #21896] |
Mon, 15 September 2008 06:35  |
Eclipse User |
|
|
|
Fabian Schmidt schrieb:
> Hi,
>
> i created a plugin for importing and exporting workspace settings. In
> order to applz changes after importing I have to restart Eclipse.
>
> I actually wanted to use the dialog which appear after updating or
> installing software.
>
> UpdateUI.requestRestart(true);
>
> Unfortunatly I get a discouraged access warning. And in eclipse 3.4 it
> doesn't work at all,
>
> So does anybody know how to access this functionality?
>
> cheers
> Fabian Schmidt
Okay,
I finally solved my Problem with rewriting the requestRestart method
from this class...
cheers
|
|
|
Re: Restarting Eclipse [message #580326 is a reply to message #21896] |
Mon, 15 September 2008 06:35  |
Eclipse User |
|
|
|
Fabian Schmidt schrieb:
> Hi,
>
> i created a plugin for importing and exporting workspace settings. In
> order to applz changes after importing I have to restart Eclipse.
>
> I actually wanted to use the dialog which appear after updating or
> installing software.
>
> UpdateUI.requestRestart(true);
>
> Unfortunatly I get a discouraged access warning. And in eclipse 3.4 it
> doesn't work at all,
>
> So does anybody know how to access this functionality?
>
> cheers
> Fabian Schmidt
Okay,
I finally solved my Problem with rewriting the requestRestart method
from this class...
cheers
|
|
|
Powered by
FUDForum. Page generated in 0.05619 seconds