Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] swt implementation/test questions

1. See org.eclipse.swt.tests - these are JUnit tests.  We also test using
the ControlExample found in org.eclipse.swt.examples and by running Eclispe
and testing the behaviour.

2. All system resources must be released and the widget must be marked as
disposed so that any further attempts to use it will result in a "widget is
disposed" error.  Note that when destroying items in a table or tree, it is
important that in the Dispose event callback, nothing (not the widget nor
its items) has actually been disposed until after the notification has been
sent.  The application may query information etc in the dispose callback
and this must be supported.



Back to the top