From: David ‘Bombe’ Roden Date: Sun, 25 May 2008 15:33:49 +0000 (+0200) Subject: add file manager X-Git-Url: https://git.pterodactylus.net/?p=jSite2.git;a=commitdiff_plain;h=cd43d3ba5e8a5c70f7a8b87384f64446e98a3e51 add file manager --- 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. */ + } + +}