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 01:06 Go to next message
Bruno Maya is currently offline Bruno Maya
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 12:14 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 418
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 07:59 Go to previous message
Christian is currently offline Christian
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 24 02:02:59 EDT 2014

Powered by FUDForum. Page generated in 0.01595 seconds