Summary The objective of the article is always to educate you on simple tips to utilize TreeViewers in your Eclipse plug-ins or stand-alone JFace/SWT applications. Weâ€™ll focus on a example that is simple progressively include functionality.
By Chris Grindstaff, Applied Reasoning ( chrisg at appliedReasoning.com) May 5, 2002
The tree audience can be utilized in Eclipse plug-ins or in a stand alone JFace/SWT application. Weâ€™ve chosen to make usage of a plug-in that shows the tree audience functionality.
Hereâ€™s a typical example of just what the plugin provides:
You may notice the occasional as you work through the article . These icons suggest points for which you should launch Eclipse and attempt the instance.
To operate the examples or see the origin with this article, unzip cbg.article.treeviewer.zip to your eclipse_root directory and restart Eclipse. In Windows the eclipse_root directory can look something such as d:\apps\eclipse\. As soon as Eclipse is restarted, find the attitude | Show View | Otherâ€¦ menu choice. Within the â€œOtherâ€ category choose â€œMoving Box.â€
This short article be best as you read it if you are able to run the plugin weâ€™ve provided.
To comprehend just how to make use of the TreeViewer, it is essential to comprehend where in fact the TreeViewer fits into JFace in general, and exactly how JFace fits into Eclipse.
JFace is a UI toolkit that helps resolve common UI development tasks.