Index: trunk/src/org/openstreetmap/josm/Main.java
===================================================================
--- trunk/src/org/openstreetmap/josm/Main.java	(revision 11903)
+++ trunk/src/org/openstreetmap/josm/Main.java	(revision 11904)
@@ -1302,17 +1302,15 @@
 
     /**
-     * Registers a new {@code MapFrameListener} that will be notified of MapFrame changes
+     * Registers a new {@code MapFrameListener} that will be notified of MapFrame changes.
+     * <p>
+     * It will fire an initial mapFrameInitialized event when the MapFrame is present.
+     * Otherwise will only fire when the MapFrame is created or destroyed.
      * @param listener The MapFrameListener
-     * @param fireWhenMapViewPresent If true, will fire an initial mapFrameInitialized event
-     * when the MapFrame is present. Otherwise will only fire when the MapFrame is created
-     * or destroyed.
      * @return {@code true} if the listeners collection changed as a result of the call
-     */
-    public static boolean addMapFrameListener(MapFrameListener listener, boolean fireWhenMapViewPresent) {
-        if (fireWhenMapViewPresent) {
-            return mainPanel.addAndFireMapFrameListener(listener);
-        } else {
-            return mainPanel.addMapFrameListener(listener);
-        }
+     * @see #addMapFrameListener
+     * @since 11904
+     */
+    public static boolean addAndFireMapFrameListener(MapFrameListener listener) {
+        return mainPanel.addAndFireMapFrameListener(listener);
     }
 
@@ -1321,4 +1319,5 @@
      * @param listener The MapFrameListener
      * @return {@code true} if the listeners collection changed as a result of the call
+     * @see #addAndFireMapFrameListener
      * @since 5957
      */
Index: trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
===================================================================
--- trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java	(revision 11903)
+++ trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java	(revision 11904)
@@ -281,4 +281,8 @@
     }
 
+    /**
+     * Returns all ClassLoaders whose resource should be searched.
+     * @return all ClassLoaders whose resource should be searched
+     */
     public static Collection<ClassLoader> getResourceClassLoaders() {
         return Collections.unmodifiableCollection(sources);
@@ -716,5 +720,5 @@
                 PluginProxy pluginProxy = plugin.load(klass);
                 pluginList.add(pluginProxy);
-                Main.addMapFrameListener(pluginProxy, true);
+                Main.addAndFireMapFrameListener(pluginProxy);
             }
             msg = null;
