From cd43d3ba5e8a5c70f7a8b87384f64446e98a3e51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 25 May 2008 17:33:49 +0200 Subject: [PATCH] add file manager --- src/net/pterodactylus/jsite/gui/FileManager.java | 58 ++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/net/pterodactylus/jsite/gui/FileManager.java diff --git a/src/net/pterodactylus/jsite/gui/FileManager.java b/src/net/pterodactylus/jsite/gui/FileManager.java new file mode 100644 index 0000000..49d4241 --- /dev/null +++ b/src/net/pterodactylus/jsite/gui/FileManager.java @@ -0,0 +1,58 @@ +/* + * jSite2 - FileManager.java - + * Copyright © 2008 David Roden + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +package net.pterodactylus.jsite.gui; + +import javax.swing.JDialog; + +import net.pterodactylus.jsite.project.Project; + +/** + * Manages physical and virtual files in a project. + * + * @author David ‘Bombe’ Roden <bombe@freenetproject.org> + */ +public class FileManager extends JDialog { + + /** The project whose files to manage. */ + private final Project project; + + /** + * Creates a new file manager. + * + * @param project + * The project whose files to manage + */ + public FileManager(Project project) { + this.project = project; + initComponents(); + } + + // + // PRIVATE ACTIONS + // + + /** + * Initializes all components. + */ + private void initComponents() { + /* TODO. */ + } + +} -- 2.7.4