Git Repositories View: Refactoring first part
[egit.git] / org.eclipse.egit.ui / src / org / eclipse / egit / ui / internal / repository / tree / RemoteNode.java
blobc3160f6690ad6fad11446fb03d19d4cabe5b73fd
1 /*******************************************************************************
2 * Copyright (c) 2010 SAP AG.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
8 * Contributors:
9 * Mathias Kinzler (SAP AG) - initial implementation
10 *******************************************************************************/
11 package org.eclipse.egit.ui.internal.repository.tree;
13 import org.eclipse.jgit.lib.Repository;
15 /**
16 * Represents the "Remote" node
18 public class RemoteNode extends RepositoryTreeNode<String> {
20 /**
21 * Constructs the node.
23 * @param parent
24 * the parent node (may be null)
25 * @param repository
26 * the {@link Repository}
27 * @param remoteName
28 * the name of the remote specification
30 public RemoteNode(RepositoryTreeNode parent, Repository repository,
31 String remoteName) {
32 super(parent, RepositoryTreeNodeType.REMOTE, repository, remoteName);