Re: [Xswt-developer] FormToolkit support
Brought to you by:
dvorme
|
From: David J. O. <dj...@co...> - 2006-10-17 19:14:50
|
Thank you Markus! Regards, Dave Orme ----- Original Message ----- From: Markus Wolf <ma...@em...> To: xsw...@li... Sent: Monday, October 16, 2006 4:30:22 PM GMT-0600 Subject: Re: [Xswt-developer] FormToolkit support -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've attached a slightly modified variant of the FormToolkitLayoutBuilder which enabled support to reuse the FormToolkit. There are two options: 1. Get the toolkit from the LayoutBuilder and use it. Then one should not dispose the toolkit, just as the SWT policy recommend to only dispose what you've created by yourself. 2. Set a tookit with the constructor and let the LayoutBuilder use your precreated one. Then one should dispose the toolkit. With this simple extensions it is relative easy to implement a FormEditor using the org.eclipse.ui.forms classes and a ManagedForm. Feel free to contribute this to the codebase. Markus Wolf - -- > > emedia-solutions wolf > Wedeler Landstrasse 63 > 22559 Hamburg > (040) 550 083 70 > >> web: http://www.emedia-solutions-wolf.de >> mail: ma...@em... >> pgp: http://wwwkeys.de.pgp.net > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFM/nueyJE91ndMG4RAnpfAJ9lVdv2ftQs8xM+1zedyKED24Cp0wCcDBxA inV1B3DsLrW/HtQmysVtWnk= =stzx -----END PGP SIGNATURE----- |