// add push spec
shell = bot.shell(UIText.RefSpecDialog_WindowTitle);
shell.bot().textWithLabel(UIText.RefSpecDialog_SourceBranchPushLabel)
.setText("HEAD");
shell.bot().textWithLabel(UIText.RefSpecDialog_DestinationPushLabel)
.setText("refs/for/master");
final Text text2 = shell.bot().textWithLabel(
UIText.RefSpecDialog_DestinationPushLabel).widget;
shell.display.syncExec(new Runnable() {