Skip to main content



      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 03:39 Go to next message
Eclipse UserFriend
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,
Oliver

Re: Abbort close operation on MPart [message #926016 is a reply to message #925984] Fri, 28 September 2012 04:22 Go to previous message
Eclipse UserFriend
Not a direct answer, but related to your case: http://www.eclipse.org/forums/index.php/t/383895/
Previous Topic:MMenuElement.setVisible not working?
Next Topic:Dynamic menu contributions
Goto Forum:
  


Current Time: Wed Jul 23 12:17:40 EDT 2025

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

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

Back to the top