final List<RefNode> nodes = getSelectedNodes(event);
if (nodes.size() == 1) {
RefNode node = nodes.get(0);
String branchName = Repository.shortenRefName(node.getObject()
.getName());
BranchConfigurationDialog dlg = new BranchConfigurationDialog(
getShell(event), branchName, node.getRepository());
dlg.open();
}
return null;
}