use of org.eclipse.swtbot.swt.finder.utils.TableRow in project eclipse-integration-commons by spring-projects.
the class SWTBotUtils method getSelection.
public static String getSelection(SWTBotTree tree) {
TableCollection selections = tree.selection();
String selection = "";
for (int r = 0; r < selections.rowCount(); r++) {
if (r > 0)
selection += "\n";
TableRow row = selections.get(r);
for (int c = 0; c < row.columnCount(); c++) {
if (c > 0)
selection += " >> ";
selection += row.get(c);
}
}
return selection;
}
Aggregations