From 13ee20b0f68342033763c515745310a196d9f65c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 20 Sep 2012 15:12:15 +0200 Subject: [PATCH] Add web of trust interface to project page. --- src/main/java/de/todesbaum/jsite/gui/ProjectPage.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java b/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java index 1802d42..0c508b5 100644 --- a/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java +++ b/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java @@ -60,6 +60,7 @@ import javax.swing.text.DocumentFilter; import net.pterodactylus.util.swing.SortedListModel; import de.todesbaum.jsite.application.Freenet7Interface; import de.todesbaum.jsite.application.Project; +import de.todesbaum.jsite.application.WebOfTrustInterface; import de.todesbaum.jsite.i18n.I18n; import de.todesbaum.jsite.i18n.I18nContainer; import de.todesbaum.util.swing.TLabel; @@ -76,6 +77,9 @@ public class ProjectPage extends TWizardPage implements ListSelectionListener, D /** The freenet interface. */ private Freenet7Interface freenetInterface; + /** The web of trust interface. */ + private WebOfTrustInterface webOfTrustInterface; + /** The “browse” action. */ private Action projectLocalPathBrowseAction; @@ -463,6 +467,16 @@ public class ProjectPage extends TWizardPage implements ListSelectionListener, D } /** + * Sets the web of trust interface to use. + * + * @param webOfTrustInterface + * The web of trust interface to use + */ + public void setWebOfTrustInterface(WebOfTrustInterface webOfTrustInterface) { + this.webOfTrustInterface = webOfTrustInterface; + } + + /** * Returns the currently selected project. * * @return The currently selected project -- 2.7.4