Index: trunk/src/org/openstreetmap/josm/Main.java
===================================================================
--- trunk/src/org/openstreetmap/josm/Main.java	(revision 11351)
+++ trunk/src/org/openstreetmap/josm/Main.java	(revision 11352)
@@ -465,11 +465,27 @@
     private static volatile InitStatusListener initListener;
 
+    /**
+     * Initialization task listener.
+     */
     public interface InitStatusListener {
 
+        /**
+         * Called when an initialization task updates its status.
+         * @param event task name
+         * @return new status
+         */
         Object updateStatus(String event);
 
+        /**
+         * Called when an initialization task completes.
+         * @param status final status
+         */
         void finish(Object status);
     }
 
+    /**
+     * Sets initialization task listener.
+     * @param listener initialization task listener
+     */
     public static void setInitStatusListener(InitStatusListener listener) {
         CheckParameterUtil.ensureParameterNotNull(listener);
@@ -654,8 +670,17 @@
     }
 
+    /**
+     * Registers a {@code JosmAction} and its shortcut.
+     * @param action action defining its own shortcut
+     */
     public static void registerActionShortcut(JosmAction action) {
         registerActionShortcut(action, action.getShortcut());
     }
 
+    /**
+     * Registers an action and its shortcut.
+     * @param action action to register
+     * @param shortcut shortcut to associate to {@code action}
+     */
     public static void registerActionShortcut(Action action, Shortcut shortcut) {
         KeyStroke keyStroke = shortcut.getKeyStroke();
@@ -673,12 +698,25 @@
     }
 
+    /**
+     * Unregisters a shortcut.
+     * @param shortcut shortcut to unregister
+     */
     public static void unregisterShortcut(Shortcut shortcut) {
         contentPanePrivate.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).remove(shortcut.getKeyStroke());
     }
 
+    /**
+     * Unregisters a {@code JosmAction} and its shortcut.
+     * @param action action to unregister
+     */
     public static void unregisterActionShortcut(JosmAction action) {
         unregisterActionShortcut(action, action.getShortcut());
     }
 
+    /**
+     * Unregisters an action and its shortcut.
+     * @param action action to unregister
+     * @param shortcut shortcut to unregister
+     */
     public static void unregisterActionShortcut(Action action, Shortcut shortcut) {
         unregisterShortcut(shortcut);
