svn commit: r13224 - trunk/src_new/org/argouml/application/helpers/ResourceLoaderWrapper.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2007-08-03 13:03:25-0700
New Revision: 13224

Modified:
   trunk/src_new/org/argouml/application/helpers/ResourceLoaderWrapper.java

Log:
Fix for issue 4822: Need to to expose more ResourceLoader methods in ResourceLoaderWrapper.

Modified: trunk/src_new/org/argouml/application/helpers/ResourceLoaderWrapper.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/application/helpers/ResourceLoaderWrapper.java?view=diff&rev=13224&p1=trunk/src_new/org/argouml/application/helpers/ResourceLoaderWrapper.java&p2=trunk/src_new/org/argouml/application/helpers/ResourceLoaderWrapper.java&r1=13223&r2=13224
==============================================================================
--- trunk/src_new/org/argouml/application/helpers/ResourceLoaderWrapper.java	(original)
+++ trunk/src_new/org/argouml/application/helpers/ResourceLoaderWrapper.java	2007-08-03 13:03:25-0700
@@ -178,6 +178,16 @@
     }
 
     /**
+     * This public operation is needed 
+     * to allow modules to add their own images.
+     * 
+     * @param location the path were the images are
+     */
+    public static void addResourceLocation(String location) {
+        ResourceLoader.addResourceLocation(location);
+    }
+
+    /**
      * Find the correct icon for a key.
      *
      * @param resource The name of the resource to look up.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.