Mercurial > projects > dwt-samples
diff jface/snippets/Snippet043NoColumnTreeViewerKeyboardEditing.d @ 143:42c3056512ba
redirect the jface examples to the new collection wrappers
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 07 Aug 2008 22:21:50 +0200 |
parents | 2b4e94cafb85 |
children |
line wrap: on
line diff
--- a/jface/snippets/Snippet043NoColumnTreeViewerKeyboardEditing.d Thu Aug 07 17:23:25 2008 +0200 +++ b/jface/snippets/Snippet043NoColumnTreeViewerKeyboardEditing.d Thu Aug 07 22:21:50 2008 +0200 @@ -8,7 +8,7 @@ * Contributors: * Tom Schindl - initial API and implementation * Port to the D programming language: - * yidabu at gmail dot com ( D China http://www.d-programming-language-china.org/ ) + * yidabu at gmail dot com ( D China http://www.d-programming-language-china.org/ ) *******************************************************************************/ module dwtx.jface.snippets.Snippet043NoColumnTreeViewerKeyboardEditing; @@ -41,6 +41,8 @@ import tango.util.Convert; import tango.util.container.LinkedList; +version(JIVE) import jive.stacktrace; + void main(String[] args) { Display display = new Display(); @@ -56,12 +58,12 @@ display.dispose(); } - + /** * Demonstrates how to use keyboard-editing support in a TreeViewer with no column - * + * * @author Tom Schindl <tom.schindl@bestsolution.at> - * + * */ public class Snippet043NoColumnTreeViewerKeyboardEditing { alias LinkedList!(MyModel) ArrayList; @@ -76,7 +78,7 @@ { this.v = v_; } - + public void widgetDefaultSelected(SelectionEvent e) { }