25262728293031323334
RevCommit commit = getSelectedCommit(event, repo); if (commit != null) { final BranchOperationUI op = BranchOperationUI.checkout(repo, commit.name()); if (op != null) op.start(); } return null; } }
3637383940414243444546
final Ref ref = (Ref) node.getObject(); Repository repo = node.getRepository(); BranchOperationUI op = BranchOperationUI.checkout(repo, ref.getName()); op.start(); return null; } public void updateElement(UIElement element, Map parameters) {
5960616263646566676869
} if (op == null) return null; op.start(); return null; } @Override public boolean isEnabled() {