Programmaticly force save of all "dirty" editors [message #293023] |
Sat, 15 October 2005 09:18 |
Eclipse User |
|
|
|
Originally posted by: lars.XohlenX.se
Hi fourm,
I have created a plug-in that is depending on the content of several
editors.
Therefore I would like to have a preference settings that allows the user to
set 'automatic save' before my action cicks in.
I'm pretty sure this is possible, but how?
Would like to support 3.02 and 3.1.1 !
BR
Lars
|
|
|
|
Re: Programmaticly force save of all "dirty" editors [message #293037 is a reply to message #293033] |
Sun, 16 October 2005 12:03 |
Eclipse User |
|
|
|
Originally posted by: lars.XohlenX.se
Thanx!!!!
/Lars
"Haris Peco" <snpe@snpe.co.yu> skrev i meddelandet
news:dis80f$b9k$2@news.eclipse.org...
> Lars wrote:
>
>> Hi fourm,
>>
>> I have created a plug-in that is depending on the content of several
>> editors.
>>
>> Therefore I would like to have a preference settings that allows the user
>> to set 'automatic save' before my action cicks in.
>>
>> I'm pretty sure this is possible, but how?
>>
>> Would like to support 3.02 and 3.1.1 !
>>
>> BR
>>
>> Lars
> PlatformUI.getWorkbench().saveAllEditors(false);
|
|
|
Powered by
FUDForum. Page generated in 0.03514 seconds