Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Non-closeable Editor
Non-closeable Editor [message #449447] Mon, 15 May 2006 04:52 Go to next message
Eclipse UserFriend
Hi,

Is there a way to create a non-closeable editor (similar to a
non-closeable view)?

Thanks.
Re: Non-closeable Editor [message #449498 is a reply to message #449447] Mon, 15 May 2006 10:11 Go to previous messageGo to next message
Eclipse UserFriend
Ravi wrote:
> Hi,
>
> Is there a way to create a non-closeable editor (similar to a
> non-closeable view)?

I don't think so.

Later,
PW
Re: Non-closeable Editor [message #449579 is a reply to message #449498] Tue, 16 May 2006 04:59 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Paul.

How can I ensure that the user doesn't close the editor?

Regards,
Ravi

Paul Webster wrote:

> Ravi wrote:
>> Hi,
>>
>> Is there a way to create a non-closeable editor (similar to a
>> non-closeable view)?

> I don't think so.

> Later,
> PW
Re: Non-closeable Editor [message #449583 is a reply to message #449579] Tue, 16 May 2006 07:20 Go to previous message
Eclipse UserFriend
Ravi wrote:
> Thanks Paul.
>
> How can I ensure that the user doesn't close the editor?
>

You cannot. The users are free to close editors. In 3.2, it might be
possible to prevent it using ISaveablePart2 and returning CANCEL from
the promptToSaveOnClose() method ... but you really have to be careful
turning around and telling eclipse that something can't be closed.

Later,
PW
Previous Topic:Disabling popup menu in perspective bar
Next Topic:Statusbar background
Goto Forum:
  


Current Time: Sun Aug 31 08:14:31 EDT 2025

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

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

Back to the top