.viewById("org.eclipse.team.ui.GenericHistoryView");
SWTBotToolbarToggleButton showAllBranches = (SWTBotToolbarToggleButton) view
.toolbarButton(UIText.GitHistoryPage_showAllBranches);
boolean isChecked = showAllBranches.isChecked();
if(isChecked && !checked || !isChecked && checked)
showAllBranches.click();
}
private static SWTBotTableItem getTableItemWithId(SWTBotTable table,
ObjectId wantedId) {
for (int i = 0; i < table.rowCount(); i++) {