Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Disable close (x) in an Editor
Disable close (x) in an Editor [message #543400] Tue, 29 June 2010 10:15 Go to next message
YogicLogic is currently offline YogicLogicFriend
Messages: 1
Registered: July 2009
Junior Member
I am trying to disable the close (x) button on an editor. It is pretty simple to do this for a view, but am not able to find a way to disable close for an editor.

Please let me know.
Re: Disable close (x) in an Editor [message #543433 is a reply to message #543400] Tue, 29 June 2010 12:34 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 29.06.2010 12:15, YogicLogic wrote:
> I am trying to disable the close (x) button on an editor. It is pretty
> simple to do this for a view, but am not able to find a way to disable
> close for an editor.

Consider to implement ISaveablePart2:

http://e-rcp.blogspot.com/2007/09/prevent-that-rcp-editor-is -closed.html

HTH & Greetings from Bremen,

Daniel Krügler
Re: Disable close (x) in an Editor [message #543469 is a reply to message #543400] Tue, 29 June 2010 14:16 Go to previous message
tranquility Missing name is currently offline tranquility Missing nameFriend
Messages: 2
Registered: March 2010
Junior Member
Am 29.06.2010 12:15, schrieb YogicLogic:
> I am trying to disable the close (x) button on an editor. It is pretty
> simple to do this for a view, but am not able to find a way to disable
> close for an editor.
>
> Please let me know.

Hide the [x]-Button with you own PresentationFactory

http://www.eclipsezone.com/eclipse/forums/t31664.html



Greetings
Previous Topic:[databinding] Example for remove/add Viewer entries
Next Topic:How to send change-events to interested views
Goto Forum:
  


Current Time: Sat Dec 14 04:14:43 GMT 2024

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

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

Back to the top