X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fde%2Ftodesbaum%2Fjsite%2Fgui%2FProjectPage.java;h=0c508b5aaf1d2d157456ee81ae76f65147898198;hb=13ee20b0f68342033763c515745310a196d9f65c;hp=a072423d79cedf839a9cee609eefc95b948cf28c;hpb=9e6e70c28963fde2a6c8b120974f8a70d4da25bc;p=jSite.git diff --git a/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java b/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java index a072423..0c508b5 100644 --- a/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java +++ b/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java @@ -59,8 +59,8 @@ import javax.swing.text.DocumentFilter; import net.pterodactylus.util.swing.SortedListModel; import de.todesbaum.jsite.application.Freenet7Interface; -import de.todesbaum.jsite.application.KeyDialog; 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; @@ -77,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; @@ -464,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