Git Repositories View: Refactoring first part
[egit.git] / org.eclipse.egit.ui / src / org / eclipse / egit / ui / internal / repository / tree / PushNode.java
blobfcfa9383e930d594427d334a2aed010dd297957f
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 "Push" node
18 public class PushNode 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 pushUri
28 * the push URI (or another suitable representation of the push)
30 public PushNode(RepositoryTreeNode parent, Repository repository,
31 String pushUri) {
32 super(parent, RepositoryTreeNodeType.PUSH, repository, pushUri);