Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Programmaticly force save of all "dirty" editors
Programmaticly force save of all "dirty" editors [message #293023] Sat, 15 October 2005 09:18 Go to next message
Eclipse UserFriend
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 #293033 is a reply to message #293023] Sun, 16 October 2005 02:45 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
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);
Re: Programmaticly force save of all "dirty" editors [message #293037 is a reply to message #293033] Sun, 16 October 2005 12:03 Go to previous message
Eclipse UserFriend
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);
Previous Topic:How to close editor when Eclipse terminates?
Next Topic:Setting selection in JFace ComboViewer
Goto Forum:
  


Current Time: Mon Jun 10 04:24:10 GMT 2024

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

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

Back to the top