Package org.eclipse.egit.core.op

Examples of org.eclipse.egit.core.op.DeleteTagOperation


      protected IStatus run(IProgressMonitor monitor) {
        monitor.beginTask(UIText.DeleteTagCommand_taskName, tags.size());
        for (TagNode tag : tags) {
          final Repository repo = tag.getRepository();
          final String tagName = tag.getObject().getName();
          final DeleteTagOperation op = new DeleteTagOperation(repo,
              tagName);
          monitor.subTask(tagName);
          try {
            op.execute(monitor);
          } catch (CoreException e) {
            Activator.logError(e.getLocalizedMessage(), e);
          }
          monitor.worked(1);
        }
View Full Code Here


    return tagsOfCommit;
  }

  private void deleteTag(Repository repository, String tagName)
      throws CoreException {
    DeleteTagOperation operation = new DeleteTagOperation(repository,
        tagName);
    operation.execute(null);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.egit.core.op.DeleteTagOperation

Copyright © 2018 www.massapicom. 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.