widget is disposed [message #207715] |
Tue, 09 March 2004 03:18 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02815 seconds