Forward the temp directory to the project inserter.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 22 Dec 2009 07:15:24 +0000 (08:15 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 22 Dec 2009 07:15:24 +0000 (08:15 +0100)
src/de/todesbaum/jsite/gui/ProjectInsertPage.java

index dc82f53..32fd2f1 100644 (file)
@@ -235,6 +235,18 @@ public class ProjectInsertPage extends TWizardPage implements InsertListener, Cl
                projectInserter.setFreenetInterface(freenetInterface);
        }
 
+       /**
+        * Sets the project inserter’s temp directory.
+        *
+        * @see ProjectInserter#setTempDirectory(String)
+        * @param tempDirectory
+        *            The temp directory to use, or {@code null} to use the system
+        *            default
+        */
+       public void setTempDirectory(String tempDirectory) {
+               projectInserter.setTempDirectory(tempDirectory);
+       }
+
        //
        // INTERFACE InsertListener
        //