From: David ‘Bombe’ Roden Date: Sun, 18 Mar 2012 01:14:04 +0000 (+0100) Subject: Forward the insert priority to the project inserter. X-Git-Tag: 0.10-rc1~3 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=79931b3dcd2fa355953d01f26eb027bded6b2ad3;p=jSite.git Forward the insert priority to the project inserter. --- diff --git a/src/de/todesbaum/jsite/gui/ProjectInsertPage.java b/src/de/todesbaum/jsite/gui/ProjectInsertPage.java index d9ee6c0..c1a5f46 100644 --- a/src/de/todesbaum/jsite/gui/ProjectInsertPage.java +++ b/src/de/todesbaum/jsite/gui/ProjectInsertPage.java @@ -54,6 +54,7 @@ import de.todesbaum.jsite.application.Project; import de.todesbaum.jsite.application.ProjectInserter; import de.todesbaum.jsite.i18n.I18n; import de.todesbaum.jsite.i18n.I18nContainer; +import de.todesbaum.util.freenet.fcp2.PriorityClass; import de.todesbaum.util.io.StreamCopier.ProgressListener; import de.todesbaum.util.swing.TWizard; import de.todesbaum.util.swing.TWizardPage; @@ -323,6 +324,16 @@ public class ProjectInsertPage extends TWizardPage implements InsertListener, Cl projectInserter.setUseEarlyEncode(useEarlyEncode); } + /** + * Sets the insert priority. + * + * @param priority + * The insert priority + */ + public void setPriority(PriorityClass priority) { + projectInserter.setPriority(priority); + } + // // INTERFACE InsertListener //