mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Add id to table items so SWTBot tests can find them.
Change-Id: I6f7f878af357b21fa6f07d2d35643f0c6490e97a
This commit is contained in:
parent
db4acb2bb5
commit
3d04ec0c94
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ public class TemplateTable implements Listener {
|
|||
for (Template template : sorted) {
|
||||
TableItem item = new TableItem(table, SWT.NONE);
|
||||
item.setData(template);
|
||||
// Since we have nothing to help SWTBot find items, store the label
|
||||
item.setData("org.eclipse.swtbot.widget.key", template.getLabel()); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue