Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Abbort close operation on MPart(How to prevent close, when something goes wrong)
Abbort close operation on MPart [message #925984] Fri, 28 September 2012 07:39 Go to next message
Oliver Manz is currently offline Oliver ManzFriend
Messages: 1
Registered: September 2012
Junior Member
This is probably a simple answer...or so I hope!

I have a closeable MPart with a @Persist-Method in the contributing class. When the user hits the x on the Part and confirms the part should be saved the persit-method is called. Now i want to prevent the part from closing if something goes wrong during the save-procedure (or - as an alternative - something in the @PreDestroy-method).

Thank you very much,

Re: Abbort close operation on MPart [message #926016 is a reply to message #925984] Fri, 28 September 2012 08:22 Go to previous message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 482
Registered: December 2010
Location: Germany
Senior Member
Not a direct answer, but related to your case:
Previous Topic:MMenuElement.setVisible not working?
Next Topic:Dynamic menu contributions
Goto Forum:

Current Time: Fri Apr 16 15:39:49 GMT 2021

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

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

Back to the top