Assert.isLegal(row < rowCount, "The row number (" + row + ") is more than the number of rows(" + rowCount + ") in the tree."); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
Assert.isLegal(column < columnCount, "The column number (" + column + ") is more than the number of column(" + columnCount //$NON-NLS-1$ //$NON-NLS-2$
+ ") in the tree."); //$NON-NLS-1$
return syncExec(new StringResult() {
public String run() {
TreeItem item = widget.getItem(row);
return item.getText(column);
}
});