Index: apichanges.xml =================================================================== RCS file: /cvs/openide/util/apichanges.xml,v retrieving revision 1.17 diff -u -r1.17 apichanges.xml --- apichanges.xml 11 Jul 2006 12:45:34 -0000 1.17 +++ apichanges.xml 4 Oct 2006 11:23:22 -0000 @@ -26,6 +26,33 @@ Actions API + + + Added NbPreferences.forModule(Class cls) and + NbPreferences.root() methods as static factory methods + for getting preference node from NetBeans preference tree. + + + + + +

+ NetBeans preference tree is provided by NetBeans implementation of preferences + which uses userdir as a storage. Both newly added methods return + preferences node from NetBeans preference tree. + Method NbPreferences.root() returns root preference + node. + Method NbPreferences.forModule(Class cls) returns + preference node which + {@link Preferences#absolutePath} depends whether class provided as a parameter + was loaded as a part of any module or not. If so, then absolute path corresponds to slashified + code name base of module. If not, then absolute path corresponds to class's package. +

+
+ + +
+ Added Utilities.icon2Image method to perform conversion from Icon to Image