[Yanel-commits] rev 41068 - public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/menu/impl

michi at wyona.com michi at wyona.com
Tue Jan 20 15:44:39 CET 2009


Author: michi
Date: 2009-01-20 15:44:39 +0100 (Tue, 20 Jan 2009)
New Revision: 41068

Modified:
   public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/menu/impl/RevisionInformationMenuItem.java
Log:
javadoc added

Modified: public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/menu/impl/RevisionInformationMenuItem.java
===================================================================
--- public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/menu/impl/RevisionInformationMenuItem.java	2009-01-20 14:19:49 UTC (rev 41067)
+++ public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/menu/impl/RevisionInformationMenuItem.java	2009-01-20 14:44:39 UTC (rev 41068)
@@ -15,7 +15,11 @@
 import org.wyona.yanel.servlet.menu.TransitionMenuContentImpl;
 
 /**
- * @author gary
+ * Representation of a Revision item for a revision menu. The representation
+ * contains an html <li> containing the revision number, and then an html
+ * representation of the transitions on that revision.
+ * (@see org.wyona.yanel.servlet.menu.RevisionTransitions).
+ * TODO this class really belongs to YanelWebsite, so move it into that realm.
  *
  */
 public class RevisionInformationMenuItem implements RevisionInformationMenuContent {
@@ -25,9 +29,12 @@
     private Resource resource;
     private RevisionInformation revision;
     private String language;
-    
+
     /**
-     *
+     * ctor.
+     * @param resource the resource on which the representation is to be based.
+     * @param revn the revision of the resource on which the representation is to be based.
+     * @param lang the desired language of the menu.
      */
     public RevisionInformationMenuItem(Resource resource, RevisionInformation revn, String lang) {
         this.resource = resource;



More information about the Yanel-commits mailing list