Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Disable save resource question when closing editor
Disable save resource question when closing editor [message #135015] Fri, 05 June 2009 10:02 Go to next message
Thomas Haskes is currently offline Thomas HaskesFriend
Messages: 147
Registered: July 2009
Senior Member
Hi, i need to disable the save resource question when closing an editor
that has a dirty state because i want to use a custom message box in
that case. At least i need to set the text of that message. Any ideas
where i can hook in?

Thanks,

Tom
Re: Disable save resource question when closing editor [message #135054 is a reply to message #135015] Fri, 05 June 2009 10:56 Go to previous messageGo to next message
Thomas Haskes is currently offline Thomas HaskesFriend
Messages: 147
Registered: July 2009
Senior Member
found it. I just had to override isSaveOnCLoseNeeded(). Thanks anyway

Thomas Haskes schrieb:
> Hi, i need to disable the save resource question when closing an editor
> that has a dirty state because i want to use a custom message box in
> that case. At least i need to set the text of that message. Any ideas
> where i can hook in?
>
> Thanks,
>
> Tom
Re: Disable save resource question when closing editor [message #135303 is a reply to message #135054] Sun, 07 June 2009 07:19 Go to previous message
Hasan Ceylan is currently offline Hasan CeylanFriend
Messages: 198
Registered: July 2009
Senior Member
If you would like to further control the whole save process, I recommend you
have a look into ISaveablePart2 interface...

Hasan Ceylan

Thomas Haskes wrote:

> found it. I just had to override isSaveOnCLoseNeeded(). Thanks anyway
>
> Thomas Haskes schrieb:
>> Hi, i need to disable the save resource question when closing an editor
>> that has a dirty state because i want to use a custom message box in
>> that case. At least i need to set the text of that message. Any ideas
>> where i can hook in?
>>
>> Thanks,
>>
>> Tom
Previous Topic:Possibility to remove H_SCROLL and V_SCROLL from Tables
Next Topic:Questions about TableEditingSupport
Goto Forum:
  


Current Time: Mon Dec 06 21:40:08 GMT 2021

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

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

Back to the top