use of org.eclipse.egit.ui.internal.dialogs.BranchConfigurationDialog in project egit by eclipse.
the class ConfigureBranchCommand method execute.
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
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;
}
Aggregations