Index: loaders/api/apichanges.xml =================================================================== RCS file: /cvs/openide/loaders/api/apichanges.xml,v retrieving revision 1.11 diff -u -r1.11 apichanges.xml --- loaders/api/apichanges.xml 23 Nov 2004 09:22:46 -0000 1.11 +++ loaders/api/apichanges.xml 25 Jan 2005 06:46:21 -0000 @@ -78,6 +78,22 @@ + Added DataLoaderPool.getDefault() + + + + + +

+ DataLoaderPool now has a new method getDefault() + to allow simple access to the default system loader pool. +

+
+ + +
+ + Actions for DataLoader can be specified in a layer Index: loaders/src/org/openide/loaders/DataLoaderPool.java =================================================================== RCS file: /cvs/openide/loaders/src/org/openide/loaders/DataLoaderPool.java,v retrieving revision 1.16 diff -u -r1.16 DataLoaderPool.java --- loaders/src/org/openide/loaders/DataLoaderPool.java 23 Nov 2004 09:22:47 -0000 1.16 +++ loaders/src/org/openide/loaders/DataLoaderPool.java 25 Jan 2005 06:46:21 -0000 @@ -57,7 +57,15 @@ private static MultiFileLoader[] defaultLoaders; private static DataLoaderPool DEFAULT; - static synchronized DataLoaderPool getDefault() { + + /** Getter for the default pool of loaders used in the system. + * By default it looks it up using Lookup, if not found it provides + * default one that does lookup individual loaders using Lookup. + * + * @return instance of system DataLoaderPool + * @since 5.1 + */ + public static synchronized DataLoaderPool getDefault() { if (DEFAULT == null) { DEFAULT = (DataLoaderPool)Lookup.getDefault().lookup(DataLoaderPool.class); if (DEFAULT == null) {