Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to disable the close button on a EditorPart ?
How to disable the close button on a EditorPart ? [message #506148] Wed, 06 January 2010 06:06 Go to next message
Bruno Maya is currently offline Bruno MayaFriend
Messages: 11
Registered: July 2009
Junior Member
Hi,
Is it possible to make disable or remove the close button on an EditorPart ?
Many thanks, Bruno
Re: How to disable the close button on a EditorPart ? [message #506544 is a reply to message #506148] Thu, 07 January 2010 17:14 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi Bruno,

No, not to my knowledge. However, a view can do that. Look at the
perspectiveextension extension point for details. If you want save/dirty
behaviour: a view can do that too. Just let it implement ISaveablePart..

--

Best Regards,
Wim Jongman
http://twitter.com/wimjongman

-- Computers make very fast, very accurate mistakes.
(Eclipse Old Skool Quote Service)

> Hi,
> Is it possible to make disable or remove the close button on an EditorPart
?
> Many thanks, Bruno
Re: How to disable the close button on a EditorPart ? [message #506640 is a reply to message #506148] Fri, 08 January 2010 12:59 Go to previous message
Christian is currently offline ChristianFriend
Messages: 72
Registered: July 2009
Member
Am 06.01.2010 11:36, schrieb Bruno MAYA:
> Hi,
> Is it possible to make disable or remove the close button on an EditorPart ?
> Many thanks, Bruno
>
>

Implement your own Presentation. then you can remove anything that lets
a user close parts.



Christian
Previous Topic:How to do some actions when the rcp exit
Next Topic:Complex preference page tutorial
Goto Forum:
  


Current Time: Thu Apr 18 14:50:24 GMT 2024

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

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

Back to the top