Git Repositories View: Refactoring first part
[egit.git] / org.eclipse.egit.ui / src / org / eclipse / egit / ui / internal / repository / tree / FolderNode.java
blob83f6617751a1d83d35b1224d1f8c736192fac9e6
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 java.io.File;
15 import org.eclipse.jgit.lib.Repository;
17 /**
18 * Represents a directory in the working directory tree
20 public class FolderNode extends RepositoryTreeNode<File> {
22 /**
23 * Constructs the node.
25 * @param parent
26 * the parent node (may be null)
27 * @param repository
28 * the {@link Repository}
29 * @param directory
30 * the directory
32 public FolderNode(RepositoryTreeNode parent, Repository repository,
33 File directory) {
34 super(parent, RepositoryTreeNodeType.FOLDER, repository, directory);