Examples of AdditionalRefsNode


Examples of org.eclipse.egit.ui.internal.repository.tree.AdditionalRefsNode

  public SWTBotTreeItem getSymbolicRefsItem(SWTBotTree tree,
      File repositoryFile) throws Exception {
    Repository repository = lookupRepository(repositoryFile);
    RepositoryNode root = new RepositoryNode(null, repository);
    AdditionalRefsNode symrefsnode = new AdditionalRefsNode(root, repository);
    SWTBotTreeItem rootItem = tree.getTreeItem(
        labelProvider.getStyledText(root).getString()).expand();
    SWTBotTreeItem symrefsitem = rootItem.getNode(labelProvider
        .getText(symrefsnode));
    return symrefsitem;
View Full Code Here

Examples of org.eclipse.egit.ui.internal.repository.tree.AdditionalRefsNode

    this.repo = repository;
    this.settings = settings;
    localBranches = new LocalNode(null, this.repo);
    remoteBranches = new RemoteTrackingNode(null, this.repo);
    tags = new TagsNode(null, this.repo);
    references = new AdditionalRefsNode(null, this.repo);
    this.refToMark = refToMark;
    setHelpAvailable(false);
  }
View Full Code Here

Examples of org.eclipse.egit.ui.internal.repository.tree.AdditionalRefsNode

    case REPO: {

      List<RepositoryTreeNode<? extends Object>> nodeList = new ArrayList<RepositoryTreeNode<? extends Object>>();
      nodeList.add(new BranchesNode(node, repo));
      nodeList.add(new TagsNode(node, repo));
      nodeList.add(new AdditionalRefsNode(node, repo));
      final boolean bare = repo.isBare();
      if (!bare)
        nodeList.add(new WorkingDirNode(node, repo));
      nodeList.add(new RemotesNode(node, repo));
      if(!bare && hasStashedCommits(repo))
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.