Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSelecting tree items more easily by using something like XPATH
https://www.eclipse.org/forums/index.php/mv/msg/8394/25779/#msg_25779
name, for example:
root
-book
-title
-book
-title
Its a kind of hierarchical like in a XML document. In order to select a
certain node, or several ones, you need something like XPATH.
A difference between XML and a tree might be that the tree has to be
expanded (I think) in order to access its children items.
Maybe it is not top priority, but what do you think about having XPATH
capabilities for selecting a tree item?
An example could be:
tree.select("/doc/chapter[1]");]]>Hans Schwaebli2009-03-04T09:40:44-00:00