public List<SWTBotTreeItem> run() {
TreeItem[] items = widget.getItems();
List<SWTBotTreeItem> results = new ArrayList<SWTBotTreeItem>();
for (TreeItem treeItem : items) {
if (treeItem.getText().equals(nodeText))
results.add(new SWTBotTreeItem(treeItem, new TextDescription("Tree node with text: " + nodeText)));
}
return results;
}
});
if (foundItems.isEmpty())