Package org.eclipse.egit.ui.internal.branch

Examples of org.eclipse.egit.ui.internal.branch.BranchOperationUI.start()


    RevCommit commit = getSelectedCommit(event, repo);
    if (commit != null) {
      final BranchOperationUI op = BranchOperationUI.checkout(repo,
          commit.name());
      if (op != null)
        op.start();
    }
    return null;
  }
}
View Full Code Here


    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) {
View Full Code Here

    }

    if (op == null)
      return null;

    op.start();
    return null;
  }

  @Override
  public boolean isEnabled() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.