Index: trunk/src/org/openstreetmap/josm/actions/ZoomToAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/ZoomToAction.java	(revision 12365)
+++ trunk/src/org/openstreetmap/josm/actions/ZoomToAction.java	(revision 12366)
@@ -25,4 +25,7 @@
 import org.openstreetmap.josm.tools.CheckParameterUtil;
 
+/**
+ * An action that zooms to the selected OSM primitive in a table of primitives
+ */
 public class ZoomToAction extends AbstractAction implements LayerChangeListener, ActiveLayerChangeListener, ListSelectionListener {
 
@@ -33,4 +36,11 @@
     private final String descriptionNoSelection;
 
+    /**
+     * Creates a new, generic zoom to action
+     * @param table The table to get the selected element from
+     * @param descriptionNominal The description to display if zooming is possible
+     * @param descriptionInactiveLayer The description to display if zooming is impossible because the layer is not active
+     * @param descriptionNoSelection The description to display if zooming is impossible because the table selection is empty
+     */
     public ZoomToAction(OsmPrimitivesTable table, String descriptionNominal, String descriptionInactiveLayer, String descriptionNoSelection) {
         CheckParameterUtil.ensureParameterNotNull(table);
@@ -44,4 +54,8 @@
     }
 
+    /**
+     * Creates a new zoom to action for a {@link MemberTable} using the matching description strings
+     * @param table The table to get the selected element from
+     */
     public ZoomToAction(MemberTable table) {
         this(table,
@@ -51,4 +65,8 @@
     }
 
+    /**
+     * Creates a new zoom to action for a {@link RelationMemberTable} using the matching description strings
+     * @param table The table to get the selected element from
+     */
     public ZoomToAction(RelationMemberTable table) {
         this(table,
@@ -58,4 +76,8 @@
     }
 
+    /**
+     * Creates a new zoom to action for a {@link NodeListTable} using the matching description strings
+     * @param table The table to get the selected element from
+     */
     public ZoomToAction(NodeListTable table) {
         this(table,
