use of org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarToggleButton in project egit by eclipse.
the class HistoryViewTest method toggleShowAllBranchesButton.
private void toggleShowAllBranchesButton(boolean checked) throws Exception {
getHistoryViewTable(PROJ1);
SWTBotView view = bot.viewById(IHistoryView.VIEW_ID);
SWTBotToolbarToggleButton showAllBranches = (SWTBotToolbarToggleButton) view.toolbarButton(UIText.GitHistoryPage_showAllBranches);
boolean isChecked = showAllBranches.isChecked();
if (isChecked && !checked || !isChecked && checked)
showAllBranches.click();
}
use of org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarToggleButton in project egit by eclipse.
the class CommitDialogTester method setSignedOff.
public void setSignedOff(boolean signedOff) {
SWTBotToolbarToggleButton button = commitDialog.bot().toolbarToggleButtonWithTooltip(UIText.CommitDialog_AddSOB);
selectToolbarToggle(button, signedOff);
}
use of org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarToggleButton in project egit by eclipse.
the class CommitDialogTester method setInsertChangeId.
public void setInsertChangeId(boolean insertChangeId) {
SWTBotToolbarToggleButton button = commitDialog.bot().toolbarToggleButtonWithTooltip(UIText.CommitDialog_AddChangeIdLabel);
selectToolbarToggle(button, insertChangeId);
}
use of org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarToggleButton in project egit by eclipse.
the class StagingViewTester method setSignedOff.
public void setSignedOff(boolean signedOff) {
SWTBotToolbarToggleButton button = stagingView.bot().toolbarToggleButtonWithTooltip(UIText.StagingView_Add_Signed_Off_By);
selectToolbarToggle(button, signedOff);
}
use of org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarToggleButton in project egit by eclipse.
the class StagingViewTester method setInsertChangeId.
public void setInsertChangeId(boolean insertChangeId) {
SWTBotToolbarToggleButton button = stagingView.bot().toolbarToggleButtonWithTooltip(UIText.StagingView_Add_Change_ID);
selectToolbarToggle(button, insertChangeId);
}
Aggregations