Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Neon - FromEditor pages are disposed 2x
Neon - FromEditor pages are disposed 2x [message #1765426] Fri, 09 June 2017 10:51 Go to next message
Matej Gagyi is currently offline Matej GagyiFriend
Messages: 3
Registered: June 2017
Junior Member
FormEditor.dispose() calls MultiPageEditor.dispose(), where all nestedEditors (pages) are disposed. FormEditor.dispose() then disposes each page again.

It causes problems with components, which are not made to be disposed twice. Like the DetialsPart. I had to return true from each page's isEditor() method to silence the exception. Do I miss something, or is this a bug in Form toolkit?
Re: Neon - FromEditor pages are disposed 2x [message #1766007 is a reply to message #1765426] Wed, 14 June 2017 18:14 Go to previous message
Eclipse UserFriend
I'd suggest that components should be made to be robust to multiple calls to dispose(). Which components are having problems?
Previous Topic:internal API use vs. code clone
Next Topic:FXCanvas immediate feedback during drag and drop
Goto Forum:
  


Current Time: Fri Apr 26 20:09:20 GMT 2024

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

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

Back to the top