Examples of BranchesNode


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

  public SWTBotTreeItem getLocalBranchesItem(SWTBotTree tree, File repo)
      throws Exception {
    Repository repository = lookupRepository(repo);
    RepositoryNode root = new RepositoryNode(null, repository);
    BranchesNode branches = new BranchesNode(root, repository);
    LocalNode localBranches = new LocalNode(branches,
        repository);

    String rootText = labelProvider.getStyledText(root).getString();
    SWTBotTreeItem rootItem = tree.getTreeItem(rootText);
View Full Code Here

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

  public SWTBotTreeItem getRemoteBranchesItem(SWTBotTree tree,
      File repositoryFile) throws Exception {
    Repository repository = lookupRepository(repositoryFile);
    RepositoryNode root = new RepositoryNode(null, repository);
    BranchesNode branches = new BranchesNode(root, repository);
    RemoteTrackingNode remoteBranches = new RemoteTrackingNode(branches,
        repository);

    String rootText = labelProvider.getStyledText(root).getString();
    SWTBotTreeItem rootItem = tree.getTreeItem(rootText);
View Full Code Here

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

    }

    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));
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.