Add web of trust interface to project page.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 20 Sep 2012 13:12:15 +0000 (15:12 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 20 Sep 2012 13:12:15 +0000 (15:12 +0200)
src/main/java/de/todesbaum/jsite/gui/ProjectPage.java

index 1802d42..0c508b5 100644 (file)
@@ -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