# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: D:\projects\nb.reset_settings_new\openide\modules # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: src/org/openide/modules/doc-files/api.html *** D:\projects\nb.reset_settings_new\openide\modules\src\org\openide\modules\doc-files\api.html Base (1.11) --- D:\projects\nb.reset_settings_new\openide\modules\src\org\openide\modules\doc-files\api.html Locally Modified (Based On 1.11) *************** *** 725,730 **** --- 725,745 ---- +

Reverting user's modifications

+ +

When a user makes any changes in the installation layer - usually through + the user interface by changing the default values for some application options + or any other customizations - it may be desirable to revert these changes back + to their defaults as defined in XML layers. There changes are stored in user's + working dir.

+

Since version 7.2 the FileObject supports a new attribute + "removeWritable" returning an instance of + Callable which removes the local writable version of the + given FileObject thus reverting the folder or file to + its initial state as defined in XML layers. Please note that is *not* + possible to reset FileObject's attributes. +

+

Using versioning

Module versioning provides a way for modules to specify Index: apichanges.xml *** D:\projects\nb.reset_settings_new\openide\modules\apichanges.xml Base (1.8) --- D:\projects\nb.reset_settings_new\openide\modules\apichanges.xml Locally Modified (Based On 1.8) *************** *** 24,29 **** --- 24,45 ---- Modules API + + + An option to revert user's modifications to XML layer files + + + + + + FileObjects created on XML layer now support a new + attribute "removeWritables" returning an instance of + Callable which removes the local writable version of the + given FileObject thus reverting the folder or file to + its initial state as defined in XML layers. Please note that is *not* + possible to reset FileObject's attributes. + + Requires/Provides and Needs Index: manifest.mf *** D:\projects\nb.reset_settings_new\openide\modules\manifest.mf Base (1.12) --- D:\projects\nb.reset_settings_new\openide\modules\manifest.mf Locally Modified (Based On 1.12) *************** *** 1,5 **** Manifest-Version: 1.0 OpenIDE-Module: org.openide.modules OpenIDE-Module-Localizing-Bundle: org/openide/modules/Bundle.properties ! OpenIDE-Module-Specification-Version: 7.1 --- 1,5 ---- Manifest-Version: 1.0 OpenIDE-Module: org.openide.modules OpenIDE-Module-Localizing-Bundle: org/openide/modules/Bundle.properties ! OpenIDE-Module-Specification-Version: 7.2