Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » widget is disposed
widget is disposed [message #207715] Tue, 09 March 2004 03:18
Eclipse UserFriend
Originally posted by: tobias.neubert.amb-informatik.de

Hi,

I've written a perpective which shows one view. The view contains simply a
canvas, which is created within createPartControl(Composite parent)

If I close the perspective and open it afterwards, I get the following
error if I try to do something with the canvas.

----------------------
Unhandled exception caught in event loop.
Reason:
Widget is disposed
------------------------

Interestingly the method createPartControl() in which the canvas is
instantiated is called two times.

So please tell me, what is going on here? Where is the write place to
instantiate the canvas? And why is the method called twice?

Kind Regards,
Tobias Neubert
Previous Topic:widget is disposed
Next Topic:3.0M7 startup problems.
Goto Forum:
  


Current Time: Sun May 11 01:13:19 EDT 2025

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

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

Back to the top