Package org.eclipse.egit.core.op

Examples of org.eclipse.egit.core.op.DeleteBranchOperation.execute()


    super.buttonPressed(buttonId);
  }

  private int deleteBranch(final Set<Ref> ref, boolean force) throws CoreException {
    DeleteBranchOperation dbop = new DeleteBranchOperation(repo, ref, force);
    dbop.execute(null);
    return dbop.getStatus();
  }

  private List<RefNode> extractSelectedRefNodes() {
    List<RefNode> nodes = new ArrayList<RefNode>();
View Full Code Here


  }

  private int deleteBranch(Repository repo, final Ref ref, boolean force)
      throws CoreException {
    DeleteBranchOperation dbop = new DeleteBranchOperation(repo, ref, force);
    dbop.execute(null);
    return dbop.getStatus();
  }

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

  private int deleteBranch(final RefNode node, final Ref ref, boolean force)
      throws CoreException {
    DeleteBranchOperation dbop = new DeleteBranchOperation(node
        .getRepository(), ref, force);
    dbop.execute(null);
    return dbop.getStatus();
  }

}
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.