Author: batosai
Date: 2008-10-04 18:33:32 +0000 (Sat, 04 Oct 2008)
New Revision: 22938
Modified:
trunk/plugins/WoT/ui/web/HomePage.java
trunk/plugins/WoT/ui/web/KnownIdentitiesPage.java
trunk/plugins/WoT/ui/web/OwnIdentitiesPage.java
trunk/plugins/WoT/ui/web/WebPageImpl.java
Log:
Javadoc
Modified: trunk/plugins/WoT/ui/web/HomePage.java
===================================================================
--- trunk/plugins/WoT/ui/web/HomePage.java 2008-10-03 23:08:56 UTC (rev
22937)
+++ trunk/plugins/WoT/ui/web/HomePage.java 2008-10-04 18:33:32 UTC (rev
22938)
@@ -17,6 +17,8 @@
import freenet.support.api.HTTPRequest;
/**
+ * The HomePage of the plugin.
+ *
* @author Julien Cornuwel (batosai at freenetproject.org)
*/
Modified: trunk/plugins/WoT/ui/web/KnownIdentitiesPage.java
===================================================================
--- trunk/plugins/WoT/ui/web/KnownIdentitiesPage.java 2008-10-03 23:08:56 UTC
(rev 22937)
+++ trunk/plugins/WoT/ui/web/KnownIdentitiesPage.java 2008-10-04 18:33:32 UTC
(rev 22938)
@@ -23,6 +23,8 @@
import freenet.support.api.HTTPRequest;
/**
+ * The page where users can manage others identities.
+ *
* @author Julien Cornuwel (batosai at freenetproject.org)
*/
public class KnownIdentitiesPage extends WebPageImpl {
@@ -48,7 +50,7 @@
}
/**
- * Makes a form used to add an Identity the user knows the requestURI.
+ * Makes a form where the user can enter the requestURI of an Identity
he knows.
*
* @param pr a reference to the {@link PluginRespirator}
*/
Modified: trunk/plugins/WoT/ui/web/OwnIdentitiesPage.java
===================================================================
--- trunk/plugins/WoT/ui/web/OwnIdentitiesPage.java 2008-10-03 23:08:56 UTC
(rev 22937)
+++ trunk/plugins/WoT/ui/web/OwnIdentitiesPage.java 2008-10-04 18:33:32 UTC
(rev 22938)
@@ -17,6 +17,8 @@
import freenet.support.api.HTTPRequest;
/**
+ * The page where users can manage their own identities.
+ *
* @author Julien Cornuwel (batosai at freenetproject.org)
*/
public class OwnIdentitiesPage extends WebPageImpl {
Modified: trunk/plugins/WoT/ui/web/WebPageImpl.java
===================================================================
--- trunk/plugins/WoT/ui/web/WebPageImpl.java 2008-10-03 23:08:56 UTC (rev
22937)
+++ trunk/plugins/WoT/ui/web/WebPageImpl.java 2008-10-04 18:33:32 UTC (rev
22938)
@@ -15,17 +15,26 @@
import freenet.support.api.HTTPRequest;
/**
+ * Basic implementation of the WebPage interface.<p>
+ * It contains common features for every WebPages.
+ *
* @author Julien Cornuwel (batosai at freenetproject.org)
*/
public abstract class WebPageImpl implements WebPage {
+ /** The URI the plugin can be accessed from. */
protected static String SELF_URI = "/plugins/plugins.WoT.WoT";
+ /** The node's pagemaker */
protected PageMaker pm;
+ /** HTMLNode representing the web page */
protected HTMLNode pageNode;
+ /** A reference to the WoT */
protected WoT wot;
+ /** The request performed by the user */
protected HTTPRequest request;
-
+ /** The error box displayed at the top of the page */
protected HTMLNode errorBox;
+ /** List of all content boxes */
protected ArrayList<HTMLNode> contentBoxes;
/**