? projects/src/org/netbeans/modules/projects/CurrentProjectNode.java cvs server: Diffing . cvs server: Diffing ant Index: ant/build.xml =================================================================== RCS file: /cvs/ant/build.xml,v retrieving revision 1.60 diff -u -r1.60 build.xml --- ant/build.xml 26 Sep 2002 11:38:30 -0000 1.60 +++ ant/build.xml 16 Oct 2002 04:49:52 -0000 @@ -34,9 +34,8 @@ - - - + + Index: ant/manifest.mf =================================================================== RCS file: /cvs/ant/manifest.mf,v retrieving revision 1.46 diff -u -r1.46 manifest.mf --- ant/manifest.mf 2 Aug 2002 18:50:48 -0000 1.46 +++ ant/manifest.mf 16 Oct 2002 04:49:52 -0000 @@ -1,12 +1,13 @@ Manifest-Version: 1.0 OpenIDE-Module: org.apache.tools.ant.module/2 OpenIDE-Module-Localizing-Bundle: org/apache/tools/ant/module/Bundle.properties -OpenIDE-Module-Specification-Version: 2.11 +OpenIDE-Module-Specification-Version: 2.12 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Install: org/apache/tools/ant/module/AntModule.class OpenIDE-Module-Layer: org/apache/tools/ant/module/resources/AntModuleLayer.xml -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.javahelp/1 > 1.0 -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.javahelp/1 > 1.0, org.openide.deprecated > 1.0 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Package-Dependencies: [org.apache.tools.ant.Location], [org.apache.xerces.parsers.DOMParser], [org.apache.xml.serialize.EncodingInfo] Class-Path: ext/ant-1.4.1.jar ext/ant-optional-1.4.1.jar cvs server: Diffing ant/api cvs server: Diffing ant/api/doc cvs server: Diffing ant/api/doc/changes cvs server: Diffing ant/docs cvs server: Diffing ant/docs/javahelp cvs server: Diffing ant/docs/javahelp/org cvs server: Diffing ant/docs/javahelp/org/apache cvs server: Diffing ant/docs/javahelp/org/apache/tools cvs server: Diffing ant/docs/javahelp/org/apache/tools/ant cvs server: Diffing ant/docs/javahelp/org/apache/tools/ant/module cvs server: Diffing ant/docs/javahelp/org/apache/tools/ant/module/docs cvs server: Diffing ant/docs/release cvs server: Diffing ant/docs/release/docs cvs server: Diffing ant/docs/release/system cvs server: Diffing ant/docs/release/system/ParserDB cvs server: Diffing ant/docs/src cvs server: Diffing ant/docs/src/org cvs server: Diffing ant/docs/src/org/apache cvs server: Diffing ant/docs/src/org/apache/tools cvs server: Diffing ant/docs/src/org/apache/tools/ant cvs server: Diffing ant/docs/src/org/apache/tools/ant/module cvs server: Diffing ant/docs/src/org/apache/tools/ant/module/docs cvs server: Diffing ant/external cvs server: Diffing ant/release cvs server: Diffing ant/release/modules cvs server: Diffing ant/release/modules/patches cvs server: Diffing ant/release/modules/patches/org-apache-tools-ant-module cvs server: Diffing ant/src cvs server: Diffing ant/src/META-INF cvs server: Diffing ant/src/META-INF/netbeans cvs server: Diffing ant/src/org cvs server: Diffing ant/src/org/apache cvs server: Diffing ant/src/org/apache/tools cvs server: Diffing ant/src/org/apache/tools/ant cvs server: Diffing ant/src/org/apache/tools/ant/module cvs server: Diffing ant/src/org/apache/tools/ant/module/api cvs server: Diffing ant/src/org/apache/tools/ant/module/loader cvs server: Diffing ant/src/org/apache/tools/ant/module/nodes cvs server: Diffing ant/src/org/apache/tools/ant/module/resources cvs server: Diffing ant/src/org/apache/tools/ant/module/run cvs server: Diffing ant/src/org/apache/tools/ant/module/wizards cvs server: Diffing ant/src/org/apache/tools/ant/module/wizards/properties cvs server: Diffing ant/src/org/apache/tools/ant/module/wizards/shortcut cvs server: Diffing ant/src/org/apache/tools/ant/module/xml cvs server: Diffing ant/test cvs server: Diffing ant/test/qa-functional cvs server: Diffing ant/test/qa-functional/src cvs server: Diffing ant/test/qa-functional/src/org cvs server: Diffing ant/test/qa-functional/src/org/netbeans cvs server: Diffing ant/test/qa-functional/src/org/netbeans/jellytools cvs server: Diffing ant/test/qa-functional/src/org/netbeans/jellytools/modules cvs server: Diffing ant/test/qa-functional/src/org/netbeans/jellytools/modules/ant cvs server: Diffing ant/test/qa-functional/src/org/netbeans/jellytools/modules/ant/nodes cvs server: Diffing ant/test/qa-functional/src/org/netbeans/test cvs server: Diffing ant/test/qa-functional/src/org/netbeans/test/gui cvs server: Diffing ant/test/qa-functional/src/org/netbeans/test/gui/ant cvs server: Diffing ant/test/qa-functional/src/org/netbeans/test/gui/ant/data cvs server: Diffing ant/test/qa-functional/src/org/netbeans/test/gui/ant/data/goldenfiles cvs server: Diffing ant/test/qa-functional/src/org/netbeans/test/gui/ant/data/goldenfiles/TestVisualEdit cvs server: Diffing ant/www cvs server: Diffing ant/www/docs cvs server: Diffing ant/www/plans cvs server: Diffing ant/www/qa cvs server: Diffing ant/www/qa/testspecs cvs server: Diffing ant/www/qa/testspecs/nb34 cvs server: Diffing apisupport Index: apisupport/apisupport-lite.mf =================================================================== RCS file: /cvs/apisupport/apisupport-lite.mf,v retrieving revision 1.15 diff -u -r1.15 apisupport-lite.mf --- apisupport/apisupport-lite.mf 2 Aug 2002 18:50:48 -0000 1.15 +++ apisupport/apisupport-lite.mf 16 Oct 2002 04:49:52 -0000 @@ -3,9 +3,9 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/apisupport/lite/Bundle.properties OpenIDE-Module-Specification-Version: 0.4 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.16 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.jarpackager/2 > 1.7.1, org.netbeans.modules.utilities/1, org.netbeans.core/1 > 1.1 -OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.jarpackager/2 > 1.7.1, org.netbeans.modules.utilities/1, org.netbeans.core/1 > 1.1, org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help, org.openide.TopManager OpenIDE-Module-Layer: org/netbeans/modules/apisupport/lite/resources/layer.xml Class-Path: docs/apisupport-lite.jar Index: apisupport/build.xml =================================================================== RCS file: /cvs/apisupport/build.xml,v retrieving revision 1.62 diff -u -r1.62 build.xml --- apisupport/build.xml 12 Sep 2002 11:02:16 -0000 1.62 +++ apisupport/build.xml 16 Oct 2002 04:49:52 -0000 @@ -30,9 +30,9 @@ - - - + + + Index: apisupport/manifest.mf =================================================================== RCS file: /cvs/apisupport/manifest.mf,v retrieving revision 1.68 diff -u -r1.68 manifest.mf --- apisupport/manifest.mf 29 Sep 2002 14:16:35 -0000 1.68 +++ apisupport/manifest.mf 16 Oct 2002 04:49:52 -0000 @@ -2,10 +2,11 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/apisupport/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/apisupport/APIModule.class OpenIDE-Module-Layer: org/netbeans/modules/apisupport/resources/mf-layer.xml -OpenIDE-Module-Specification-Version: 2.16 +OpenIDE-Module-Specification-Version: 2.17 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.apisupport.lite/1 > 0.1, org.netbeans.modules.jarpackager/2 > 1.8, org.netbeans.modules.javahelp/1 > 1.0, org.netbeans.api.java/1 > 1.1 -OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.7 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.apisupport.lite/1 > 0.1, org.netbeans.modules.jarpackager/2 > 1.8, org.netbeans.modules.javahelp/1 > 1.0, org.netbeans.api.java/1 > 1.1, org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Package-Dependencies: [org.apache.xml.serialize.EncodingInfo] Class-Path: docs/apisupport-manual.zip cvs server: Diffing apisupport/ant cvs server: Diffing apisupport/apidocs cvs server: Diffing apisupport/apidocs/src cvs server: Diffing apisupport/apidocs/src/org cvs server: Diffing apisupport/apidocs/src/org/netbeans cvs server: Diffing apisupport/apidocs/src/org/netbeans/modules cvs server: Diffing apisupport/apidocs/src/org/netbeans/modules/apisupport cvs server: Diffing apisupport/apidocs/src/org/netbeans/modules/apisupport/apidocs cvs server: Diffing apisupport/javahelp cvs server: Diffing apisupport/javahelp/org cvs server: Diffing apisupport/javahelp/org/netbeans cvs server: Diffing apisupport/javahelp/org/netbeans/modules cvs server: Diffing apisupport/javahelp/org/netbeans/modules/apisupport cvs server: Diffing apisupport/javahelp/org/netbeans/modules/apisupport/help cvs server: Diffing apisupport/javahelp/org/netbeans/modules/apisupport/lite cvs server: Diffing apisupport/javahelp/org/netbeans/modules/apisupport/lite/docs cvs server: Diffing apisupport/javahelp/org/netbeans/modules/apisupport/lite/docs/images cvs server: Diffing apisupport/lite Index: apisupport/lite/build.xml =================================================================== RCS file: /cvs/apisupport/lite/build.xml,v retrieving revision 1.14 diff -u -r1.14 build.xml --- apisupport/lite/build.xml 12 Sep 2002 11:02:17 -0000 1.14 +++ apisupport/lite/build.xml 16 Oct 2002 04:49:53 -0000 @@ -28,9 +28,9 @@ - - - + + + cvs server: Diffing apisupport/release cvs server: Diffing apisupport/release/bin cvs server: Diffing apisupport/release/bin/unsupported cvs server: Diffing apisupport/release/bin/unsupported/optimizeit cvs server: Diffing apisupport/src cvs server: Diffing apisupport/src/META-INF cvs server: Diffing apisupport/src/META-INF/netbeans cvs server: Diffing apisupport/src/org cvs server: Diffing apisupport/src/org/netbeans cvs server: Diffing apisupport/src/org/netbeans/modules cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/ant cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/beanbrowser cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/deprecated cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/layers cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/lite cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/lite/resources cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/manifests cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/Actions_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/Compiler_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/DataSystems_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/Editor_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/Execution_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/FileSystems_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/Modules_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/Nodes_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/Options_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/Services_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/resources/templates/Window_System_API cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/testers cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/wizard cvs server: Diffing apisupport/src/org/netbeans/modules/apisupport/wizard/panels cvs server: Diffing apisupport/www cvs server: Diffing apisupport/www/new cvs server: Diffing apisupport/www/plans cvs server: Diffing applet Index: applet/build.xml =================================================================== RCS file: /cvs/applet/build.xml,v retrieving revision 1.24 diff -u -r1.24 build.xml --- applet/build.xml 19 Sep 2002 13:21:11 -0000 1.24 +++ applet/build.xml 16 Oct 2002 04:49:53 -0000 @@ -27,9 +27,9 @@ - - - + + + Index: applet/manifest.mf =================================================================== RCS file: /cvs/applet/manifest.mf,v retrieving revision 1.44 diff -u -r1.44 manifest.mf --- applet/manifest.mf 2 Aug 2002 18:50:50 -0000 1.44 +++ applet/manifest.mf 16 Oct 2002 04:49:53 -0000 @@ -1,8 +1,9 @@ OpenIDE-Module: org.netbeans.modules.applet/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/applet/Bundle.properties OpenIDE-Module-Layer: org/netbeans/modules/applet/layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.1 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.debugger.jpda/1 -OpenIDE-Module-Specification-Version: 1.9 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.debugger.core/3, org.netbeans.modules.debugger.jpda/1, org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-Specification-Version: 1.10 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ cvs server: Diffing applet/src cvs server: Diffing applet/src/org cvs server: Diffing applet/src/org/netbeans cvs server: Diffing applet/src/org/netbeans/modules cvs server: Diffing applet/src/org/netbeans/modules/applet cvs server: Diffing applet/www cvs server: Diffing applet/www/doc cvs server: Diffing applet/www/plans cvs server: Diffing autoupdate Index: autoupdate/build.xml =================================================================== RCS file: /cvs/autoupdate/build.xml,v retrieving revision 1.32 diff -u -r1.32 build.xml --- autoupdate/build.xml 12 Sep 2002 11:02:18 -0000 1.32 +++ autoupdate/build.xml 16 Oct 2002 04:49:54 -0000 @@ -38,9 +38,8 @@ - - - + + @@ -49,9 +48,8 @@ - - - + + Index: autoupdate/manifest.mf =================================================================== RCS file: /cvs/autoupdate/manifest.mf,v retrieving revision 1.43 diff -u -r1.43 manifest.mf --- autoupdate/manifest.mf 2 Aug 2002 18:50:51 -0000 1.43 +++ autoupdate/manifest.mf 16 Oct 2002 04:49:54 -0000 @@ -2,10 +2,11 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/autoupdate/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/autoupdate/AutoUpdateModule.class OpenIDE-Module-Layer: org/netbeans/modules/autoupdate/resources/mf-layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager X-COMMENT: Because of ModuleNode.ModuleNewType... -OpenIDE-Module-Module-Dependencies: org.netbeans.core/1 > 1.0 -OpenIDE-Module-Specification-Version: 2.3 +OpenIDE-Module-Module-Dependencies: org.netbeans.core/1 > 1.0, org.openide.deprecated > 1.0 +OpenIDE-Module-Specification-Version: 2.4 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ Class-Path: ../lib/updater.jar cvs server: Diffing autoupdate/libsrc cvs server: Diffing autoupdate/libsrc/org cvs server: Diffing autoupdate/libsrc/org/netbeans cvs server: Diffing autoupdate/libsrc/org/netbeans/updater cvs server: Diffing autoupdate/libsrc/org/netbeans/updater/resources cvs server: Diffing autoupdate/src cvs server: Diffing autoupdate/src/org cvs server: Diffing autoupdate/src/org/netbeans cvs server: Diffing autoupdate/src/org/netbeans/modules cvs server: Diffing autoupdate/src/org/netbeans/modules/autoupdate cvs server: Diffing autoupdate/src/org/netbeans/modules/autoupdate/resources cvs server: Diffing autoupdate/test cvs server: Diffing autoupdate/test/gui cvs server: Diffing autoupdate/test/gui/src cvs server: Diffing autoupdate/www cvs server: Diffing autoupdate/www/nbm cvs server: Diffing autoupdate/www/new cvs server: Diffing autoupdate/www/plans cvs server: Diffing autoupdate/www/qa cvs server: Diffing autoupdate/www/qa/testspecs cvs server: Diffing autoupdate/www/qa/testspecs/nb34 cvs server: Diffing beans Index: beans/build.xml =================================================================== RCS file: /cvs/beans/build.xml,v retrieving revision 1.21 diff -u -r1.21 build.xml --- beans/build.xml 22 May 2002 18:01:34 -0000 1.21 +++ beans/build.xml 16 Oct 2002 04:49:54 -0000 @@ -26,9 +26,9 @@ - - - + + + Index: beans/manifest.mf =================================================================== RCS file: /cvs/beans/manifest.mf,v retrieving revision 1.31 diff -u -r1.31 manifest.mf --- beans/manifest.mf 2 Aug 2002 18:50:51 -0000 1.31 +++ beans/manifest.mf 16 Oct 2002 04:49:54 -0000 @@ -1,10 +1,11 @@ OpenIDE-Module: org.netbeans.modules.beans/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/beans/Bundle.properties OpenIDE-Module-Layer: org/netbeans/modules/beans/resources/mf-layer.xml -OpenIDE-Module-Specification-Version: 1.9 +OpenIDE-Module-Specification-Version: 1.10 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1 > 1.7 -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.12 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1 > 1.7, org.openide.deprecated > 1.0, org.openide.src > 1.0 Name: org/netbeans/modules/beans/AddPropertyAction.class OpenIDE-Module-Class: Action cvs server: Diffing beans/src cvs server: Diffing beans/src/org cvs server: Diffing beans/src/org/netbeans cvs server: Diffing beans/src/org/netbeans/modules cvs server: Diffing beans/src/org/netbeans/modules/beans cvs server: Diffing beans/src/org/netbeans/modules/beans/beaninfo cvs server: Diffing beans/src/org/netbeans/modules/beans/resources cvs server: Diffing beans/src/org/netbeans/modules/beans/resources/templates cvs server: Diffing beans/test cvs server: Diffing beans/test/qa-func cvs server: Diffing beans/test/qa-func/src cvs server: Diffing beans/test/qa-func/src/gui cvs server: Diffing beans/test/qa-func/src/gui/data cvs server: Diffing beans/test/qa-func/src/gui/data/goldenfiles cvs server: Diffing beans/test/qa-func/src/gui/data/goldenfiles/BeanInfoGeneration cvs server: Diffing beans/test/qa-func/src/gui/data/goldenfiles/BeansTemplates cvs server: Diffing beans/test/qa-func/src/gui/data/goldenfiles/ChangingOfBeanPropertyProperties cvs server: Diffing beans/test/qa-func/src/gui/data/goldenfiles/CreateNewIndexedProperty cvs server: Diffing beans/test/qa-func/src/gui/data/goldenfiles/CreateNewNonIndexedProperty cvs server: Diffing beans/test/qa-func/src/gui/data/goldenfiles/NewMulticastEventSource cvs server: Diffing beans/test/qa-func/src/gui/data/goldenfiles/NewUnicastEventSource cvs server: Diffing beans/www cvs server: Diffing beans/www/DeveloperView cvs server: Diffing beans/www/DeveloperView/Images cvs server: Diffing beans/www/Images cvs server: Diffing beans/www/Proposals cvs server: Diffing beans/www/Requirements cvs server: Diffing beans/www/UserView cvs server: Diffing beans/www/UserView/Images cvs server: Diffing beans/www/plans cvs server: Diffing beans/www/qa cvs server: Diffing beans/www/qa/testspecs cvs server: Diffing beans/www/qa/testspecs/nb34 cvs server: Diffing beans/www/qa/testspecs/nb34/beans cvs server: Diffing classfile cvs server: Diffing classfile/src cvs server: Diffing classfile/src/org cvs server: Diffing classfile/src/org/netbeans cvs server: Diffing classfile/src/org/netbeans/modules cvs server: Diffing classfile/src/org/netbeans/modules/classfile cvs server: Diffing classfile/test cvs server: Diffing classfile/www cvs server: Diffing classfile/www/docs cvs server: Diffing classfile/www/docs/org cvs server: Diffing classfile/www/docs/org/netbeans cvs server: Diffing classfile/www/docs/org/netbeans/modules cvs server: Diffing classfile/www/docs/org/netbeans/modules/classfile cvs server: Diffing clazz Index: clazz/build.xml =================================================================== RCS file: /cvs/clazz/build.xml,v retrieving revision 1.24 diff -u -r1.24 build.xml --- clazz/build.xml 22 May 2002 18:01:35 -0000 1.24 +++ clazz/build.xml 16 Oct 2002 04:49:54 -0000 @@ -27,9 +27,9 @@ - - - + + + Index: clazz/manifest.mf =================================================================== RCS file: /cvs/clazz/manifest.mf,v retrieving revision 1.35 diff -u -r1.35 manifest.mf --- clazz/manifest.mf 2 Aug 2002 18:50:52 -0000 1.35 +++ clazz/manifest.mf 16 Oct 2002 04:49:54 -0000 @@ -2,10 +2,10 @@ OpenIDE-Module-Install: org/netbeans/modules/clazz/ClassModule.class OpenIDE-Module-Layer: org/netbeans/modules/clazz/resources/mf-layer.xml OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/clazz/Bundle.properties -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.12 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-Specification-Version: 1.10 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.classfile/1 +OpenIDE-Module-Specification-Version: 1.11 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.classfile/1, org.openide.deprecated > 1.0, org.openide.src > 1.0 OpenIDE-Module: org.netbeans.modules.clazz/1 Name: org/netbeans/modules/clazz/ClassDataLoader.class cvs server: Diffing clazz/src cvs server: Diffing clazz/src/org cvs server: Diffing clazz/src/org/netbeans cvs server: Diffing clazz/src/org/netbeans/modules cvs server: Diffing clazz/src/org/netbeans/modules/clazz cvs server: Diffing clazz/src/org/netbeans/modules/clazz/resources cvs server: Diffing clazz/test cvs server: Diffing clazz/test/qa-functional cvs server: Diffing clazz/test/qa-functional/src cvs server: Diffing clazz/test/qa-functional/src/org cvs server: Diffing clazz/test/qa-functional/src/org/netbeans cvs server: Diffing clazz/test/qa-functional/src/org/netbeans/test cvs server: Diffing clazz/test/qa-functional/src/org/netbeans/test/clazz cvs server: Diffing clazz/www cvs server: Diffing clazz/www/UserView cvs server: Diffing clazz/www/UserView/images cvs server: Diffing clazz/www/images cvs server: Diffing clazz/www/plans cvs server: Diffing clazz/www/qa cvs server: Diffing clazz/www/qa/testspecs cvs server: Diffing clazz/www/qa/testspecs/nb34 cvs server: Diffing clazz/www/qa/testspecs/nb34/clazzsrc cvs server: Diffing clazz/www/qa/testspecs/nb34/clazzsrc/org cvs server: Diffing clazz/www/qa/testspecs/nb34/clazzsrc/org/netbeans cvs server: Diffing clazz/www/qa/testspecs/nb34/clazzsrc/org/netbeans/test cvs server: Diffing core Index: core/manifest.mf =================================================================== RCS file: /cvs/core/manifest.mf,v retrieving revision 1.6 diff -u -r1.6 manifest.mf --- core/manifest.mf 8 Oct 2002 20:18:33 -0000 1.6 +++ core/manifest.mf 16 Oct 2002 04:49:55 -0000 @@ -1,5 +1,5 @@ OpenIDE-Module: org.netbeans.core/1 -OpenIDE-Module-Specification-Version: 1.6 +OpenIDE-Module-Specification-Version: 1.7 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.21 OpenIDE-Module-Localizing-Bundle: org/netbeans/core/Bundle.properties cvs server: Diffing core/compiler Index: core/compiler/build.xml =================================================================== RCS file: /cvs/core/compiler/build.xml,v retrieving revision 1.8 diff -u -r1.8 build.xml --- core/compiler/build.xml 12 Sep 2002 11:02:25 -0000 1.8 +++ core/compiler/build.xml 16 Oct 2002 04:49:55 -0000 @@ -31,7 +31,7 @@ - + Index: core/compiler/manifest.mf =================================================================== RCS file: /cvs/core/compiler/manifest.mf,v retrieving revision 1.4 diff -u -r1.4 manifest.mf --- core/compiler/manifest.mf 2 Aug 2002 18:50:53 -0000 1.4 +++ core/compiler/manifest.mf 16 Oct 2002 04:49:55 -0000 @@ -1,8 +1,8 @@ OpenIDE-Module: org.netbeans.core.compiler/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/core/compiler/resources/Bundle.properties -OpenIDE-Module-Specification-Version: 1.1 +OpenIDE-Module-Specification-Version: 1.2 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.core.ui/1 > 1.0 OpenIDE-Module-Layer: org/netbeans/core/compiler/resources/layer.xml cvs server: Diffing core/compiler/netbeans cvs server: Diffing core/compiler/src cvs server: Diffing core/compiler/src/META-INF cvs server: Diffing core/compiler/src/META-INF/services cvs server: Diffing core/compiler/src/org cvs server: Diffing core/compiler/src/org/netbeans cvs server: Diffing core/compiler/src/org/netbeans/core cvs server: Diffing core/compiler/src/org/netbeans/core/actions Index: core/compiler/src/org/netbeans/core/actions/StopCompileAction.java =================================================================== RCS file: /cvs/core/compiler/src/org/netbeans/core/actions/StopCompileAction.java,v retrieving revision 1.1 diff -u -r1.1 StopCompileAction.java --- core/compiler/src/org/netbeans/core/actions/StopCompileAction.java 24 Apr 2002 14:27:23 -0000 1.1 +++ core/compiler/src/org/netbeans/core/actions/StopCompileAction.java 16 Oct 2002 04:49:55 -0000 @@ -13,11 +13,11 @@ package org.netbeans.core.actions; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.util.actions.CallableSystemAction; import org.netbeans.core.compiler.CompilationEngineImpl; +import org.openide.compiler.CompilationEngine; /** the action causes the compilation to stop * @author Ales Novak @@ -55,10 +55,7 @@ /** Convenience method - returns compilation engine */ static CompilationEngineImpl getEngine () { - if (engine == null) - engine = (CompilationEngineImpl)TopManager.getDefault(). - getCompilationEngine(); - return engine; + return (CompilationEngineImpl)CompilationEngine.getDefault(); } } cvs server: Diffing core/compiler/src/org/netbeans/core/compiler Index: core/compiler/src/org/netbeans/core/compiler/CompilationEngineImpl.java =================================================================== RCS file: /cvs/core/compiler/src/org/netbeans/core/compiler/CompilationEngineImpl.java,v retrieving revision 1.2 diff -u -r1.2 CompilationEngineImpl.java --- core/compiler/src/org/netbeans/core/compiler/CompilationEngineImpl.java 13 May 2002 11:32:55 -0000 1.2 +++ core/compiler/src/org/netbeans/core/compiler/CompilationEngineImpl.java 16 Oct 2002 04:49:55 -0000 @@ -25,7 +25,6 @@ import java.io.FileFilter; import java.lang.ref.SoftReference; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.compiler.DependencyException; import org.openide.compiler.CompilationEngine; @@ -85,11 +84,8 @@ queue.notify(); } } - if (TopManager.getDefault() instanceof NbTopManager) { - NbTopManager ntm = (NbTopManager)TopManager.getDefault(); - if (ntm.compileSync) { - task.waitFinished(); - } + if (NbTopManager.get().compileSync) { + task.waitFinished(); } return task; } Index: core/compiler/src/org/netbeans/core/compiler/CompilerDisplayer.java =================================================================== RCS file: /cvs/core/compiler/src/org/netbeans/core/compiler/CompilerDisplayer.java,v retrieving revision 1.4 diff -u -r1.4 CompilerDisplayer.java --- core/compiler/src/org/netbeans/core/compiler/CompilerDisplayer.java 25 Sep 2002 11:43:29 -0000 1.4 +++ core/compiler/src/org/netbeans/core/compiler/CompilerDisplayer.java 16 Oct 2002 04:49:55 -0000 @@ -29,7 +29,6 @@ import org.openide.text.Annotation; import org.openide.text.Annotatable; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.compiler.*; import org.openide.cookies.LineCookie; import org.openide.filesystems.FileObject; @@ -41,6 +40,8 @@ import org.netbeans.core.output.OutputTabTerm; import org.netbeans.core.output.OutputSettings; +import org.openide.awt.StatusDisplayer; +import org.openide.windows.IOProvider; /** This class is responsible for displaying the messages * as a reactions to the state changes and errors produced by @@ -285,7 +286,7 @@ private void setOw (String name) { if (ow != null) return; - compilerIO = TopManager.getDefault().getIO(name); + compilerIO = IOProvider.getDefault().getIO(name, true); compilerIO.setFocusTaken (false); ow = compilerIO.getOut(); } @@ -318,7 +319,7 @@ return; } - TopManager.getDefault().setStatusText(oneLine(statusText)); + StatusDisplayer.getDefault().setStatusText(oneLine(statusText)); statusText = null; lastTime = System.currentTimeMillis(); } cvs server: Diffing core/compiler/src/org/netbeans/core/compiler/resources cvs server: Diffing core/deprecated cvs server: core/deprecated/.cvsignore is a new entry, no comparison available cvs server: core/deprecated/build.xml is a new entry, no comparison available cvs server: core/deprecated/manifest.mf is a new entry, no comparison available cvs server: Diffing core/deprecated/src cvs server: Diffing core/deprecated/src/META-INF cvs server: Diffing core/deprecated/src/META-INF/netbeans cvs server: core/deprecated/src/META-INF/netbeans/translate.names is a new entry, no comparison available cvs server: Diffing core/deprecated/src/META-INF/services cvs server: core/deprecated/src/META-INF/services/org.netbeans.core.projects.TrivialProjectManager is a new entry, no comparison available cvs server: core/deprecated/src/META-INF/services/org.openide.Places is a new entry, no comparison available cvs server: core/deprecated/src/META-INF/services/org.openide.TopManager is a new entry, no comparison available cvs server: core/deprecated/src/META-INF/services/org.openide.TopManager$NodeOperation is a new entry, no comparison available cvs server: core/deprecated/src/META-INF/services/org.openide.options.ControlPanel is a new entry, no comparison available cvs server: Diffing core/deprecated/src/org cvs server: Diffing core/deprecated/src/org/netbeans cvs server: Diffing core/deprecated/src/org/netbeans/core cvs server: core/deprecated/src/org/netbeans/core/ModuleInstaller.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/UpdateSupport.java is a new entry, no comparison available cvs server: Diffing core/deprecated/src/org/netbeans/core/deprecated cvs server: core/deprecated/src/org/netbeans/core/deprecated/AddFSAction.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/AddJarAction.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/Bundle.properties is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/ClassLoaderSupport.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/ControlPanelNode.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/DebuggerType.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/DebuggerTypeBeanInfo.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/DebuggerTypeEditor.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/Install.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/NbControlPanel.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/NbPlacesImpl.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/NbProject.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/NbProjectOperation.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/ProjectCloseAction.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/ProjectOpenAction.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/ProjectSetActiveAction.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/SaveSettingsAction.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/SettingsAction.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/TMNodeOperationImpl.java is a new entry, no comparison available cvs server: core/deprecated/src/org/netbeans/core/deprecated/TopManagerImpl.java is a new entry, no comparison available cvs server: Diffing core/execution Index: core/execution/manifest.mf =================================================================== RCS file: /cvs/core/execution/manifest.mf,v retrieving revision 1.5 diff -u -r1.5 manifest.mf --- core/execution/manifest.mf 2 Aug 2002 18:50:53 -0000 1.5 +++ core/execution/manifest.mf 16 Oct 2002 04:49:55 -0000 @@ -2,7 +2,7 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/core/execution/resources/Bundle.properties OpenIDE-Module-Specification-Version: 1.1 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.core.ui/1 > 1.0 OpenIDE-Module-Layer: org/netbeans/core/execution/resources/layer.xml cvs server: Diffing core/execution/src cvs server: Diffing core/execution/src/META-INF cvs server: Diffing core/execution/src/META-INF/services cvs server: Diffing core/execution/src/org cvs server: Diffing core/execution/src/org/netbeans cvs server: Diffing core/execution/src/org/netbeans/core cvs server: Diffing core/execution/src/org/netbeans/core/execution cvs server: Diffing core/execution/src/org/netbeans/core/execution/resources cvs server: Diffing core/execution/src/org/netbeans/core/execution/resources/components cvs server: Diffing core/execution/src/org/netbeans/core/execution/resources/windowmanager cvs server: Diffing core/execution/src/org/netbeans/core/execution/resources/windowmanager/Editing cvs server: Diffing core/execution/src/org/netbeans/core/execution/resources/windowmanager/Editing/explorer cvs server: Diffing core/execution/src/org/netbeans/core/execution/resources/windowmanager/Editing/output cvs server: Diffing core/exelauncher cvs server: Diffing core/external cvs server: Diffing core/ide Index: core/ide/manifest.mf =================================================================== RCS file: /cvs/core/ide/manifest.mf,v retrieving revision 1.4 diff -u -r1.4 manifest.mf --- core/ide/manifest.mf 2 Aug 2002 18:50:54 -0000 1.4 +++ core/ide/manifest.mf 16 Oct 2002 04:49:55 -0000 @@ -1,8 +1,8 @@ OpenIDE-Module: org.netbeans.core.ide/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/core/ide/resources/Bundle.properties -OpenIDE-Module-Specification-Version: 1.1 +OpenIDE-Module-Specification-Version: 1.2 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.core.compiler/1 > 1.0, org.netbeans.core.execution/1 > 1.0 OpenIDE-Module-Layer: org/netbeans/core/ide/resources/layer.xml cvs server: Diffing core/ide/release cvs server: Diffing core/ide/release/bin cvs server: Diffing core/ide/release/bin/icons cvs server: Diffing core/ide/release/docs cvs server: Diffing core/ide/src cvs server: Diffing core/ide/src/META-INF cvs server: Diffing core/ide/src/META-INF/netbeans cvs server: Diffing core/ide/src/org cvs server: Diffing core/ide/src/org/netbeans cvs server: Diffing core/ide/src/org/netbeans/core cvs server: Diffing core/ide/src/org/netbeans/core/ide cvs server: Diffing core/ide/src/org/netbeans/core/ide/resources cvs server: core/ide/src/org/netbeans/core/ide/resources/SourceOptions.settings was removed, no comparison available Index: core/ide/src/org/netbeans/core/ide/resources/layer.xml =================================================================== RCS file: /cvs/core/ide/src/org/netbeans/core/ide/resources/layer.xml,v retrieving revision 1.10 diff -u -r1.10 layer.xml --- core/ide/src/org/netbeans/core/ide/resources/layer.xml 15 Aug 2002 18:05:07 -0000 1.10 +++ core/ide/src/org/netbeans/core/ide/resources/layer.xml 16 Oct 2002 04:49:55 -0000 @@ -37,11 +37,7 @@ - - - - - + @@ -78,10 +74,6 @@ - - - - cvs server: Diffing core/ide/src/org/netbeans/core/upgrade Index: core/ide/src/org/netbeans/core/upgrade/PreUpgradePanel.java =================================================================== RCS file: /cvs/core/ide/src/org/netbeans/core/upgrade/PreUpgradePanel.java,v retrieving revision 1.1 diff -u -r1.1 PreUpgradePanel.java --- core/ide/src/org/netbeans/core/upgrade/PreUpgradePanel.java 4 Mar 2002 15:00:01 -0000 1.1 +++ core/ide/src/org/netbeans/core/upgrade/PreUpgradePanel.java 16 Oct 2002 04:49:55 -0000 @@ -25,9 +25,9 @@ import java.util.ArrayList; import org.openide.WizardDescriptor; import org.openide.util.HelpCtx; -import org.openide.TopManager; import org.openide.DialogDescriptor; import java.awt.Dialog; +import org.openide.DialogDisplayer; /** * @@ -42,7 +42,7 @@ new PreUpgradePanel(), bundle.getString("LBL_UpgradePanel_Name") ); - Dialog dialog = TopManager.getDefault().createDialog(descriptor); + Dialog dialog = DialogDisplayer.getDefault().createDialog(descriptor); dialog.show(); dialog.dispose(); } Index: core/ide/src/org/netbeans/core/upgrade/TransferSettingsPanel.java =================================================================== RCS file: /cvs/core/ide/src/org/netbeans/core/upgrade/TransferSettingsPanel.java,v retrieving revision 1.1 diff -u -r1.1 TransferSettingsPanel.java --- core/ide/src/org/netbeans/core/upgrade/TransferSettingsPanel.java 4 Mar 2002 15:00:01 -0000 1.1 +++ core/ide/src/org/netbeans/core/upgrade/TransferSettingsPanel.java 16 Oct 2002 04:49:55 -0000 @@ -32,8 +32,8 @@ import javax.swing.SwingUtilities; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeEvent; +import org.openide.DialogDisplayer; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.WizardDescriptor; import org.openide.filesystems.LocalFileSystem; @@ -295,7 +295,7 @@ private void notify(String message, int type) { NotifyDescriptor descr = new NotifyDescriptor.Message(message, type); - TopManager.getDefault().notify(descr); + DialogDisplayer.getDefault().notify(descr); } // Variables declaration - do not modify//GEN-BEGIN:variables Index: core/ide/src/org/netbeans/core/upgrade/UpgradePanel.java =================================================================== RCS file: /cvs/core/ide/src/org/netbeans/core/upgrade/UpgradePanel.java,v retrieving revision 1.3 diff -u -r1.3 UpgradePanel.java --- core/ide/src/org/netbeans/core/upgrade/UpgradePanel.java 19 Aug 2002 15:36:15 -0000 1.3 +++ core/ide/src/org/netbeans/core/upgrade/UpgradePanel.java 16 Oct 2002 04:49:55 -0000 @@ -21,6 +21,7 @@ import javax.swing.event.*; import org.netbeans.core.*; import org.openide.*; +import org.openide.DialogDisplayer; import org.openide.util.*; import org.openide.util.NbBundle; import org.openide.filesystems.*; @@ -38,7 +39,7 @@ new UpgradePanel(), bundle.getString("LBL_UpgradePanel_Name") ); - Dialog dialog = TopManager.getDefault().createDialog(descriptor); + Dialog dialog = DialogDisplayer.getDefault().createDialog(descriptor); dialog.show(); dialog.dispose(); } @@ -334,7 +335,7 @@ private void notify(String message, int type) { NotifyDescriptor descr = new NotifyDescriptor.Message(message, type); - TopManager.getDefault().notify(descr); + DialogDisplayer.getDefault().notify(descr); } // Variables declaration - do not modify//GEN-BEGIN:variables Index: core/ide/src/org/netbeans/core/upgrade/UpgradeWizard.java =================================================================== RCS file: /cvs/core/ide/src/org/netbeans/core/upgrade/UpgradeWizard.java,v retrieving revision 1.3 diff -u -r1.3 UpgradeWizard.java --- core/ide/src/org/netbeans/core/upgrade/UpgradeWizard.java 27 Sep 2002 15:56:41 -0000 1.3 +++ core/ide/src/org/netbeans/core/upgrade/UpgradeWizard.java 16 Oct 2002 04:49:55 -0000 @@ -17,12 +17,13 @@ import java.text.MessageFormat; import java.beans.*; -import org.openide.TopManager; import org.openide.WizardDescriptor; import org.openide.filesystems.*; import org.openide.util.NbBundle; import org.netbeans.core.ui.*; import org.netbeans.core.Splash; +import org.openide.DialogDisplayer; +import org.openide.awt.StatusDisplayer; /** Upgrade wizard displays only one panel allowing user to upgrade his * settings from previous product version. @@ -137,9 +138,9 @@ WizardDescriptor.FINISH_OPTION, WizardDescriptor.CANCEL_OPTION }); - java.awt.Dialog d = TopManager.getDefault().createDialog(wd); + java.awt.Dialog d = DialogDisplayer.getDefault().createDialog(wd); if (hidden) { - TopManager.getDefault().setStatusText(NbBundle.getMessage(UpgradeWizard.class, "MSG_SplashScreen_status")); + StatusDisplayer.getDefault().setStatusText(NbBundle.getMessage(UpgradeWizard.class, "MSG_SplashScreen_status")); // kick-off upgrade procedure it.hasNext(); cvs server: Diffing core/javahelp Index: core/javahelp/build.xml =================================================================== RCS file: /cvs/core/javahelp/build.xml,v retrieving revision 1.10 diff -u -r1.10 build.xml --- core/javahelp/build.xml 7 Oct 2002 15:18:51 -0000 1.10 +++ core/javahelp/build.xml 16 Oct 2002 04:49:56 -0000 @@ -65,11 +65,11 @@ - + - + - + - + Index: core/javahelp/manifest.mf =================================================================== RCS file: /cvs/core/javahelp/manifest.mf,v retrieving revision 1.8 diff -u -r1.8 manifest.mf --- core/javahelp/manifest.mf 2 Aug 2002 18:50:54 -0000 1.8 +++ core/javahelp/manifest.mf 16 Oct 2002 04:49:56 -0000 @@ -1,11 +1,11 @@ Manifest-Version: 1.0 OpenIDE-Module: org.netbeans.modules.javahelp/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/javahelp/resources/Bundle.properties -OpenIDE-Module-Specification-Version: 1.1 +OpenIDE-Module-Specification-Version: 1.2 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Provides: org.netbeans.api.javahelp.Help OpenIDE-Module-Public-Packages: org.netbeans.api.javahelp.*, javax.help.** -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Package-Dependencies: javax.help[HelpSet] > 1.0 OpenIDE-Module-Layer: org/netbeans/modules/javahelp/resources/layer.xml OpenIDE-Module-Install: org/netbeans/modules/javahelp/Installer.class cvs server: Diffing core/javahelp/src cvs server: Diffing core/javahelp/src/META-INF cvs server: Diffing core/javahelp/src/META-INF/netbeans cvs server: Diffing core/javahelp/src/org cvs server: Diffing core/javahelp/src/org/netbeans cvs server: Diffing core/javahelp/src/org/netbeans/api cvs server: Diffing core/javahelp/src/org/netbeans/api/javahelp cvs server: Diffing core/javahelp/src/org/netbeans/modules cvs server: Diffing core/javahelp/src/org/netbeans/modules/javahelp Index: core/javahelp/src/org/netbeans/modules/javahelp/HelpAction.java =================================================================== RCS file: /cvs/core/javahelp/src/org/netbeans/modules/javahelp/HelpAction.java,v retrieving revision 1.6 diff -u -r1.6 HelpAction.java --- core/javahelp/src/org/netbeans/modules/javahelp/HelpAction.java 19 Jun 2002 20:31:09 -0000 1.6 +++ core/javahelp/src/org/netbeans/modules/javahelp/HelpAction.java 16 Oct 2002 04:49:56 -0000 @@ -18,10 +18,10 @@ import javax.swing.*; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.util.*; import org.openide.util.actions.SystemAction; import org.netbeans.api.javahelp.Help; +import org.openide.awt.StatusDisplayer; /** * Shows help for the currently focused component @@ -140,8 +140,8 @@ help = findHelpCtx(); } - TopManager.getDefault().setStatusText(NbBundle.getMessage(HelpAction.class, "CTL_OpeningHelp")); + StatusDisplayer.getDefault().setStatusText(NbBundle.getMessage(HelpAction.class, "CTL_OpeningHelp")); h.showHelp (help); - TopManager.getDefault ().setStatusText (""); // NOI18N + StatusDisplayer.getDefault ().setStatusText (""); // NOI18N } } Index: core/javahelp/src/org/netbeans/modules/javahelp/HelpSetProcessor.java =================================================================== RCS file: /cvs/core/javahelp/src/org/netbeans/modules/javahelp/HelpSetProcessor.java,v retrieving revision 1.4 diff -u -r1.4 HelpSetProcessor.java --- core/javahelp/src/org/netbeans/modules/javahelp/HelpSetProcessor.java 15 Sep 2002 20:22:37 -0000 1.4 +++ core/javahelp/src/org/netbeans/modules/javahelp/HelpSetProcessor.java 16 Oct 2002 04:49:56 -0000 @@ -26,9 +26,9 @@ import javax.help.HelpSet; import javax.help.HelpSetException; -import org.openide.TopManager; import org.openide.cookies.InstanceCookie; import org.openide.loaders.XMLDataObject; +import org.openide.util.Lookup; /** An XML processor for help set references. * Provides an instance of javax.swing.HelpSet. @@ -118,7 +118,7 @@ Boolean.valueOf(mergeS).booleanValue(); // Make sure nbdocs: protocol is ready: Object ignore = NbDocsStreamHandler.class; - hs = new HelpSet(TopManager.getDefault().systemClassLoader(), new URL(url)); + hs = new HelpSet(((ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)), new URL(url)); hs.setKeyData(HELPSET_MERGE_CONTEXT, HELPSET_MERGE_ATTR, merge ? Boolean.TRUE : Boolean.FALSE); BPMChanger.invoke(BPMChanger.INC_VALUE); } catch (SAXException saxe) { Index: core/javahelp/src/org/netbeans/modules/javahelp/NbDocsStreamHandler.java =================================================================== RCS file: /cvs/core/javahelp/src/org/netbeans/modules/javahelp/NbDocsStreamHandler.java,v retrieving revision 1.2 diff -u -r1.2 NbDocsStreamHandler.java --- core/javahelp/src/org/netbeans/modules/javahelp/NbDocsStreamHandler.java 22 Jan 2002 13:45:22 -0000 1.2 +++ core/javahelp/src/org/netbeans/modules/javahelp/NbDocsStreamHandler.java 16 Oct 2002 04:49:56 -0000 @@ -22,8 +22,10 @@ import java.util.*; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.execution.NbfsStreamHandlerFactory; +import org.openide.util.Lookup; +import org.openide.util.LookupEvent; +import org.openide.util.LookupListener; import org.openide.util.NbBundle; /** Handler & connection cribbed from NbResourceStreamHandler. @@ -54,6 +56,8 @@ * used to handle nbdocs: requests */ private static Reference docsLoader = null; // Reference + + private static Lookup.Result classLoaderQuery = Lookup.getDefault().lookup(new Lookup.Template(ClassLoader.class)); /** @return the classloader used to resolve * nbdocs: requests @@ -67,14 +71,11 @@ l = null; } if (l == null) { - l = new URLClassLoader(getDocsURLs(), TopManager.getDefault().systemClassLoader()); + l = new URLClassLoader(getDocsURLs(), (ClassLoader)classLoaderQuery.allInstances().iterator().next()); if (! addedTmSysLoaderListener) { - TopManager.getDefault().addPropertyChangeListener(new PropertyChangeListener() { - public void propertyChange(PropertyChangeEvent ev) { - // XXX this is not an official property name... - if ("systemClassLoader".equals(ev.getPropertyName())) { // NOI18N - docsLoader = null; - } + classLoaderQuery.addLookupListener(new LookupListener() { + public void resultChanged(LookupEvent e) { + docsLoader = null; } }); addedTmSysLoaderListener = true; cvs server: Diffing core/javahelp/src/org/netbeans/modules/javahelp/resources cvs server: Diffing core/libsrc cvs server: Diffing core/libsrc/org cvs server: Diffing core/libsrc/org/netbeans cvs server: Diffing core/libsrc/org/netbeans/lib cvs server: Diffing core/libsrc/org/netbeans/lib/terminalemulator cvs server: Diffing core/maclauncher cvs server: Diffing core/maclauncher/NetBeansLauncher cvs server: Diffing core/maclauncher/NetBeansLauncher/English.lproj cvs server: Diffing core/maclauncher/NetBeansLauncher/English.lproj/MainMenu.nib cvs server: Diffing core/maclauncher/NetBeansLauncher/NetBeansLauncher.pbproj cvs server: Diffing core/naming cvs server: Diffing core/naming/src cvs server: Diffing core/naming/src/org cvs server: Diffing core/naming/src/org/netbeans cvs server: Diffing core/naming/src/org/netbeans/core cvs server: Diffing core/naming/src/org/netbeans/core/naming cvs server: Diffing core/naming/test cvs server: Diffing core/naming/test/unit cvs server: Diffing core/naming/test/unit/src cvs server: Diffing core/naming/test/unit/src/org cvs server: Diffing core/naming/test/unit/src/org/netbeans cvs server: Diffing core/naming/test/unit/src/org/netbeans/core cvs server: Diffing core/naming/test/unit/src/org/netbeans/core/naming cvs server: Diffing core/release cvs server: Diffing core/release/bin cvs server: Diffing core/release/bin/unsupported cvs server: Diffing core/release/lib cvs server: Diffing core/settings Index: core/settings/build.xml =================================================================== RCS file: /cvs/core/settings/build.xml,v retrieving revision 1.7 diff -u -r1.7 build.xml --- core/settings/build.xml 7 Oct 2002 15:18:51 -0000 1.7 +++ core/settings/build.xml 16 Oct 2002 04:49:57 -0000 @@ -51,11 +51,11 @@ - + - + - + Index: core/settings/manifest.mf =================================================================== RCS file: /cvs/core/settings/manifest.mf,v retrieving revision 1.5 diff -u -r1.5 manifest.mf --- core/settings/manifest.mf 3 Oct 2002 16:31:49 -0000 1.5 +++ core/settings/manifest.mf 16 Oct 2002 04:49:57 -0000 @@ -1,7 +1,7 @@ Manifest-Version: 1.0 OpenIDE-Module: org.netbeans.modules.settings/1 -OpenIDE-Module-Specification-Version: 1.2 -OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.6 +OpenIDE-Module-Specification-Version: 1.3 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.core/1 > 1.1 OpenIDE-Module-Layer: org/netbeans/modules/settings/resources/mf-layer.xml OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/settings/resources/Bundle.properties cvs server: Diffing core/settings/api cvs server: Diffing core/settings/api/doc cvs server: Diffing core/settings/api/doc/changes cvs server: Diffing core/settings/api/doc/org cvs server: Diffing core/settings/api/doc/org/netbeans cvs server: Diffing core/settings/api/doc/org/netbeans/spi cvs server: Diffing core/settings/api/doc/org/netbeans/spi/settings cvs server: Diffing core/settings/api/doc/org/netbeans/spi/settings/doc-files cvs server: Diffing core/settings/examples cvs server: Diffing core/settings/examples/src cvs server: Diffing core/settings/examples/src/org cvs server: Diffing core/settings/examples/src/org/netbeans cvs server: Diffing core/settings/examples/src/org/netbeans/modules cvs server: Diffing core/settings/examples/src/org/netbeans/modules/settings cvs server: Diffing core/settings/examples/src/org/netbeans/modules/settings/examples cvs server: Diffing core/settings/examples/src/org/netbeans/modules/settings/examples/resources cvs server: Diffing core/settings/src cvs server: Diffing core/settings/src/org cvs server: Diffing core/settings/src/org/netbeans cvs server: Diffing core/settings/src/org/netbeans/api cvs server: Diffing core/settings/src/org/netbeans/api/settings cvs server: Diffing core/settings/src/org/netbeans/modules cvs server: Diffing core/settings/src/org/netbeans/modules/settings Index: core/settings/src/org/netbeans/modules/settings/InstanceProvider.java =================================================================== RCS file: /cvs/core/settings/src/org/netbeans/modules/settings/InstanceProvider.java,v retrieving revision 1.5 diff -u -r1.5 InstanceProvider.java --- core/settings/src/org/netbeans/modules/settings/InstanceProvider.java 25 Sep 2002 09:41:55 -0000 1.5 +++ core/settings/src/org/netbeans/modules/settings/InstanceProvider.java 16 Oct 2002 04:49:57 -0000 @@ -233,8 +233,7 @@ if (name == null) { return instanceCreate().getClass(); } else { - return org.openide.TopManager.getDefault(). - systemClassLoader().loadClass(name); + return ((ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)).loadClass(name); } } cvs server: Diffing core/settings/src/org/netbeans/modules/settings/convertors Index: core/settings/src/org/netbeans/modules/settings/convertors/XMLPropertiesConvertor.java =================================================================== RCS file: /cvs/core/settings/src/org/netbeans/modules/settings/convertors/XMLPropertiesConvertor.java,v retrieving revision 1.4 diff -u -r1.4 XMLPropertiesConvertor.java --- core/settings/src/org/netbeans/modules/settings/convertors/XMLPropertiesConvertor.java 29 May 2002 14:33:23 -0000 1.4 +++ core/settings/src/org/netbeans/modules/settings/convertors/XMLPropertiesConvertor.java 16 Oct 2002 04:49:57 -0000 @@ -26,6 +26,7 @@ import org.netbeans.spi.settings.Saver; import org.netbeans.modules.settings.Env; +import org.openide.util.Lookup; /** Implementation of xml properties format described by * /org/netbeans/modules/settings/resources/properties.dtd @@ -209,7 +210,7 @@ } instanceClass = (String) name; } - return org.openide.TopManager.getDefault().systemClassLoader().loadClass(instanceClass); + return ((ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)).loadClass(instanceClass); } private void readSetting(java.io.Reader input, Object inst) throws IOException { Index: core/settings/src/org/netbeans/modules/settings/convertors/XMLSettingsSupport.java =================================================================== RCS file: /cvs/core/settings/src/org/netbeans/modules/settings/convertors/XMLSettingsSupport.java,v retrieving revision 1.5 diff -u -r1.5 XMLSettingsSupport.java --- core/settings/src/org/netbeans/modules/settings/convertors/XMLSettingsSupport.java 2 Oct 2002 17:30:10 -0000 1.5 +++ core/settings/src/org/netbeans/modules/settings/convertors/XMLSettingsSupport.java 16 Oct 2002 04:49:57 -0000 @@ -20,11 +20,11 @@ import java.util.Set; import java.util.Stack; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.filesystems.*; import org.openide.modules.ModuleInfo; import org.openide.modules.SpecificationVersion; +import org.openide.util.Lookup; import org.openide.util.SharedClassObject; import org.xml.sax.Attributes; @@ -634,11 +634,7 @@ /** try to load class from system and current classloader. */ private Class loadClass(String clazz) throws ClassNotFoundException { - try { - return TopManager.getDefault().systemClassLoader().loadClass(clazz); - } catch (ClassNotFoundException ex) { - return TopManager.getDefault().currentClassLoader().loadClass(clazz); - } + return ((ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)).loadClass(clazz); } /** get class name of instance */ cvs server: Diffing core/settings/src/org/netbeans/modules/settings/resources cvs server: Diffing core/settings/src/org/netbeans/spi cvs server: Diffing core/settings/src/org/netbeans/spi/settings cvs server: Diffing core/settings/test cvs server: Diffing core/settings/test/unit cvs server: Diffing core/settings/test/unit/src cvs server: Diffing core/settings/test/unit/src/META-INF cvs server: Diffing core/settings/test/unit/src/META-INF/netbeans cvs server: Diffing core/settings/test/unit/src/org cvs server: Diffing core/settings/test/unit/src/org/netbeans cvs server: Diffing core/settings/test/unit/src/org/netbeans/modules cvs server: Diffing core/settings/test/unit/src/org/netbeans/modules/settings cvs server: Diffing core/settings/test/unit/src/org/netbeans/modules/settings/convertors cvs server: Diffing core/settings/test/unit/src/org/netbeans/modules/settings/convertors/data cvs server: Diffing core/settings/test/unit/src/org/netbeans/spi cvs server: Diffing core/settings/test/unit/src/org/netbeans/spi/settings cvs server: Diffing core/src cvs server: Diffing core/src/META-INF cvs server: Diffing core/src/META-INF/services cvs server: core/src/META-INF/services/java.awt.datatransfer.Clipboard is a new entry, no comparison available cvs server: core/src/META-INF/services/org.netbeans.core.projects.TrivialProjectManager is a new entry, no comparison available cvs server: core/src/META-INF/services/org.openide.DialogDisplayer is a new entry, no comparison available cvs server: core/src/META-INF/services/org.openide.LifecycleManager is a new entry, no comparison available cvs server: core/src/META-INF/services/org.openide.Places was removed, no comparison available cvs server: core/src/META-INF/services/org.openide.awt.HtmlBrowser$URLDisplayer is a new entry, no comparison available cvs server: core/src/META-INF/services/org.openide.awt.StatusDisplayer is a new entry, no comparison available cvs server: core/src/META-INF/services/org.openide.loaders.RepositoryNodeFactory is a new entry, no comparison available cvs server: core/src/META-INF/services/org.openide.options.ControlPanel was removed, no comparison available cvs server: core/src/META-INF/services/org.openide.util.Lookup is a new entry, no comparison available cvs server: core/src/META-INF/services/org.openide.windows.IOProvider is a new entry, no comparison available cvs server: Diffing core/src/org cvs server: Diffing core/src/org/netbeans Index: core/src/org/netbeans/Main.java =================================================================== RCS file: /cvs/core/src/org/netbeans/Main.java,v retrieving revision 1.18 diff -u -r1.18 Main.java --- core/src/org/netbeans/Main.java 6 Sep 2002 19:58:11 -0000 1.18 +++ core/src/org/netbeans/Main.java 16 Oct 2002 04:49:57 -0000 @@ -68,6 +68,7 @@ Method m = c.getMethod ("main", new Class[] { String[].class }); // NOI18N // Needed e.g. for JAXP to find NbSAXParserFactoryImpl. + // Also for Lookup.getDefault to find NbTopManager.Lkp. // Note that ModuleManager.updateContextClassLoaders will later change // the loader on this and other threads to be MM.SystemClassLoader anyway. Thread.currentThread().setContextClassLoader (loader); cvs server: Diffing core/src/org/netbeans/beaninfo Index: core/src/org/netbeans/beaninfo/Bundle.properties =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/Bundle.properties,v retrieving revision 1.42 diff -u -r1.42 Bundle.properties --- core/src/org/netbeans/beaninfo/Bundle.properties 29 May 2002 19:25:40 -0000 1.42 +++ core/src/org/netbeans/beaninfo/Bundle.properties 16 Oct 2002 04:49:57 -0000 @@ -60,9 +60,6 @@ HINT_PEBI_workingDirectory_RW=The working directory to start the process in. If "null", the IDE's directory is used. HINT_PEBI_workingDirectory_RO=NOTE: you need JDK 1.3 (release version) to use this feature! -LAB_DebuggerTypeDefault=Default Debugging -HINT_DebuggerTypeDefault=Simple debugging according to the debugger's own preferences. - LAB_CompilerType=Compiler Types HINT_CompilerType=All types of compilers registered in the system. @@ -72,9 +69,6 @@ LAB_IndentEngineDefault=No Indentation HINT_IndentEngineDefault=No Indentation -LAB_DebuggerType=Debugger Types -HINT_DebuggerType=All types of debuggers registered in the system. - LAB_ExecutorType=Execution Types HINT_ExecutorType=All types of executors registered in the system. @@ -169,25 +163,3 @@ HINT_SwingBrowser=Simple HTML Browser based on Swing component PROP_SwingBrowserDescription=Browser Description HINT_SwingBrowserDescription=Description of HTML browser - -# MemberElementBeanInfo -PROP_MEMBER_NAME=Name -PROP_MEMBER_JAVADOC=JavaDoc comment -PROP_MEMBER_MODIFIERS=Modifiers - -# ClassElementBeanInfo -PROP_CLASS_SUPERCLASS=Superclass -PROP_CLASS_INTERFACES=Interfaces -PROP_CLASS_IS_CLASS=Is class - -# ConstructorElementBeanInfo -PROP_METHOD_BODY=Body -PROP_METHOD_PARAMETERS=Parameters -PROP_METHOD_EXCEPTIONS=Exceptions - -# MethodElementBeanInfo -PROP_METHOD_TYPE=Return type - -# FieldElementBeanInfo -PROP_FIELD_TYPE=Type -PROP_FIELD_INIT_VALUE=Initial value Index: core/src/org/netbeans/beaninfo/Bundle_ja.properties =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/Bundle_ja.properties,v retrieving revision 1.12 diff -u -r1.12 Bundle_ja.properties --- core/src/org/netbeans/beaninfo/Bundle_ja.properties 10 Jan 2002 15:22:02 -0000 1.12 +++ core/src/org/netbeans/beaninfo/Bundle_ja.properties 16 Oct 2002 04:49:57 -0000 @@ -264,37 +264,3 @@ PROP_SwingBrowserDescription=\u30d6\u30e9\u30a6\u30b6\u306e\u8aac\u660e # HINT_SwingBrowserDescription=Description of HTML browser HINT_SwingBrowserDescription=HTML \u30d6\u30e9\u30a6\u30b6\u306e\u8aac\u660e - -# MemberElementBeanInfo -# PROP_MEMBER_NAME=Name -PROP_MEMBER_NAME=\u540d\u524d -# PROP_MEMBER_JAVADOC=JavaDoc comment -PROP_MEMBER_JAVADOC=JavaDoc \u30b3\u30e1\u30f3\u30c8 -# PROP_MEMBER_MODIFIERS=Modifiers -PROP_MEMBER_MODIFIERS=\u4fee\u98fe\u5b50 - -# ClassElementBeanInfo -# PROP_CLASS_SUPERCLASS=Superclass -PROP_CLASS_SUPERCLASS=\u30b9\u30fc\u30d1\u30fc\u30af\u30e9\u30b9 -# PROP_CLASS_INTERFACES=Interfaces -PROP_CLASS_INTERFACES=\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9 -# PROP_CLASS_IS_CLASS=Is class -PROP_CLASS_IS_CLASS=\u30af\u30e9\u30b9\u3067\u3042\u308b - -# ConstructorElementBeanInfo -# PROP_METHOD_BODY=Body -PROP_METHOD_BODY=\u672c\u4f53 -# PROP_METHOD_PARAMETERS=Parameters -PROP_METHOD_PARAMETERS=\u30d1\u30e9\u30e1\u30fc\u30bf -# PROP_METHOD_EXCEPTIONS=Exceptions -PROP_METHOD_EXCEPTIONS=\u4f8b\u5916 - -# MethodElementBeanInfo -# PROP_METHOD_TYPE=Return type -PROP_METHOD_TYPE=\u623b\u308a\u5024\u306e\u578b - -# FieldElementBeanInfo -# PROP_FIELD_TYPE=Type -PROP_FIELD_TYPE=\u578b -# PROP_FIELD_INIT_VALUE=Initial value -PROP_FIELD_INIT_VALUE=\u521d\u671f\u5024 cvs server: core/src/org/netbeans/beaninfo/ChoicePropertyEditor.java is a new entry, no comparison available cvs server: core/src/org/netbeans/beaninfo/ClassElementBeanInfo.java was removed, no comparison available cvs server: core/src/org/netbeans/beaninfo/ConstructorElementBeanInfo.java was removed, no comparison available cvs server: core/src/org/netbeans/beaninfo/DebuggerType.java was removed, no comparison available cvs server: core/src/org/netbeans/beaninfo/DebuggerTypeBeanInfo.java was removed, no comparison available cvs server: core/src/org/netbeans/beaninfo/FieldElementBeanInfo.java was removed, no comparison available cvs server: core/src/org/netbeans/beaninfo/MemberElementBeanInfo.java was removed, no comparison available cvs server: core/src/org/netbeans/beaninfo/MethodElementBeanInfo.java was removed, no comparison available Index: core/src/org/netbeans/beaninfo/ProcessExecutorBeanInfo.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/ProcessExecutorBeanInfo.java,v retrieving revision 1.18 diff -u -r1.18 ProcessExecutorBeanInfo.java --- core/src/org/netbeans/beaninfo/ProcessExecutorBeanInfo.java 13 Feb 2002 16:26:40 -0000 1.18 +++ core/src/org/netbeans/beaninfo/ProcessExecutorBeanInfo.java 16 Oct 2002 04:49:57 -0000 @@ -63,7 +63,6 @@ prop[5].setDisplayName (bundle.getString ("PROP_PEBI_environmentVariables")); prop[5].setShortDescription (bundle.getString ("HINT_PEBI_environmentVariables")); prop[5].setExpert (true); - prop[5].setPropertyEditorClass (EnvVarEd.class); try { Runtime.class.getMethod ("exec", new Class[] { String[].class, String[].class, File.class }); // NOI18N prop[6] = new PropertyDescriptor ("workingDirectory", ProcessExecutor.class); // NOI18N @@ -107,21 +106,4 @@ return Utilities.loadImage("org/netbeans/core/resources/processExecutor32.gif"); // NOI18N } - public static class EnvVarEd extends StringArrayEditor { - - public String getAsText () { - if (getValue () == null) - return "null"; // NOI18N - else - return super.getAsText (); - } - - public void setAsText (String text) { - if ("null".equals (text)) // NOI18N - setValue (null); - else - super.setAsText (text); - } - - } } Index: core/src/org/netbeans/beaninfo/PropertySheetSettingsBeanInfo.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/PropertySheetSettingsBeanInfo.java,v retrieving revision 1.9 diff -u -r1.9 PropertySheetSettingsBeanInfo.java --- core/src/org/netbeans/beaninfo/PropertySheetSettingsBeanInfo.java 13 Feb 2002 16:26:40 -0000 1.9 +++ core/src/org/netbeans/beaninfo/PropertySheetSettingsBeanInfo.java 16 Oct 2002 04:49:57 -0000 @@ -18,7 +18,6 @@ import java.beans.*; import java.util.ResourceBundle; -import org.openide.explorer.propertysheet.editors.ChoicePropertyEditor; import org.openide.explorer.propertysheet.*; import org.openide.util.NbBundle; import org.openide.util.Utilities; cvs server: Diffing core/src/org/netbeans/beaninfo/awt cvs server: Diffing core/src/org/netbeans/beaninfo/editors cvs server: core/src/org/netbeans/beaninfo/editors/BeanEditor.java was removed, no comparison available Index: core/src/org/netbeans/beaninfo/editors/Bundle.properties =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/Bundle.properties,v retrieving revision 1.53 diff -u -r1.53 Bundle.properties --- core/src/org/netbeans/beaninfo/editors/Bundle.properties 1 Oct 2002 08:44:55 -0000 1.53 +++ core/src/org/netbeans/beaninfo/editors/Bundle.properties 16 Oct 2002 04:49:57 -0000 @@ -279,17 +279,13 @@ #ServiceTypeEditor + Debbuger, exec, compiler LAB_DefaultServiceType=Default -LAB_ChooseDebugger=Choose and Configure Object's Debugger LAB_ChooseExecutor=Choose and Configure Object's Executor LAB_ChooseCompiler=Choose and Configure Object's Compiler LAB_ChooseIndentEngine=Choose and Configure Indentation Engine LAB_ChooseServiceType=Choose and Configure Service Type -LAB_NoDebugger=(do not debug) LAB_NoCompiler=(do not compile) LAB_NoExecutor=(do not execute) # {0} - class name -EXC_NoDebugger=The class {0} is not configured to be debugged.\nYou may change this if you wish. -# {0} - class name EXC_NoExecutor=The class {0} is not configured to be executed.\nYou may change this if you wish. # {0} - file name as resource MSG_NoCompiler=The file {0} is not configured to be compiled. You can change this on its property sheet. @@ -407,3 +403,27 @@ ACSN_DataObjectPanel=N/A ACSD_DataObjectPanel=N/A +#StringArrayCustomEditor +CTL_Empty= +CTL_Item=Item: +CTL_Item_Mnemonic=I +ACSD_CTL_Item=N/A +CTL_ItemList=Item List +CTL_ItemList_Mnemonic=L +ACSD_CTL_ItemList=N/A +CTL_Add_StringArrayCustomEditor=Add +CTL_Add_StringArrayCustomEditor_Mnemonic=A +ACSD_CTL_Add_StringArrayCustomEditor=N/A +CTL_Change_StringArrayCustomEditor=Edit +CTL_Change_StringArrayCustomEditor_Mnemonic=E +ACSD_CTL_Change_StringArrayCustomEditor=N/A +CTL_Remove=Remove +CTL_Remove_Mnemonic=R +ACSD_CTL_Remove=N/A +CTL_MoveUp=Up +CTL_MoveUp_Mnemonic=U +ACSD_CTL_MoveUp=N/A +CTL_MoveDown=Down +CTL_MoveDown_Mnemonic=w +ACSD_CTL_MoveDown=N/A +ACSD_StringArrayCustomEditor=N/A Index: core/src/org/netbeans/beaninfo/editors/ClassEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/ClassEditor.java,v retrieving revision 1.9 diff -u -r1.9 ClassEditor.java --- core/src/org/netbeans/beaninfo/editors/ClassEditor.java 22 Nov 2001 08:56:55 -0000 1.9 +++ core/src/org/netbeans/beaninfo/editors/ClassEditor.java 16 Oct 2002 04:49:57 -0000 @@ -13,6 +13,9 @@ package org.netbeans.beaninfo.editors; + +import org.openide.util.Lookup; + /** A property editor for Class. * @author Jan Jancura */ @@ -57,7 +60,8 @@ */ public void setAsText(String text) throws java.lang.IllegalArgumentException { try { - setValue (org.openide.TopManager.getDefault ().systemClassLoader ().loadClass (text)); + ClassLoader loader = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); + setValue (loader.loadClass (text)); } catch (ClassNotFoundException e) { // ignore } Index: core/src/org/netbeans/beaninfo/editors/ColorEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/ColorEditor.java,v retrieving revision 1.41 diff -u -r1.41 ColorEditor.java --- core/src/org/netbeans/beaninfo/editors/ColorEditor.java 3 May 2002 14:31:25 -0000 1.41 +++ core/src/org/netbeans/beaninfo/editors/ColorEditor.java 16 Oct 2002 04:49:57 -0000 @@ -46,7 +46,6 @@ import javax.swing.UIDefaults; import javax.swing.UIManager; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.explorer.propertysheet.editors.XMLPropertyEditor; import org.openide.util.HelpCtx; Index: core/src/org/netbeans/beaninfo/editors/CompilerTypeEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/CompilerTypeEditor.java,v retrieving revision 1.12 diff -u -r1.12 CompilerTypeEditor.java --- core/src/org/netbeans/beaninfo/editors/CompilerTypeEditor.java 25 Sep 2002 11:43:30 -0000 1.12 +++ core/src/org/netbeans/beaninfo/editors/CompilerTypeEditor.java 16 Oct 2002 04:49:58 -0000 @@ -20,7 +20,6 @@ import java.text.MessageFormat; import org.openide.compiler.*; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.loaders.*; @@ -53,7 +52,7 @@ } public void prepareJob (CompilerJob ign1, Class ign2, DataObject dob) { - TopManager.getDefault ().setStatusText (MessageFormat.format + org.openide.awt.StatusDisplayer.getDefault ().setStatusText (MessageFormat.format (NbBundle.getBundle (CompilerTypeEditor.class).getString ("MSG_NoCompiler"), new Object[] { dob.getPrimaryFile ().getPath() })); } Index: core/src/org/netbeans/beaninfo/editors/DataFolderPanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/DataFolderPanel.java,v retrieving revision 1.13 diff -u -r1.13 DataFolderPanel.java --- core/src/org/netbeans/beaninfo/editors/DataFolderPanel.java 4 Oct 2002 13:21:22 -0000 1.13 +++ core/src/org/netbeans/beaninfo/editors/DataFolderPanel.java 16 Oct 2002 04:49:58 -0000 @@ -33,10 +33,8 @@ import javax.swing.KeyStroke; import javax.swing.SwingUtilities; -import org.openide.TopManager; import org.openide.DialogDescriptor; import org.openide.ErrorManager; -import org.openide.Places; import org.openide.WizardDescriptor; import org.openide.loaders.*; import org.openide.nodes.*; @@ -143,9 +141,7 @@ /** Creates node that displays all packages. */ private Node createPackagesNode () { - return ((Places)Lookup.getDefault ().lookup( Places.class )).nodes ().repository( - this - ); + return RepositoryNodeFactory.getDefault().repository(this); } /** This method is called from within the constructor to Index: core/src/org/netbeans/beaninfo/editors/DataObjectEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/DataObjectEditor.java,v retrieving revision 1.8 diff -u -r1.8 DataObjectEditor.java --- core/src/org/netbeans/beaninfo/editors/DataObjectEditor.java 24 Jul 2002 11:25:17 -0000 1.8 +++ core/src/org/netbeans/beaninfo/editors/DataObjectEditor.java 16 Oct 2002 04:49:58 -0000 @@ -15,7 +15,6 @@ import java.beans.*; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.util.NbBundle; import org.openide.loaders.DataObject; Index: core/src/org/netbeans/beaninfo/editors/DataObjectPanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/DataObjectPanel.java,v retrieving revision 1.8 diff -u -r1.8 DataObjectPanel.java --- core/src/org/netbeans/beaninfo/editors/DataObjectPanel.java 27 Sep 2002 13:50:47 -0000 1.8 +++ core/src/org/netbeans/beaninfo/editors/DataObjectPanel.java 16 Oct 2002 04:49:58 -0000 @@ -104,19 +104,15 @@ return dataFilter.acceptDataObject(obj); } }; - rootNode = TopManager.getDefault().getPlaces(). - nodes().repository(dFilter); + rootNode = RepositoryNodeFactory.getDefault().repository(dFilter); } else { - rootNode = TopManager.getDefault().getPlaces(). - nodes().repository(dataFilter); + rootNode = RepositoryNodeFactory.getDefault().repository(dataFilter); } } else { if (folderFilter != null) { - rootNode = TopManager.getDefault().getPlaces(). - nodes().repository(folderFilter); + rootNode = RepositoryNodeFactory.getDefault().repository(folderFilter); } else { - rootNode = TopManager.getDefault().getPlaces(). - nodes().repository(); + rootNode = RepositoryNodeFactory.getDefault().repository(DataFilter.ALL); } } } cvs server: core/src/org/netbeans/beaninfo/editors/DebuggerTypeEditor.java was removed, no comparison available Index: core/src/org/netbeans/beaninfo/editors/DimensionCustomEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/DimensionCustomEditor.java,v retrieving revision 1.22 diff -u -r1.22 DimensionCustomEditor.java --- core/src/org/netbeans/beaninfo/editors/DimensionCustomEditor.java 11 Apr 2002 16:27:51 -0000 1.22 +++ core/src/org/netbeans/beaninfo/editors/DimensionCustomEditor.java 16 Oct 2002 04:49:58 -0000 @@ -17,7 +17,6 @@ import java.util.ResourceBundle; import org.openide.NotifyDescriptor; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.util.NbBundle; import org.openide.explorer.propertysheet.editors.EnhancedCustomPropertyEditor; Index: core/src/org/netbeans/beaninfo/editors/DimensionEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/DimensionEditor.java,v retrieving revision 1.12 diff -u -r1.12 DimensionEditor.java --- core/src/org/netbeans/beaninfo/editors/DimensionEditor.java 3 Apr 2002 11:28:54 -0000 1.12 +++ core/src/org/netbeans/beaninfo/editors/DimensionEditor.java 16 Oct 2002 04:49:58 -0000 @@ -16,7 +16,6 @@ import java.awt.Dimension; import java.util.ResourceBundle; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.util.NbBundle; @@ -45,14 +44,17 @@ */ void setValues(int[] val) { if ((val[0] < 0) || (val[1] < 0)) { - //TopManager.getDefault().notify(...) cannot be called synchronous, because when error dialog is displayed + //DialogDisplayer.getDefault().notify(...) cannot be called synchronous, because when error dialog is displayed //PropertyEditor lost focus and setValues() method is called. After closing error dialog is focus returned //to PropertyEditor and setValues() method is called again. javax.swing.SwingUtilities.invokeLater(new Runnable() { - public void run() { - TopManager.getDefault().notify(new NotifyDescriptor.Message(bundle.getString("CTL_NegativeSize"), NotifyDescriptor.ERROR_MESSAGE)); - } - }); + public void run() { + org.openide.DialogDisplayer.getDefault().notify( + new NotifyDescriptor.Message( + bundle.getString("CTL_NegativeSize"), + NotifyDescriptor.ERROR_MESSAGE)); + } + }); } else setValue(new Dimension(val[0], val[1])); Index: core/src/org/netbeans/beaninfo/editors/ExecutorEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/ExecutorEditor.java,v retrieving revision 1.14 diff -u -r1.14 ExecutorEditor.java --- core/src/org/netbeans/beaninfo/editors/ExecutorEditor.java 22 Nov 2001 08:56:55 -0000 1.14 +++ core/src/org/netbeans/beaninfo/editors/ExecutorEditor.java 16 Oct 2002 04:49:58 -0000 @@ -53,7 +53,7 @@ public ExecutorTask execute (final ExecInfo info) throws IOException { throw new IOException ("do not execute") { // NOI18N public String getLocalizedMessage () { - return MessageFormat.format (NbBundle.getBundle (DebuggerTypeEditor.class).getString ("EXC_NoExecutor"), + return MessageFormat.format (NbBundle.getBundle (ExecutorEditor.class).getString ("EXC_NoExecutor"), new Object[] { info.getClassName () }); } }; Index: core/src/org/netbeans/beaninfo/editors/ExtensionListCustomEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/ExtensionListCustomEditor.java,v retrieving revision 1.2 diff -u -r1.2 ExtensionListCustomEditor.java --- core/src/org/netbeans/beaninfo/editors/ExtensionListCustomEditor.java 9 Sep 2002 08:11:01 -0000 1.2 +++ core/src/org/netbeans/beaninfo/editors/ExtensionListCustomEditor.java 16 Oct 2002 04:49:58 -0000 @@ -22,7 +22,6 @@ import javax.swing.*; import javax.swing.border.*; -import org.openide.explorer.propertysheet.editors.StringArrayCustomizable; import org.openide.loaders.ExtensionList; //import org.openide.util.HelpCtx; Index: core/src/org/netbeans/beaninfo/editors/ExtensionListEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/ExtensionListEditor.java,v retrieving revision 1.10 diff -u -r1.10 ExtensionListEditor.java --- core/src/org/netbeans/beaninfo/editors/ExtensionListEditor.java 9 Sep 2002 08:11:00 -0000 1.10 +++ core/src/org/netbeans/beaninfo/editors/ExtensionListEditor.java 16 Oct 2002 04:49:58 -0000 @@ -21,7 +21,6 @@ import org.openide.loaders.ExtensionList; import org.openide.util.enum.ArrayEnumeration; import org.openide.util.NbBundle; -import org.openide.explorer.propertysheet.editors.*; import org.openide.nodes.Node; /** Property editor for {@link ExtensionList}s. @@ -31,7 +30,7 @@ * @author Jaroslav Tulach * @version 0.11 November 11, 1997 */ -public class ExtensionListEditor extends Object implements PropertyEditor, StringArrayCustomizable, +public class ExtensionListEditor extends Object implements PropertyEditor, ExPropertyEditor { /** value to edit */ private ExtensionList value; Index: core/src/org/netbeans/beaninfo/editors/FileArrayEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/FileArrayEditor.java,v retrieving revision 1.5 diff -u -r1.5 FileArrayEditor.java --- core/src/org/netbeans/beaninfo/editors/FileArrayEditor.java 5 May 2002 14:56:54 -0000 1.5 +++ core/src/org/netbeans/beaninfo/editors/FileArrayEditor.java 16 Oct 2002 04:49:58 -0000 @@ -22,7 +22,6 @@ import javax.swing.JFileChooser; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.nodes.Node; import org.openide.explorer.propertysheet.ExPropertyEditor; import org.openide.explorer.propertysheet.PropertyEnv; Index: core/src/org/netbeans/beaninfo/editors/FileEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/FileEditor.java,v retrieving revision 1.19 diff -u -r1.19 FileEditor.java --- core/src/org/netbeans/beaninfo/editors/FileEditor.java 15 May 2002 15:18:19 -0000 1.19 +++ core/src/org/netbeans/beaninfo/editors/FileEditor.java 16 Oct 2002 04:49:58 -0000 @@ -30,7 +30,6 @@ import javax.swing.KeyStroke; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.nodes.Node; import org.openide.explorer.propertysheet.ExPropertyEditor; import org.openide.explorer.propertysheet.PropertyEnv; Index: core/src/org/netbeans/beaninfo/editors/FileSystemEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/FileSystemEditor.java,v retrieving revision 1.3 diff -u -r1.3 FileSystemEditor.java --- core/src/org/netbeans/beaninfo/editors/FileSystemEditor.java 1 Jun 2000 15:28:58 -0000 1.3 +++ core/src/org/netbeans/beaninfo/editors/FileSystemEditor.java 16 Oct 2002 04:49:58 -0000 @@ -17,11 +17,13 @@ import java.awt.*; import javax.swing.*; import javax.swing.border.*; +import org.netbeans.core.NbPlaces; import org.openide.*; import org.openide.nodes.*; import org.openide.cookies.InstanceCookie; import org.openide.filesystems.FileSystem; +import org.openide.util.Lookup; /** * Property editor for org.openide.filesystems.FileSystem @@ -76,7 +78,7 @@ * @param text The string to be parsed. */ public void setAsText(String text) { - Node settings = TopManager.getDefault().getPlaces ().nodes ().repositorySettings (); + Node settings = NbPlaces.getDefault().repositorySettings(); Node n = settings.getChildren().findChild(text); if (n != null) { InstanceCookie ic = (InstanceCookie)n.getCookie(InstanceCookie.class); Index: core/src/org/netbeans/beaninfo/editors/FileSystemPanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/FileSystemPanel.java,v retrieving revision 1.15 diff -u -r1.15 FileSystemPanel.java --- core/src/org/netbeans/beaninfo/editors/FileSystemPanel.java 11 Apr 2002 16:27:52 -0000 1.15 +++ core/src/org/netbeans/beaninfo/editors/FileSystemPanel.java 16 Oct 2002 04:49:58 -0000 @@ -13,6 +13,8 @@ package org.netbeans.beaninfo.editors; +import org.openide.loaders.DataFilter; + import java.util.*; import java.awt.event.*; import java.beans.*; @@ -35,6 +37,8 @@ import org.openide.explorer.propertysheet.editors.EnhancedCustomPropertyEditor; // TODO: check if we really need this import org.netbeans.core.*; +import org.netbeans.core.NbPlaces; +import org.openide.loaders.RepositoryNodeFactory; /** * A panel capable of creating new FileSystem object. @@ -402,7 +406,8 @@ } catch (java.beans.IntrospectionException ex) { } } - TopManager.getDefault().notify(new DialogDescriptor.Message(getString("MSG_WrongFileName"))); + org.openide.DialogDisplayer.getDefault().notify( + new DialogDescriptor.Message(getString("MSG_WrongFileName"))); } }//GEN-LAST:event_browseJarButtonActionPerformed @@ -444,7 +449,8 @@ } catch (java.beans.IntrospectionException ex) { } } - TopManager.getDefault().notify(new DialogDescriptor.Message(getString("MSG_WrongFile"))); + org.openide.DialogDisplayer.getDefault().notify( + new DialogDescriptor.Message(getString("MSG_WrongFile"))); } // chooser.dispose(); @@ -547,7 +553,7 @@ */ private void initialize() { // first find the newTypeNames - Node n = TopManager.getDefault().getPlaces ().nodes ().repository(); + Node n = RepositoryNodeFactory.getDefault().repository(DataFilter.ALL); newTypes = n.getNewTypes(); Collection c = new ArrayList(); for (int i = 0; i < newTypes.length; i++) { Index: core/src/org/netbeans/beaninfo/editors/FontEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/FontEditor.java,v retrieving revision 1.28 diff -u -r1.28 FontEditor.java --- core/src/org/netbeans/beaninfo/editors/FontEditor.java 11 Apr 2002 16:27:52 -0000 1.28 +++ core/src/org/netbeans/beaninfo/editors/FontEditor.java 16 Oct 2002 04:49:58 -0000 @@ -24,7 +24,6 @@ import javax.swing.border.*; import javax.swing.event.*; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.explorer.propertysheet.editors.XMLPropertyEditor; import org.openide.util.HelpCtx; Index: core/src/org/netbeans/beaninfo/editors/HtmlBrowser.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/HtmlBrowser.java,v retrieving revision 1.6 diff -u -r1.6 HtmlBrowser.java --- core/src/org/netbeans/beaninfo/editors/HtmlBrowser.java 5 Sep 2002 13:37:34 -0000 1.6 +++ core/src/org/netbeans/beaninfo/editors/HtmlBrowser.java 16 Oct 2002 04:49:58 -0000 @@ -19,7 +19,6 @@ import java.util.Iterator; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.cookies.InstanceCookie; import org.openide.filesystems.FileObject; import org.openide.filesystems.Repository; Index: core/src/org/netbeans/beaninfo/editors/IndentEngineEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/IndentEngineEditor.java,v retrieving revision 1.3 diff -u -r1.3 IndentEngineEditor.java --- core/src/org/netbeans/beaninfo/editors/IndentEngineEditor.java 22 Nov 2001 08:56:55 -0000 1.3 +++ core/src/org/netbeans/beaninfo/editors/IndentEngineEditor.java 16 Oct 2002 04:49:58 -0000 @@ -20,7 +20,6 @@ import java.text.MessageFormat; import org.openide.compiler.*; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.loaders.*; Index: core/src/org/netbeans/beaninfo/editors/InsetsCustomEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/InsetsCustomEditor.java,v retrieving revision 1.21 diff -u -r1.21 InsetsCustomEditor.java --- core/src/org/netbeans/beaninfo/editors/InsetsCustomEditor.java 11 Apr 2002 16:27:52 -0000 1.21 +++ core/src/org/netbeans/beaninfo/editors/InsetsCustomEditor.java 16 Oct 2002 04:49:58 -0000 @@ -17,7 +17,6 @@ import java.util.ResourceBundle; import org.openide.NotifyDescriptor; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.util.NbBundle; import org.openide.explorer.propertysheet.editors.EnhancedCustomPropertyEditor; Index: core/src/org/netbeans/beaninfo/editors/InsetsEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/InsetsEditor.java,v retrieving revision 1.12 diff -u -r1.12 InsetsEditor.java --- core/src/org/netbeans/beaninfo/editors/InsetsEditor.java 22 Nov 2001 08:56:55 -0000 1.12 +++ core/src/org/netbeans/beaninfo/editors/InsetsEditor.java 16 Oct 2002 04:49:58 -0000 @@ -16,7 +16,6 @@ import java.awt.Insets; import java.util.ResourceBundle; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.util.NbBundle; @@ -48,14 +47,17 @@ */ void setValues(int[] val) { if ((val[0] < 0) || (val[1] < 0) || (val[2] < 0) || (val[3] < 0)) { - //TopManager.getDefault().notify(...) cannot be called synchronous, because when error dialog is displayed + //DialogDisplayer.getDefault().notify(...) cannot be called synchronous, because when error dialog is displayed //PropertyEditor lost focus and setValues() method is called. After closing error dialog is focus returned //to PropertyEditor and setValues() method is called again. javax.swing.SwingUtilities.invokeLater(new Runnable() { - public void run() { - TopManager.getDefault().notify(new NotifyDescriptor.Message(bundle.getString("CTL_NegativeSize"), NotifyDescriptor.ERROR_MESSAGE)); - } - }); + public void run() { + org.openide.DialogDisplayer.getDefault().notify( + new NotifyDescriptor.Message( + bundle.getString("CTL_NegativeSize"), + NotifyDescriptor.ERROR_MESSAGE)); + } + }); } else setValue(new Insets(val[0], val[1], val[2], val[3])); Index: core/src/org/netbeans/beaninfo/editors/NbClassPathCustomEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/NbClassPathCustomEditor.java,v retrieving revision 1.14 diff -u -r1.14 NbClassPathCustomEditor.java --- core/src/org/netbeans/beaninfo/editors/NbClassPathCustomEditor.java 30 Sep 2002 07:49:02 -0000 1.14 +++ core/src/org/netbeans/beaninfo/editors/NbClassPathCustomEditor.java 16 Oct 2002 04:49:58 -0000 @@ -27,7 +27,6 @@ import org.openide.execution.NbClassPath; import org.openide.explorer.propertysheet.editors.EnhancedCustomPropertyEditor; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.windows.TopComponent; Index: core/src/org/netbeans/beaninfo/editors/ObjectEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/ObjectEditor.java,v retrieving revision 1.8 diff -u -r1.8 ObjectEditor.java --- core/src/org/netbeans/beaninfo/editors/ObjectEditor.java 11 Apr 2002 16:27:53 -0000 1.8 +++ core/src/org/netbeans/beaninfo/editors/ObjectEditor.java 16 Oct 2002 04:49:58 -0000 @@ -17,7 +17,6 @@ import java.awt.Component; import java.util.*; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.cookies.InstanceCookie; import org.openide.filesystems.*; @@ -122,7 +121,7 @@ protected synchronized Node root () { if (root == null) { root = new org.netbeans.core.ui.LookupNode ( - org.netbeans.core.NbPlaces.findSessionFolder ("/Services") // NOI18N + org.netbeans.core.NbPlaces.getDefault().findSessionFolder ("/Services") // NOI18N ); } return root; Index: core/src/org/netbeans/beaninfo/editors/PointCustomEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/PointCustomEditor.java,v retrieving revision 1.21 diff -u -r1.21 PointCustomEditor.java --- core/src/org/netbeans/beaninfo/editors/PointCustomEditor.java 11 Apr 2002 16:27:53 -0000 1.21 +++ core/src/org/netbeans/beaninfo/editors/PointCustomEditor.java 16 Oct 2002 04:49:58 -0000 @@ -18,7 +18,6 @@ import java.util.ResourceBundle; import org.openide.NotifyDescriptor; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.util.NbBundle; import org.openide.explorer.propertysheet.editors.EnhancedCustomPropertyEditor; Index: core/src/org/netbeans/beaninfo/editors/PointEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/PointEditor.java,v retrieving revision 1.11 diff -u -r1.11 PointEditor.java --- core/src/org/netbeans/beaninfo/editors/PointEditor.java 22 Nov 2001 08:56:55 -0000 1.11 +++ core/src/org/netbeans/beaninfo/editors/PointEditor.java 16 Oct 2002 04:49:58 -0000 @@ -16,7 +16,6 @@ import java.awt.Point; import java.util.ResourceBundle; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.util.NbBundle; @@ -45,14 +44,17 @@ */ void setValues(int[] val) { if ((val[0] < 0) || (val[1] < 0)) { - //TopManager.getDefault().notify(...) cannot be called synchronous, because when error dialog is displayed + //DilaogDisplayer.getDefault().notify(...) cannot be called synchronous, because when error dialog is displayed //PropertyEditor lost focus and setValues() method is called. After closing error dialog is focus returned //to PropertyEditor and setValues() method is called again. javax.swing.SwingUtilities.invokeLater(new Runnable() { - public void run() { - TopManager.getDefault().notify(new NotifyDescriptor.Message(bundle.getString("CTL_NegativeSize"), NotifyDescriptor.ERROR_MESSAGE)); - } - }); + public void run() { + org.openide.DialogDisplayer.getDefault().notify( + new NotifyDescriptor.Message( + bundle.getString("CTL_NegativeSize"), + NotifyDescriptor.ERROR_MESSAGE)); + } + }); } else setValue(new Point(val[0], val[1])); Index: core/src/org/netbeans/beaninfo/editors/PropertiesCustomEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/PropertiesCustomEditor.java,v retrieving revision 1.17 diff -u -r1.17 PropertiesCustomEditor.java --- core/src/org/netbeans/beaninfo/editors/PropertiesCustomEditor.java 7 May 2002 08:43:00 -0000 1.17 +++ core/src/org/netbeans/beaninfo/editors/PropertiesCustomEditor.java 16 Oct 2002 04:49:58 -0000 @@ -26,7 +26,6 @@ import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.NotifyDescriptor; -import org.openide.TopManager; /** A custom editor for Properties. * @@ -83,7 +82,8 @@ NotifyDescriptor.Confirmation nd = new NotifyDescriptor.Confirmation( NbBundle.getBundle(PropertiesCustomEditor.class).getString("MSG_PropertiesComments") ); - if ( !TopManager.getDefault().notify( nd ).equals( NotifyDescriptor.YES_OPTION ) ) { + if ( !org.openide.DialogDisplayer.getDefault().notify( nd ) + .equals( NotifyDescriptor.YES_OPTION ) ) { throw new IllegalStateException(); } } Index: core/src/org/netbeans/beaninfo/editors/PropertiesEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/PropertiesEditor.java,v retrieving revision 1.9 diff -u -r1.9 PropertiesEditor.java --- core/src/org/netbeans/beaninfo/editors/PropertiesEditor.java 11 Apr 2002 16:27:53 -0000 1.9 +++ core/src/org/netbeans/beaninfo/editors/PropertiesEditor.java 16 Oct 2002 04:49:58 -0000 @@ -21,7 +21,6 @@ import java.util.Properties; import org.openide.ErrorManager; -import org.openide.TopManager; /** A property editor for Properties class. Index: core/src/org/netbeans/beaninfo/editors/RectangleCustomEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/RectangleCustomEditor.java,v retrieving revision 1.18 diff -u -r1.18 RectangleCustomEditor.java --- core/src/org/netbeans/beaninfo/editors/RectangleCustomEditor.java 11 Apr 2002 16:27:53 -0000 1.18 +++ core/src/org/netbeans/beaninfo/editors/RectangleCustomEditor.java 16 Oct 2002 04:49:58 -0000 @@ -17,7 +17,6 @@ import java.util.ResourceBundle; import org.openide.NotifyDescriptor; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.util.NbBundle; import org.openide.explorer.propertysheet.editors.EnhancedCustomPropertyEditor; Index: core/src/org/netbeans/beaninfo/editors/RectangleEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/RectangleEditor.java,v retrieving revision 1.11 diff -u -r1.11 RectangleEditor.java --- core/src/org/netbeans/beaninfo/editors/RectangleEditor.java 22 Nov 2001 08:56:55 -0000 1.11 +++ core/src/org/netbeans/beaninfo/editors/RectangleEditor.java 16 Oct 2002 04:49:58 -0000 @@ -16,7 +16,6 @@ import java.awt.Rectangle; import java.util.ResourceBundle; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.util.NbBundle; @@ -44,14 +43,17 @@ */ void setValues(int[] val) { if ((val[0] < 0) || (val[1] < 0) || (val[2] < 0) || (val[3] < 0)) { - //TopManager.getDefault().notify(...) cannot be called synchronous, because when error dialog is displayed + //DialogDisplayer.getDefault().notify(...) cannot be called synchronous, because when error dialog is displayed //PropertyEditor lost focus and setValues() method is called. After closing error dialog is focus returned //to PropertyEditor and setValues() method is called again. javax.swing.SwingUtilities.invokeLater(new Runnable() { - public void run() { - TopManager.getDefault().notify(new NotifyDescriptor.Message(bundle.getString("CTL_NegativeSize"), NotifyDescriptor.ERROR_MESSAGE)); - } - }); + public void run() { + org.openide.DialogDisplayer.getDefault().notify( + new NotifyDescriptor.Message( + bundle.getString("CTL_NegativeSize"), + NotifyDescriptor.ERROR_MESSAGE)); + } + }); } else setValue(new Rectangle(val[0], val[1], val[2], val[3])); Index: core/src/org/netbeans/beaninfo/editors/ServiceTypeEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/ServiceTypeEditor.java,v retrieving revision 1.13 diff -u -r1.13 ServiceTypeEditor.java --- core/src/org/netbeans/beaninfo/editors/ServiceTypeEditor.java 26 Oct 2001 19:42:19 -0000 1.13 +++ core/src/org/netbeans/beaninfo/editors/ServiceTypeEditor.java 16 Oct 2002 04:49:58 -0000 @@ -17,10 +17,12 @@ import java.util.ArrayList; import java.util.Enumeration; -import org.openide.TopManager; +import org.openide.filesystems.Repository; import org.openide.ServiceType; import org.openide.execution.Executor; import org.openide.explorer.propertysheet.*; +import org.openide.util.Lookup; + /** Support for property editor for Executor. * @@ -99,7 +101,9 @@ */ private void updateTags () { java.util.LinkedList names = new java.util.LinkedList (); - Enumeration ee = TopManager.getDefault ().getServices ().services (clazz); + ServiceType.Registry registry = (ServiceType.Registry)Lookup.getDefault () + .lookup (ServiceType.Registry.class); + Enumeration ee = registry.services (clazz); while (ee.hasMoreElements()) { ServiceType e = (ServiceType) ee.nextElement(); names.add(e.getName()); @@ -142,7 +146,9 @@ if (none != null && none.getName ().equals (text)) setValue (none); else { - Enumeration en = TopManager.getDefault ().getServices ().services (clazz); + ServiceType.Registry registry = (ServiceType.Registry)Lookup.getDefault () + .lookup (ServiceType.Registry.class); + Enumeration en = registry.services (clazz); while (en.hasMoreElements ()) { ServiceType t = (ServiceType)en.nextElement (); if (text.equals (t.getName ())) { Index: core/src/org/netbeans/beaninfo/editors/ServiceTypePanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/ServiceTypePanel.java,v retrieving revision 1.18 diff -u -r1.18 ServiceTypePanel.java --- core/src/org/netbeans/beaninfo/editors/ServiceTypePanel.java 17 May 2002 12:54:26 -0000 1.18 +++ core/src/org/netbeans/beaninfo/editors/ServiceTypePanel.java 16 Oct 2002 04:49:58 -0000 @@ -23,6 +23,7 @@ import org.openide.execution.*; import org.openide.nodes.*; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; /** Service type panel for viewing, selecting and configuring * of executors and other services. @@ -162,7 +163,9 @@ private List nodes () { services = new ArrayList (20); List l = new LinkedList (); - Enumeration en = TopManager.getDefault ().getServices ().services (clazz); + ServiceType.Registry registry = (ServiceType.Registry)Lookup.getDefault () + .lookup (ServiceType.Registry.class); + Enumeration en = registry.services (clazz); while (en.hasMoreElements ()) { try { Object service = en.nextElement (); cvs server: core/src/org/netbeans/beaninfo/editors/StringArrayCustomEditor.form is a new entry, no comparison available cvs server: core/src/org/netbeans/beaninfo/editors/StringArrayCustomEditor.java is a new entry, no comparison available cvs server: core/src/org/netbeans/beaninfo/editors/StringArrayCustomizable.java is a new entry, no comparison available cvs server: core/src/org/netbeans/beaninfo/editors/StringArrayEditor.java is a new entry, no comparison available cvs server: Diffing core/src/org/netbeans/beaninfo/editors/resources cvs server: Diffing core/src/org/netbeans/beaninfo/swing cvs server: Diffing core/src/org/netbeans/core Index: core/src/org/netbeans/core/ActionsPanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ActionsPanel.java,v retrieving revision 1.27 diff -u -r1.27 ActionsPanel.java --- core/src/org/netbeans/core/ActionsPanel.java 12 Mar 2002 10:35:25 -0000 1.27 +++ core/src/org/netbeans/core/ActionsPanel.java 16 Oct 2002 04:49:59 -0000 @@ -32,6 +32,7 @@ import org.openide.loaders.DataFolder; import org.openide.loaders.InstanceDataObject; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.Utilities; import org.openide.util.actions.SystemAction; @@ -120,7 +121,7 @@ private void updateSelectedAction (SystemAction action) { selectedAction = action; - Keymap map = TopManager.getDefault ().getGlobalKeymap (); + Keymap map = (Keymap)Lookup.getDefault().lookup(Keymap.class); Object[] acts = map.getBoundActions(); @@ -228,7 +229,7 @@ private void shortcutRemoveButtonActionPerformed (java.awt.event.ActionEvent evt) {//GEN-FIRST:event_shortcutRemoveButtonActionPerformed Object[] selectedItems = shortcutsList.getSelectedValues(); - Keymap map = TopManager.getDefault ().getGlobalKeymap (); + Keymap map = (Keymap)Lookup.getDefault().lookup(Keymap.class); for (int i = 0; i < selectedItems.length; i++) { KeyStroke ks = (KeyStroke)nameToStroke.get (selectedItems[i]); if (ks != null) { @@ -244,13 +245,13 @@ private void shortcutAddButtonActionPerformed (java.awt.event.ActionEvent evt) {//GEN-FIRST:event_shortcutAddButtonActionPerformed KeyStroke existingStroke = null; boolean shortcutAccepted = false; - Keymap map = TopManager.getDefault ().getGlobalKeymap (); + Keymap map = (Keymap)Lookup.getDefault().lookup(Keymap.class); while (true) { ShortcutEnterPanel sep = new ShortcutEnterPanel (existingStroke); DialogDescriptor dd = new DialogDescriptor (sep, bundle.getString ("ActionsPanel.AddShortcut")); - JDialog addshort = (JDialog)TopManager.getDefault().createDialog(dd); + JDialog addshort = (JDialog)org.openide.DialogDisplayer.getDefault().createDialog(dd); addshort.show (); if (dd.getValue().equals (DialogDescriptor.OK_OPTION)) { existingStroke = sep.getShortcut (); @@ -266,7 +267,7 @@ } ); NotifyDescriptor nd = new NotifyDescriptor.Confirmation (text); - Object result = TopManager.getDefault ().notify (nd); + Object result = org.openide.DialogDisplayer.getDefault ().notify (nd); if (result.equals (NotifyDescriptor.YES_OPTION)) { shortcutAccepted = true; // yes, will replace eisting shortcut with new one shortcutsEditor.removeShortcut(existingStroke, a); @@ -328,7 +329,7 @@ TreeNode createActionsRootNode () { final ArrayList actionGroups = new ArrayList (); - DataFolder actionsFolder = TopManager.getDefault ().getPlaces ().folders ().actions (); + DataFolder actionsFolder = NbPlaces.getDefault().actions (); DataObject[] actionsChildren = actionsFolder.getChildren (); for (int i = 0; i < actionsChildren.length; i++) { if (actionsChildren[i] instanceof DataFolder) actionGroups.add (new ActionsGroupNode ((DataFolder)actionsChildren[i], null)); Index: core/src/org/netbeans/core/ActionsPoolNode.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ActionsPoolNode.java,v retrieving revision 1.12 diff -u -r1.12 ActionsPoolNode.java --- core/src/org/netbeans/core/ActionsPoolNode.java 26 Feb 2002 13:14:57 -0000 1.12 +++ core/src/org/netbeans/core/ActionsPoolNode.java 16 Oct 2002 04:49:59 -0000 @@ -25,6 +25,7 @@ import org.openide.util.datatransfer.NewType; import org.openide.util.actions.SystemAction; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.NbBundle; /** The node for the actions pool folder representation. @@ -43,7 +44,7 @@ private static final Node.PropertySet[] NO_PROPERTIES = new Node.PropertySet[0]; public ActionsPoolNode () { - this (NbTopManager.getDefault ().getPlaces ().folders ().actions ()); + this (NbPlaces.getDefault().actions ()); } /** Constructs this node with given node to filter. Index: core/src/org/netbeans/core/AutomountSupport.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/AutomountSupport.java,v retrieving revision 1.47 diff -u -r1.47 AutomountSupport.java --- core/src/org/netbeans/core/AutomountSupport.java 9 Oct 2002 14:40:34 -0000 1.47 +++ core/src/org/netbeans/core/AutomountSupport.java 16 Oct 2002 04:49:59 -0000 @@ -16,7 +16,6 @@ import java.util.*; import java.beans.*; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.cookies.InstanceCookie; import org.openide.filesystems.*; @@ -205,7 +204,7 @@ return defaultTask; } - DataFolder folder = NbPlaces.findSessionFolder ("Mount"); // NOI18N + DataFolder folder = NbPlaces.getDefault().findSessionFolder ("Mount"); // NOI18N AutomountSupport auto = new AutomountSupport (folder); auto.addTaskListener (auto); @@ -252,7 +251,7 @@ FileSystem fs = Repository.getDefault ().getDefaultFileSystem(); fs.runAtomicAction (new FileSystem.AtomicAction () { public void run () { - DataFolder df = NbPlaces.findSessionFolder ("Mount"); // NOI18N + DataFolder df = NbPlaces.getDefault().findSessionFolder ("Mount"); // NOI18N DataObject[] arr = df.getChildren (); checkSaved (getList (), df, arr); } Index: core/src/org/netbeans/core/Bundle.properties =================================================================== RCS file: /cvs/core/src/org/netbeans/core/Bundle.properties,v retrieving revision 1.354 diff -u -r1.354 Bundle.properties --- core/src/org/netbeans/core/Bundle.properties 5 Sep 2002 13:38:28 -0000 1.354 +++ core/src/org/netbeans/core/Bundle.properties 16 Oct 2002 04:49:59 -0000 @@ -70,9 +70,6 @@ #NOI18N AboutTextColor=0x000000 -#ControlPanelNode -CTL_ControlPanel=Control Panel - #DataSystem dataSystemName=Filesystems CTL_Repository_Hint=Filesystems provides access to Java classes and other development objects. @@ -81,8 +78,6 @@ #DesktopNode CTL_Desktop_name=Desktop CTL_Desktop_hint=The Desktop is the main root of objects in the IDE. -CTL_Project_Settings=Project Settings -CTL_Project_Settings_Hint=Contains project-specific settings. CTL_roots_name=Roots #Session Settings Subnodes @@ -392,14 +387,6 @@ PROP_newToolbarConfigDialog=New Configuration PROP_newToolbarConfig=Configuration -# Open new project -MSG_DoSavePreviousProject=Save current project? - -# NbProjectOperation -EXC_WorkspaceLoadFail=Cannot load workspaces. Using default configuration. -MSG_DefaultProject=Using default project settings... -EXC_CorruptedProject=Your saved project files are corrupted. - # Services # {0} - ordinary name LAB_NewExecutor_Instantiate={0} Service @@ -625,7 +612,6 @@ UI/Runtime=Runtime # UI/Runtime_Hint=Represents aspects of the running state of the IDE. Services/org-netbeans-core-execution-ExecutionSettings.settings=Execution Settings -Services/org-openide-src-nodes-SourceOptions.settings=Java Elements Services/org-netbeans-core-output-OutputSettings.settings=Output Window Services/org-openide-explorer-propertysheet-PropertySheetSettings.settings=Property Sheet Services/org-openide-text-PrintSettings.settings=Print Settings cvs server: core/src/org/netbeans/core/ClassLoaderSupport.java was removed, no comparison available cvs server: core/src/org/netbeans/core/ControlPanelNode.java was removed, no comparison available Index: core/src/org/netbeans/core/DataSystem.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/DataSystem.java,v retrieving revision 1.42 diff -u -r1.42 DataSystem.java --- core/src/org/netbeans/core/DataSystem.java 31 May 2002 15:36:23 -0000 1.42 +++ core/src/org/netbeans/core/DataSystem.java 16 Oct 2002 04:49:59 -0000 @@ -20,7 +20,6 @@ import java.io.ObjectInputStream; import java.util.*; -import org.openide.TopManager; import org.openide.actions.NewTemplateAction; import org.openide.loaders.DataFolder; import org.openide.loaders.DataFilter; @@ -33,6 +32,7 @@ import org.openide.util.actions.SystemAction; import org.openide.loaders.DataObjectNotFoundException; import org.openide.ErrorManager; +import org.openide.loaders.RepositoryNodeFactory; /** Data system encapsulates logical structure of more file systems. * It also allows filtering of content of DataFolders @@ -70,13 +70,13 @@ * @param filter the filter to use */ private DataSystem(Children ch, DataFilter filter) { - this (ch, NbTopManager.get ().getRepository (), filter); + this (ch, Repository.getDefault(), filter); } // delegate Index cookie to Filesystems Settings for convenience public Node.Cookie getCookie(Class clazz) { if (clazz == Index.class) { - return TopManager.getDefault ().getPlaces().nodes().repositorySettings().getCookie(clazz); + return NbPlaces.getDefault().repositorySettings().getCookie(clazz); } else { return super.getCookie(clazz); } @@ -198,9 +198,10 @@ public Component getCustomizer () { NbMainExplorer.SettingsTab nb = new NbMainExplorer.SettingsTab (); nb.getExplorerManager ().setRootContext ( - TopManager.getDefault ().getPlaces().nodes().repositorySettings() + NbPlaces.getDefault().repositorySettings() ); - nb.getAccessibleContext().setAccessibleDescription(NbBundle.getBundle(DataSystem.class).getString("ACSD_DataSystemCustomizer")); + nb.getAccessibleContext().setAccessibleDescription( + NbBundle.getBundle(DataSystem.class).getString("ACSD_DataSystemCustomizer")); return nb; } @@ -283,7 +284,13 @@ return getDataSystem (filter); } } + + public static final class NbRepositoryNodeFactory extends RepositoryNodeFactory { + + public Node repository(DataFilter f) { + return DataSystem.getDataSystem(f == DataFilter.ALL ? null : f); + } + + } } - - Index: core/src/org/netbeans/core/EnvironmentNode.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/EnvironmentNode.java,v retrieving revision 1.34 diff -u -r1.34 EnvironmentNode.java --- core/src/org/netbeans/core/EnvironmentNode.java 25 Apr 2002 17:17:41 -0000 1.34 +++ core/src/org/netbeans/core/EnvironmentNode.java 16 Oct 2002 04:49:59 -0000 @@ -65,13 +65,13 @@ Node n = (Node)types.get (name); if (n == null) { if (ManifestSection.NodeSection.TYPE_ROOTS.equals(name)) { - n = new EnvironmentNode (name, new NbPlaces.Ch (name)); + n = new EnvironmentNode (name, NbPlaces.getDefault().createChildren(name)); } else { DataFolder folder = null; if (ManifestSection.NodeSection.TYPE_ENVIRONMENT.equals(name)) { - folder = NbPlaces.findSessionFolder("UI/Runtime"); // NOI18N + folder = NbPlaces.getDefault().findSessionFolder("UI/Runtime"); // NOI18N } else { - folder = NbPlaces.findSessionFolder("UI/Services"); // NOI18N + folder = NbPlaces.getDefault().findSessionFolder("UI/Services"); // NOI18N } n = new PersistentLookupNode(name, folder); } Index: core/src/org/netbeans/core/ExLocalFileSystem.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ExLocalFileSystem.java,v retrieving revision 1.23 diff -u -r1.23 ExLocalFileSystem.java --- core/src/org/netbeans/core/ExLocalFileSystem.java 17 Jun 2002 16:21:04 -0000 1.23 +++ core/src/org/netbeans/core/ExLocalFileSystem.java 16 Oct 2002 04:49:59 -0000 @@ -20,7 +20,6 @@ import org.apache.regexp.RE; import org.apache.regexp.RESyntaxException; -import org.openide.TopManager; import org.openide.filesystems.*; import org.openide.loaders.ExtensionList; import org.openide.util.RequestProcessor; Index: core/src/org/netbeans/core/ExitDialog.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ExitDialog.java,v retrieving revision 1.28 diff -u -r1.28 ExitDialog.java --- core/src/org/netbeans/core/ExitDialog.java 9 Oct 2002 09:26:44 -0000 1.28 +++ core/src/org/netbeans/core/ExitDialog.java 16 Oct 2002 04:49:59 -0000 @@ -60,7 +60,6 @@ import org.openide.nodes.NodeAdapter; import org.openide.nodes.NodeMemberEvent; import org.openide.NotifyDescriptor; -import org.openide.TopManager; import org.openide.util.actions.CallableSystemAction; import org.openide.util.actions.SystemAction; import org.openide.util.HelpCtx; @@ -68,7 +67,6 @@ import org.openide.util.Utilities; import org.openide.util.WeakListener; -import org.netbeans.core.projects.SessionManager; import org.netbeans.core.execution.ExecutionEngine; import org.netbeans.core.execution.ExecutionEvent; import org.netbeans.core.execution.ExecutionListener; @@ -345,7 +343,7 @@ exitComponent // Action Listener ); exitDlgDescriptor.setAdditionalOptions (new Object[] {NotifyDescriptor.CANCEL_OPTION}); - exitDialog = TopManager.getDefault ().createDialog (exitDlgDescriptor); + exitDialog = org.openide.DialogDisplayer.getDefault ().createDialog (exitDlgDescriptor); } result = false; @@ -463,7 +461,7 @@ } }); - dialog[0] = TopManager.getDefault().createDialog(dd); + dialog[0] = org.openide.DialogDisplayer.getDefault().createDialog(dd); dialog[0].addWindowListener(new java.awt.event.WindowAdapter() { public void windowOpened(java.awt.event.WindowEvent evt) { Index: core/src/org/netbeans/core/FileSelector.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/FileSelector.java,v retrieving revision 1.25 diff -u -r1.25 FileSelector.java --- core/src/org/netbeans/core/FileSelector.java 19 Jul 2002 11:04:47 -0000 1.25 +++ core/src/org/netbeans/core/FileSelector.java 16 Oct 2002 04:49:59 -0000 @@ -51,7 +51,6 @@ import org.openide.explorer.view.BeanTreeView; import org.openide.nodes.Node; import org.openide.nodes.NodeAcceptor; -import org.openide.TopManager; import org.openide.util.NbBundle; Index: core/src/org/netbeans/core/IDESettings.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/IDESettings.java,v retrieving revision 1.50 diff -u -r1.50 IDESettings.java --- core/src/org/netbeans/core/IDESettings.java 26 Sep 2002 05:43:25 -0000 1.50 +++ core/src/org/netbeans/core/IDESettings.java 16 Oct 2002 04:49:59 -0000 @@ -29,7 +29,6 @@ import org.openide.NotifyDescriptor; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.awt.HtmlBrowser; import org.openide.cookies.InstanceCookie; import org.openide.filesystems.FileObject; @@ -389,7 +388,7 @@ if (old != s) { new Thread () { public void run () { - TopManager.getDefault ().notify + DialogDisplayer.getDefault ().notify (new NotifyDescriptor.Message (Main.getString ("MSG_must_restart_IDE_for_show_file_extensions"), NotifyDescriptor.WARNING_MESSAGE)); Index: core/src/org/netbeans/core/IDESettingsBeanInfo.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/IDESettingsBeanInfo.java,v retrieving revision 1.32 diff -u -r1.32 IDESettingsBeanInfo.java --- core/src/org/netbeans/core/IDESettingsBeanInfo.java 28 Jun 2002 15:05:13 -0000 1.32 +++ core/src/org/netbeans/core/IDESettingsBeanInfo.java 16 Oct 2002 04:49:59 -0000 @@ -22,7 +22,6 @@ import org.openide.modules.Dependency; import org.openide.modules.SpecificationVersion; -import org.openide.TopManager; import org.openide.util.NbBundle; import org.openide.util.Utilities; Index: core/src/org/netbeans/core/LoaderPoolNode.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/LoaderPoolNode.java,v retrieving revision 1.60 diff -u -r1.60 LoaderPoolNode.java --- core/src/org/netbeans/core/LoaderPoolNode.java 13 Sep 2002 16:37:46 -0000 1.60 +++ core/src/org/netbeans/core/LoaderPoolNode.java 16 Oct 2002 04:49:59 -0000 @@ -24,18 +24,17 @@ import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; +import org.openide.filesystems.*; import org.openide.loaders.DataLoader; import org.openide.loaders.DataLoaderPool; import org.openide.loaders.InstanceSupport; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.actions.*; import org.openide.nodes.*; import org.openide.util.actions.SystemAction; import org.openide.util.enum.ArrayEnumeration; import org.openide.util.*; -import org.openide.util.io.NbMarshalledObject; -import org.openide.util.io.SafeException; +import org.openide.util.io.*; import org.openide.actions.ReorderAction; import org.openide.modules.ModuleInfo; import org.openide.modules.SpecificationVersion; @@ -566,6 +565,42 @@ if (deserExc != null) { throw new SafeException (deserExc); } + } + + // I/O with loaders.ser; moved from NbProjectOperation: + public static void store() throws IOException { + FileObject ser = getLoaderPoolStorage(true); + FileLock lock = ser.lock(); + try { + ObjectOutputStream oos = new NbObjectOutputStream(ser.getOutputStream(lock)); + try { + NbObjectOutputStream.writeSafely(oos, getNbLoaderPool()); + } finally { + oos.close(); + } + } finally { + lock.releaseLock(); + } + } + public static void load() throws IOException { + FileObject ser = getLoaderPoolStorage(false); + if (ser != null) { + ObjectInputStream ois = new NbObjectInputStream(ser.getInputStream()); + try { + NbObjectInputStream.readSafely(ois); + } finally { + ois.close(); + } + } + } + private static final String LOADER_POOL_NAME = "loaders.ser"; // NOI18N + public static FileObject getLoaderPoolStorage(boolean create) throws IOException { + FileSystem sfs = Repository.getDefault().getDefaultFileSystem(); + FileObject fo = sfs.findResource(LOADER_POOL_NAME); + if (fo == null && create) { + fo = sfs.getRoot().createData(LOADER_POOL_NAME); + } + return fo; } Index: core/src/org/netbeans/core/Main.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/Main.java,v retrieving revision 1.149 diff -u -r1.149 Main.java --- core/src/org/netbeans/core/Main.java 21 Aug 2002 15:16:28 -0000 1.149 +++ core/src/org/netbeans/core/Main.java 16 Oct 2002 04:49:59 -0000 @@ -54,6 +54,7 @@ import java.util.Hashtable; import java.lang.reflect.Field; import javax.swing.plaf.InputMapUIResource; +import org.openide.awt.StatusDisplayer; import org.openide.windows.WindowManager; @@ -109,16 +110,6 @@ splash.increment(steps); } - /** Overrides the default status line method to display first in the splash - * if there is one - */ - protected void setStatusTextImpl(String s) { - Splash.SplashOutput sout = splash; - if (sout != null) { - sout.print (s); - } - } - /** Starts TopThreadGroup which properly overrides uncaughtException * Further - new thread in the group execs main */ @@ -248,7 +239,7 @@ // ----------------------------------------------------------------------------------------------------- // 11. Initialization of main window - setStatusText (getString("MSG_MainWindowInit")); + StatusDisplayer.getDefault().setStatusText (getString("MSG_MainWindowInit")); final MainWindow mainWindow = WindowManagerImpl.mainWindow(); mainWindow.initialize(); incrementSplashProgressBar(10); @@ -267,7 +258,7 @@ StartLog.logProgress ("Timer initialized"); // NOI18N // prepare workspaces - setStatusText (getString ("MSG_DefaultWorkspaceInit")); + StatusDisplayer.getDefault().setStatusText (getString ("MSG_DefaultWorkspaceInit")); WindowManager.getDefault(); incrementSplashProgressBar(); @@ -329,9 +320,9 @@ } } - setStatusText (getString("MSG_WindowShowInit")); + StatusDisplayer.getDefault().setStatusText (getString("MSG_WindowShowInit")); mainWindow.showWindow (); - setStatusText(""); // NOI18N + StatusDisplayer.getDefault().setStatusText(""); // NOI18N StartLog.logProgress ("Main window opened"); // NOI18N StartLog.logEnd ("Main window initialization"); //NOI18N } @@ -386,7 +377,8 @@ // ----------------------------------------------------------------------------------------------------- // 4. Display Splash Screen & manager StartLog.logStart ("Creation of TopManager"); // NOI18N - TopManager manager = TopManager.getDefault (); +// TopManager manager = TopManager.getDefault (); + NbTopManager.get(); StartLog.logEnd ("Creation of TopManager"); // NOI18N // finish starting @@ -397,7 +389,7 @@ StartLog.logProgress ("Splash hidden"); // NOI18N if (org.netbeans.core.perftool.Util.isRunning()) { - measureStart(manager, time); + measureStart(time); } StartLog.logProgress ("Startup memory and time measured"); // NOI18N @@ -412,14 +404,14 @@ } // close IDE if (System.getProperty ("netbeans.close") != null) { - org.openide.TopManager.getDefault().exit(); + org.openide.LifecycleManager.getDefault().exit(); } StartLog.logEnd ("Preparation"); // NOI18N } /** Prints out some info about time/heap if the measurement is enabled. */ - private static void measureStart(TopManager manager, long time) { + private static void measureStart(long time) { org.netbeans.core.perftool.Util.waitForSystemThreads(); org.netbeans.core.perftool.PerformanceMeter pm = org.netbeans.core.perftool.PerformanceMeterFactory.getPerformanceMeter(); pm.notifyTime("Total startup time:", System.currentTimeMillis() - time); // NOI18N @@ -442,7 +434,7 @@ * @param res resource name to execute */ private static void startResource (String res) { - FileObject fo = TopManager.getDefault ().getRepository ().findResource(res); + FileObject fo = Repository.getDefault().findResource(res); if (fo == null) { return; } Index: core/src/org/netbeans/core/MenuFolderNode.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/MenuFolderNode.java,v retrieving revision 1.31 diff -u -r1.31 MenuFolderNode.java --- core/src/org/netbeans/core/MenuFolderNode.java 26 Sep 2002 14:33:43 -0000 1.31 +++ core/src/org/netbeans/core/MenuFolderNode.java 16 Oct 2002 04:49:59 -0000 @@ -19,7 +19,6 @@ import org.openide.ErrorManager; import org.openide.NotifyDescriptor; -import org.openide.TopManager; import org.openide.actions.*; import org.openide.filesystems.*; import org.openide.loaders.DataFolder; @@ -29,6 +28,7 @@ import org.openide.util.datatransfer.NewType; import org.openide.util.actions.SystemAction; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.NbBundle; /** The node for the menu folder representation. @@ -50,7 +50,7 @@ private static final ResourceBundle bundle = NbBundle.getBundle (MenuFolderNode.class); public MenuFolderNode () { - this (NbTopManager.getDefault ().getPlaces ().folders ().menus ()); + this (NbPlaces.getDefault().menus ()); } /** Constructs this node with given node to filter. @@ -106,7 +106,7 @@ bundle.getString ("CTL_newMenuDialog")); il.setInputText (bundle.getString ("CTL_newMenu")); - Object ok = TopManager.getDefault ().notify (il); + Object ok = org.openide.DialogDisplayer.getDefault ().notify (il); if (ok == NotifyDescriptor.OK_OPTION) { String s = il.getInputText(); if (!s.equals ("")) { // NOI18N Index: core/src/org/netbeans/core/ModuleFSSection.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ModuleFSSection.java,v retrieving revision 1.35 diff -u -r1.35 ModuleFSSection.java --- core/src/org/netbeans/core/ModuleFSSection.java 11 Apr 2002 16:27:57 -0000 1.35 +++ core/src/org/netbeans/core/ModuleFSSection.java 16 Oct 2002 04:49:59 -0000 @@ -28,7 +28,6 @@ import org.openide.filesystems.JarFileSystem; import org.openide.util.NbBundle; import org.openide.util.HelpCtx; -import org.openide.TopManager; import org.openide.nodes.BeanNode; import org.openide.nodes.Node; import org.openide.*; @@ -137,7 +136,7 @@ * @param fs the filesystem to possibly mount */ private void showDialog (DialogDescriptor dd, final FileSystem fs) { - TopManager.getDefault ().createDialog (dd).show (); + org.openide.DialogDisplayer.getDefault ().createDialog (dd).show (); if (dd.isModal ()) { // It is closed. maybeMount (dd.getValue (), fs); @@ -161,7 +160,7 @@ if (DialogDescriptor.OK_OPTION.equals (val) || DialogDescriptor.YES_OPTION.equals (val) || WizardDescriptor.FINISH_OPTION.equals (val)) { - NbTopManager.get ().getRepository ().addFileSystem (fs); + Repository.getDefault().addFileSystem (fs); } } cvs server: core/src/org/netbeans/core/ModuleInstaller.java was removed, no comparison available Index: core/src/org/netbeans/core/NbAuthenticator.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NbAuthenticator.java,v retrieving revision 1.12 diff -u -r1.12 NbAuthenticator.java --- core/src/org/netbeans/core/NbAuthenticator.java 10 Jan 2002 15:22:04 -0000 1.12 +++ core/src/org/netbeans/core/NbAuthenticator.java 16 Oct 2002 04:49:59 -0000 @@ -16,7 +16,6 @@ import java.net.Authenticator; import java.util.ResourceBundle; -import org.openide.TopManager; import org.openide.DialogDescriptor; import org.openide.NotifyDescriptor; import org.openide.util.HelpCtx; @@ -39,7 +38,7 @@ DialogDescriptor dd = new DialogDescriptor( passwordPanel, host ); dd.setHelpCtx (new HelpCtx (NbAuthenticator.class.getName () + ".getPasswordAuthentication")); // NOI18N passwordPanel.setPrompt( getRequestingPrompt() ); - java.awt.Dialog dialog = TopManager.getDefault().createDialog( dd ); + java.awt.Dialog dialog = org.openide.DialogDisplayer.getDefault().createDialog( dd ); dialog.show (); if ( dd.getValue().equals( NotifyDescriptor.OK_OPTION ) ) cvs server: core/src/org/netbeans/core/NbControlPanel.java was removed, no comparison available Index: core/src/org/netbeans/core/NbDialog.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NbDialog.java,v retrieving revision 1.35 diff -u -r1.35 NbDialog.java --- core/src/org/netbeans/core/NbDialog.java 10 Jan 2002 15:22:04 -0000 1.35 +++ core/src/org/netbeans/core/NbDialog.java 16 Oct 2002 04:49:59 -0000 @@ -22,7 +22,6 @@ import org.openide.NotifyDescriptor; import org.openide.DialogDescriptor; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.util.Utilities; Index: core/src/org/netbeans/core/NbErrorManager.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NbErrorManager.java,v retrieving revision 1.41 diff -u -r1.41 NbErrorManager.java --- core/src/org/netbeans/core/NbErrorManager.java 20 Aug 2002 19:55:40 -0000 1.41 +++ core/src/org/netbeans/core/NbErrorManager.java 16 Oct 2002 04:49:59 -0000 @@ -23,7 +23,6 @@ import org.xml.sax.SAXParseException; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.util.NbBundle; /** This is the implementation of the famous exception manager. Index: core/src/org/netbeans/core/NbKeymap.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NbKeymap.java,v retrieving revision 1.17 diff -u -r1.17 NbKeymap.java --- core/src/org/netbeans/core/NbKeymap.java 22 Jul 2002 08:12:53 -0000 1.17 +++ core/src/org/netbeans/core/NbKeymap.java 16 Oct 2002 04:49:59 -0000 @@ -14,6 +14,7 @@ package org.netbeans.core; import java.util.*; +import java.util.Observable; import javax.swing.event.*; import javax.swing.Action; import javax.swing.KeyStroke; @@ -23,7 +24,7 @@ * * @author Dafe Simonek */ -public final class NbKeymap implements Keymap { +public final class NbKeymap extends Observable implements Keymap { /** Name of this keymap */ String name; /** Parent keymap */ @@ -56,7 +57,8 @@ public void setDefaultAction(Action a) { defaultAction = a; - fireChangeEvent(new ChangeEvent(this)); + setChanged(); + notifyObservers(); } public String getName() { @@ -143,7 +145,8 @@ bindings.put(key, a); actions = null; } - fireChangeEvent(new ChangeEvent(this)); + setChanged(); + notifyObservers(); } void addActionForKeyStrokeMap(HashMap map) { @@ -154,7 +157,8 @@ } actions = null; } - fireChangeEvent(new ChangeEvent(this)); + setChanged(); + notifyObservers(); } public void removeKeyStrokeBinding(KeyStroke key) { @@ -162,7 +166,8 @@ bindings.remove(key); actions = null; } - fireChangeEvent(new ChangeEvent(this)); + setChanged(); + notifyObservers(); } public void removeBindings() { @@ -170,7 +175,8 @@ bindings.clear(); actions = null; } - fireChangeEvent(new ChangeEvent(this)); + setChanged(); + notifyObservers(); } public Keymap getResolveParent() { @@ -179,17 +185,14 @@ public void setResolveParent(Keymap parent) { this.parent = parent; - fireChangeEvent(new ChangeEvent(this)); + setChanged(); + notifyObservers(); } /** Returns string representation - can be looong. */ public String toString() { return "Keymap[" + name + "]" + bindings; // NOI18N - } - - void fireChangeEvent (final ChangeEvent che) { - NbTopManager.get ().firePropertyChange (NbTopManager.PROP_GLOBAL_KEYMAP, null, null); } } Index: core/src/org/netbeans/core/NbMainExplorer.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NbMainExplorer.java,v retrieving revision 1.103 diff -u -r1.103 NbMainExplorer.java --- core/src/org/netbeans/core/NbMainExplorer.java 27 Jun 2002 15:18:54 -0000 1.103 +++ core/src/org/netbeans/core/NbMainExplorer.java 16 Oct 2002 04:50:00 -0000 @@ -50,6 +50,7 @@ import org.openide.nodes.NodeListener; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; +import org.openide.util.Lookup; import org.openide.util.WeakListener; import org.openide.util.actions.SystemAction; import org.openide.util.io.NbMarshalledObject; @@ -67,6 +68,8 @@ import org.openide.awt.Actions; import org.openide.awt.JPopupMenuPlus; import org.openide.awt.MouseUtils; +import org.openide.loaders.DataFilter; +import org.openide.loaders.RepositoryNodeFactory; import org.openide.util.actions.CallableSystemAction; import org.openide.windows.WindowManager; @@ -98,8 +101,6 @@ /** Listener which tracks changes on the root nodes (which are displayed as tabs) */ private transient RootsListener rootsListener; - /** weak roots listener */ - private transient PropertyChangeListener weakRootsL; /** true if listener to ide setiings properly initialized */ private transient boolean listenerInitialized; @@ -115,8 +116,8 @@ public NbMainExplorer () { // listening on changes of roots rootsListener = new RootsListener(); - weakRootsL = WeakListener.propertyChange(rootsListener, TopManager.getDefault()); - TopManager.getDefault().addPropertyChangeListener(weakRootsL); + NbPlaces p = NbPlaces.getDefault(); + p.addChangeListener(WeakListener.change(rootsListener, p)); } public HelpCtx getHelpCtx () { @@ -249,6 +250,7 @@ * will reflect new nodes. Called when content of "roots" nodes is changed. */ final void refreshRoots () { + /* huh?? // attach listener to the ide settings if possible if (!listenerInitialized) { IDESettings ideS = (IDESettings)IDESettings.findObject(IDESettings.class); @@ -257,6 +259,7 @@ listenerInitialized = true; } } + */ // should we close ProjectsTab? ProjectsTab prjToClose = null; @@ -275,19 +278,19 @@ // close top component asociated with this root context // on all workspaces - // but not the project since it is a singleton - // i.e. mark it for closing - if (NbProjectOperation.hasProjectDesktop()) { - if (NbProjectOperation.getProjectDesktop().getClass() == r.getClass()) { - prjToClose = (ProjectsTab) me.getValue(); - continue; - } - // bugfix #19129 if there is a project opened - // then the project tab shouldn't be closed - if (me.getValue() instanceof ProjectsTab) { - continue; - } - } +// // but not the project since it is a singleton +// // i.e. mark it for closing +// if (NbProjectOperation.hasProjectDesktop()) { +// if (NbProjectOperation.getProjectDesktop().getClass() == r.getClass()) { +// prjToClose = (ProjectsTab) me.getValue(); +// continue; +// } +// // bugfix #19129 if there is a project opened +// // then the project tab shouldn't be closed +// if (me.getValue() instanceof ProjectsTab) { +// continue; +// } +// } closeEverywhere((TopComponent)me.getValue()); } } @@ -316,17 +319,17 @@ } } - if (r.equals(NbProjectOperation.getProjectDesktop())) { - // put a request for later validation - // we must do this here, because of ExplorerManager's deserialization. - // Root context of ExplorerManager is validated AFTER all other - // deserialization, so we must wait for it - - //assert tc == prjToClose - tc.scheduleValidation(); - // unmark close flag - prjToClose = null; - } +// if (r.equals(NbProjectOperation.getProjectDesktop())) { +// // put a request for later validation +// // we must do this here, because of ExplorerManager's deserialization. +// // Root context of ExplorerManager is validated AFTER all other +// // deserialization, so we must wait for it +// +// //assert tc == prjToClose +// tc.scheduleValidation(); +// // unmark close flag +// prjToClose = null; +// } } if (prjToClose != null) { @@ -384,19 +387,15 @@ * First goes repository, than root nodes added by modules and at last * runtime root node */ public static List getRoots () { - Places.Nodes ns = TopManager.getDefault().getPlaces().nodes(); + NbPlaces places = NbPlaces.getDefault(); // build the list of roots LinkedList result = new LinkedList(); // repository goes first - result.add(ns.repository()); - // projects tab (only if projects module is installed) - if (NbProjectOperation.hasProjectDesktop()) { - result.add(NbProjectOperation.getProjectDesktop()); - } + result.add(RepositoryNodeFactory.getDefault().repository(DataFilter.ALL)); // roots added by modules (javadoc etc...) - result.addAll(Arrays.asList(ns.roots())); + result.addAll(Arrays.asList(places.roots())); // runtime - result.add(ns.environment()); + result.add(places.environment()); return result; } @@ -406,13 +405,14 @@ private ExplorerTab createTC (Node rc) { // switch according to the type of the root context MainTab panel = null; - Places.Nodes ns = TopManager.getDefault().getPlaces().nodes(); - if (rc.equals(NbProjectOperation.getProjectDesktop())) { + NbPlaces places = NbPlaces.getDefault(); + if (rc.equals(places.projectDesktop())) { // projects tab panel = ProjectsTab.getDefault(); - } else if (rc.equals(ns.repository())) { + } else + if (rc.equals(RepositoryNodeFactory.getDefault().repository(DataFilter.ALL))) { panel = RepositoryTab.getDefaultRepositoryTab(); - } else if (rc.equals(ns.environment())) { + } else if (rc.equals(places.environment())) { // default tabs panel = MainTab.getDefaultMainTab(); } else { @@ -839,7 +839,7 @@ */ public static MainTab createEnvironmentTab () { return (MainTab)getExplorer().createTC( - NbPlaces.getDefault().nodes().environment() + NbPlaces.getDefault().environment() ); } @@ -910,7 +910,7 @@ /** attaches itself to as a listener. */ public RepositoryTab () { - DataLoaderPool pool = TopManager.getDefault ().getLoaderPool (); + DataLoaderPool pool = (DataLoaderPool)Lookup.getDefault ().lookup (DataLoaderPool.class); pool.addOperationListener ( WeakListener.operation (this, pool) ); @@ -934,7 +934,7 @@ */ public static RepositoryTab createRepositoryTab () { return (RepositoryTab)getExplorer().createTC( - NbPlaces.getDefault().nodes().repository() + RepositoryNodeFactory.getDefault().repository(DataFilter.ALL) ); } @@ -1101,7 +1101,7 @@ /** Exchanges deserialized root context to projects root context * to keep the uniquennes. */ protected void validateRootContext () { - Node projectsRc = NbProjectOperation.getProjectDesktop(); + Node projectsRc = NbPlaces.getDefault().projectDesktop(); setRootContext(projectsRc); registerRootContext(projectsRc); } @@ -1135,7 +1135,7 @@ protected void validateRootContext () { // find proper node Class nodeClass = getExplorerManager().getRootContext().getClass(); - Node[] roots = TopManager.getDefault().getPlaces().nodes().roots(); + Node[] roots = NbPlaces.getDefault().roots(); for (int i = 0; i < roots.length; i++) { if (nodeClass.equals(roots[i].getClass())) { setRootContext(roots[i]); @@ -1211,16 +1211,14 @@ /** Listener on roots, listens to changes of roots content */ private final class RootsListener extends Object - implements PropertyChangeListener { - public void propertyChange (PropertyChangeEvent evt) { - if (TopManager.PROP_PLACES.equals(evt.getPropertyName())) { + implements ChangeListener { + public void stateChanged(ChangeEvent e) { // possible change in list of roots // defer refresh request if window system is in inconsistent state WindowManagerImpl.deferredPerformer().putRequest( NbMainExplorer.getExplorer(), new DeferredPerformer.DeferredContext(null, true) ); - } } } // end of RootsListener inner class Index: core/src/org/netbeans/core/NbNodeOperation.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NbNodeOperation.java,v retrieving revision 1.95 diff -u -r1.95 NbNodeOperation.java --- core/src/org/netbeans/core/NbNodeOperation.java 23 Jul 2002 09:48:57 -0000 1.95 +++ core/src/org/netbeans/core/NbNodeOperation.java 16 Oct 2002 04:50:00 -0000 @@ -57,8 +57,8 @@ import org.openide.nodes.NodeEvent; import org.openide.nodes.NodeListener; import org.openide.nodes.NodeOp; +import org.openide.nodes.NodeOperation; import org.openide.nodes.NodeReorderEvent; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.util.Mutex; @@ -80,7 +80,7 @@ * * @author Ian Formanek */ -public final class NbNodeOperation extends TopManager.NodeOperation { +public final class NbNodeOperation extends NodeOperation { /** * Name of a property that can be passed in a Node instance. The value @@ -168,7 +168,7 @@ NbBundle.getMessage (ModuleFSSection.class, "CTL_Customizer_dialog_title")); dd.setOptions(new Object[] { DialogDescriptor.CLOSED_OPTION }); - Dialog dialog = TopManager.getDefault ().createDialog(dd); + Dialog dialog = org.openide.DialogDisplayer.getDefault ().createDialog(dd); dialog.pack(); dialog.show(); return Boolean.TRUE; @@ -287,7 +287,7 @@ tc.open(); tc.requestFocus(); } else { - TopManager.getDefault().createDialog(new DialogDescriptor ( + org.openide.DialogDisplayer.getDefault().createDialog(new DialogDescriptor ( tc, tc.getName(), true, Index: core/src/org/netbeans/core/NbPlaces.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NbPlaces.java,v retrieving revision 1.60 diff -u -r1.60 NbPlaces.java --- core/src/org/netbeans/core/NbPlaces.java 1 Oct 2002 12:00:47 -0000 1.60 +++ core/src/org/netbeans/core/NbPlaces.java 16 Oct 2002 04:50:00 -0000 @@ -15,6 +15,8 @@ import java.io.*; import java.util.*; +import javax.swing.event.ChangeEvent; +import javax.swing.event.ChangeListener; import org.openide.*; import org.openide.loaders.DataFilter; @@ -22,6 +24,7 @@ import org.openide.loaders.DataObject; import org.openide.filesystems.FileObject; import org.openide.filesystems.FileSystem; +import org.openide.filesystems.Repository; import org.openide.nodes.*; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; @@ -32,68 +35,57 @@ import org.netbeans.core.windows.nodes.WorkspacePoolContext; import org.netbeans.core.modules.ManifestSection; +import org.netbeans.core.ui.MountNode; +import org.openide.loaders.RepositoryNodeFactory; /** Important places in the system. * * @author Jaroslav Tulach */ -public final class NbPlaces extends Object implements Places, Places.Nodes, Places.Folders { - /** default */ - private static NbPlaces places; +public final class NbPlaces extends Object { /** A node to return if ProjectDesktop node == null */ private static final Node EMPTY_PROJECT_DESKTOP_NODE = new AbstractNode( Children.LEAF ); + private final List listeners = new ArrayList(); // List + /** No instance outside this class. */ - public NbPlaces() { + private NbPlaces() { } + private static NbPlaces DEFAULT; + /** Getter for default instance. */ - public static Places getDefault () { - return (Places)org.openide.util.Lookup.getDefault ().lookup (Places.class); - } - - /** Interesting places for nodes. - * @return object that holds "node places" - */ - public Places.Nodes nodes () { - return this; - } - - /** Interesting places for data objects. - * @return interface that provides access to data objects' places - */ - public Places.Folders folders () { - return this; - } - - /** Repository node. - */ - public Node repository () { - return DataSystem.getDataSystem (); + public static synchronized NbPlaces getDefault() { + if (DEFAULT == null) { + DEFAULT = new NbPlaces(); + } + return DEFAULT; } - - /** Repository node with given DataFilter. */ - public Node repository(DataFilter f) { - return DataSystem.getDataSystem (f); + + public void addChangeListener(ChangeListener l) { + synchronized (listeners) { + listeners.add(l); + } } - - /** - * Implements org.openide.Places.Nodes interface method. - * Note: This method is no longer supported. - * @param f the requested filter - * @return empty node */ - public Node packages (DataFilter f) { - //return PackageChildren.createNode (f); - return Node.EMPTY; + + public void removeChangeListener(ChangeListener l) { + synchronized (listeners) { + listeners.remove(l); + } } - - /** Node with all installed loaders. - */ - public Node loaderPool () { - return LoaderPoolNode.getLoaderPoolNode (); + + private void fireChange() { + ChangeListener[] l; + synchronized (listeners) { + l = (ChangeListener[])listeners.toArray(new ChangeListener[listeners.size()]); + } + ChangeEvent ev = new ChangeEvent(this); + for (int i = 0; i < l.length; i++) { + l[i].stateChanged(ev); + } } /** Environment node. Place for all transient information about @@ -109,18 +101,6 @@ return EnvironmentNode.find (ManifestSection.NodeSection.TYPE_SESSION); } - /** Control panel - */ - public Node controlPanel () { - return ControlPanelNode.getDefault (); - } - - /** Project Settings. - */ - public Node project () { - return ControlPanelNode.getProjectSettings (); - } - /** Node with all workspaces */ public Node workspaces () { return WorkspacePoolContext.getDefault (); @@ -128,14 +108,13 @@ /** Repository settings */ public Node repositorySettings () { - return new org.netbeans.core.ui.MountNode (); + return new MountNode (); } /** Workspace node for current project. This node can change when project changes. */ public Node projectDesktop () { - Node pn = NbProjectOperation.getProjectDesktop (); - return pn == null ? EMPTY_PROJECT_DESKTOP_NODE : pn; + return workplace().getNodeDelegate(); } /** Root nodes. @@ -195,8 +174,8 @@ /** Getter for project workplace. A folder that is presented to the * user as project desktop. */ - public DataFolder workplace () { - return (DataFolder) TopManager.getDefault().getPlaces().nodes().projectDesktop().getCookie(DataFolder.class); + public DataFolder workplace() { + return findSessionFolder("Workplace"); // NOI18N } /** @@ -204,9 +183,9 @@ * folders go first (sorted by name) followed by the rest of objects sorted * by name. */ - public static synchronized DataFolder findSessionFolder (String name) { + public synchronized DataFolder findSessionFolder (String name) { try { - FileSystem fs = NbTopManager.get ().getRepository().getDefaultFileSystem (); + FileSystem fs = Repository.getDefault().getDefaultFileSystem (); FileObject fo = fs.findResource(name); if (fo == null) { // resource not found, try to create new folder @@ -221,8 +200,14 @@ } } + /** Create new children of some type of master nodes. + * @param name name of the node section to recognize + */ + public Children createChildren(String name) { + return new Ch(name); + } - final static class Ch extends Children.Keys + private final class Ch extends Children.Keys implements LookupListener, NodeListener { /** result */ private Lookup.Result result; @@ -257,7 +242,7 @@ /** Static method to compute a Lookup.Result from a template. */ - private static Lookup.Result re (String n) { + private Lookup.Result re (String n) { Lookup.Template t = new Lookup.Template (ManifestSection.NodeSection.class); return Lookup.getDefault ().lookup (t); } @@ -272,7 +257,7 @@ if (ManifestSection.NodeSection.TYPE_ROOTS.equals (sectionName)) { // notify that the set of nodes has changed (probably) - NbTopManager.get ().firePropertyChange (TopManager.PROP_PLACES, null, null); + NbPlaces.this.fireChange(); } } Index: core/src/org/netbeans/core/NbPresenter.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NbPresenter.java,v retrieving revision 1.69 diff -u -r1.69 NbPresenter.java --- core/src/org/netbeans/core/NbPresenter.java 9 Jul 2002 12:52:53 -0000 1.69 +++ core/src/org/netbeans/core/NbPresenter.java 16 Oct 2002 04:50:00 -0000 @@ -29,7 +29,6 @@ import org.openide.DialogDescriptor; import org.openide.WizardDescriptor; -import org.openide.TopManager; import org.openide.util.*; import org.openide.explorer.ExplorerManager; @@ -887,7 +886,7 @@ pressedOption = NotifyDescriptor.CLOSED_OPTION; } else { if (evt.getSource() == stdHelpButton) { - TopManager.getDefault().showHelp(currentHelp); + NbTopManager.get().showHelp(currentHelp); return; } cvs server: core/src/org/netbeans/core/NbProject.java was removed, no comparison available cvs server: core/src/org/netbeans/core/NbProjectOperation.java was removed, no comparison available Index: core/src/org/netbeans/core/NbTopManager.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NbTopManager.java,v retrieving revision 1.162 diff -u -r1.162 NbTopManager.java --- core/src/org/netbeans/core/NbTopManager.java 8 Oct 2002 20:18:36 -0000 1.162 +++ core/src/org/netbeans/core/NbTopManager.java 16 Oct 2002 04:50:00 -0000 @@ -24,9 +24,12 @@ import java.util.ArrayList; import java.util.Iterator; import java.text.MessageFormat; +import java.util.List; import javax.swing.*; import javax.swing.text.Keymap; import javax.swing.border.*; +import javax.swing.event.ChangeEvent; +import javax.swing.event.ChangeListener; import org.openide.util.datatransfer.ExClipboard; import org.openide.*; @@ -34,19 +37,16 @@ import org.openide.loaders.*; import org.openide.actions.*; import org.openide.cookies.SaveCookie; -import org.openide.cookies.ProjectCookie; -import org.openide.debugger.Debugger; -import org.openide.debugger.DebuggerNotFoundException; import org.openide.filesystems.*; import org.openide.filesystems.FileSystem; import org.openide.filesystems.JarFileSystem; import org.openide.modules.Dependency; import org.openide.modules.SpecificationVersion; -import org.openide.options.ControlPanel; import org.openide.windows.WindowManager; import org.openide.windows.OutputWriter; import org.openide.windows.InputOutput; import org.openide.windows.TopComponent; +import org.openide.windows.IOProvider; import org.openide.explorer.*; import org.openide.explorer.view.BeanTreeView; import org.openide.util.*; @@ -58,16 +58,20 @@ import org.netbeans.core.output.OutputTabTerm; import org.netbeans.core.windows.WindowManagerImpl; import org.netbeans.core.execution.TopSecurityManager; +import org.netbeans.core.modules.Module; import org.netbeans.core.perftool.StartLog; import org.netbeans.core.modules.ModuleManager; import org.netbeans.core.modules.ModuleSystem; +import org.netbeans.core.projects.TrivialProjectManager; import org.netbeans.core.windows.util.WindowUtils; +import org.openide.modules.ModuleInfo; +import org.openide.util.lookup.InstanceContent; /** This class is a TopManager for Corona environment. * * @author Ales Novak, Jaroslav Tulach, Ian Formanek, Petr Hamernik, Jan Jancura, Jesse Glick */ -public abstract class NbTopManager extends TopManager { +public abstract class NbTopManager /*extends TopManager*/ { /* masks to define the interactivity level */ /** initialize the main window? @@ -88,14 +92,6 @@ public static final int IL_ALL = 0xffff; - /** property for status text */ - public static final String PROP_STATUS_TEXT = "statusText"; // NOI18N - - /** property for system class loader */ - public static final String PROP_SYSTEM_CLASS_LOADER = "systemClassLoader"; // NOI18N - /** property for current class loader */ - public static final String PROP_CURRENT_CLASS_LOADER = "currentClassLoader"; // NOI18N - /** stores main shortcut context*/ private Keymap shortcutContext; @@ -110,15 +106,6 @@ /** error manager */ private static ErrorManager defaultErrorManager; - /** WWW browser window. */ - private HtmlBrowser.BrowserComponent htmlViewer; - - /** ProjectOperation main variable */ - static NbProjectOperation projectOperation; - - /** support for listeners */ - private PropertyChangeSupport change = new PropertyChangeSupport (this); - /** repository */ private Repository defaultRepository; @@ -128,29 +115,19 @@ /** status text */ private String statusText = " "; // NOI18N - /** the debugger listener listening on adding/removing debugger*/ - private static LookupListener debuggerLsnr = null; - /** the lookup query finding all registered debuggers */ - private static Lookup.Result debuggerLkpRes = null; - /** initializes properties about builds etc. */ static { + org.openide.filesystems.FileObject fo = null; // Set up module-versioning properties, which logger prints. - Package p = Package.getPackage ("org.openide"); // NOI18N + // The package here must be one which exists only in openide.jar, not openide-deprecated.jar: + Object ignoreme = FileSystem.class; + Package p = Package.getPackage ("org.openide.filesystems"); // NOI18N - putSystemProperty ("org.openide.specification.version", p.getSpecificationVersion (), "3.12"); // NOI18N + putSystemProperty ("org.openide.specification.version", p.getSpecificationVersion (), "3.14"); // NOI18N putSystemProperty ("org.openide.version", p.getImplementationVersion (), "OwnBuild"); // NOI18N putSystemProperty ("org.openide.major.version", p.getSpecificationTitle (), "IDE/1"); // NOI18N putSystemProperty ("netbeans.buildnumber", p.getImplementationVersion (), "OwnBuild"); // NOI18N - if (System.getProperties ().get ("org.openide.util.Lookup") == null) { // NOI18N - // update the top manager to our main if it has not been provided yet - System.getProperties().put ( - "org.openide.util.Lookup", // NOI18N - "org.netbeans.core.NbTopManager$Lkp" // NOI18N - ); - } - // Enforce JDK 1.3+ since we would not work without it. if (Dependency.JAVA_SPEC.compareTo(new SpecificationVersion("1.3")) < 0) { // NOI18N System.err.println("The IDE requires JDK 1.3 or higher to run."); // XXX I18N? @@ -218,13 +195,53 @@ public NbTopManager() { instanceContent = new InstanceContent (); instanceLookup = new AbstractLookup (instanceContent); - register (ClassLoaderConvertor.CLASSLOADER, ClassLoaderConvertor.CLASSLOADER); + if (!(Lookup.getDefault() instanceof Lkp)) { + throw new ClassCastException("Wrong Lookup impl found: " + Lookup.getDefault()); + } } /** Getter for instance of this manager. */ public static NbTopManager get () { - return (NbTopManager)TopManager.getDefault (); +// return (NbTopManager)TopManager.getDefault (); + return getNbTopManager(); + } + + private static NbTopManager defaultTopManager; + + public static synchronized boolean isInitialized () { + return defaultTopManager != null; + } + + private static /*synchronized*/ NbTopManager getNbTopManager () { + // synchronization check + if (defaultTopManager != null) { + return defaultTopManager; + } + + // XXX double check like it was in TopManager, otherwise led to deadlock at + // start, needs to be revised. + synchronized(NbTopManager.class) { + String className = System.getProperty( + "org.openide.TopManager", // NOI18N + "org.netbeans.core.Plain" // NOI18N + ); + + try { + Class c = Class.forName(className); + defaultTopManager = (NbTopManager)c.newInstance(); + } catch (Exception ex) { + ex.printStackTrace(); + throw new IllegalStateException(); + } + + // late initialization of the manager if needed + if (defaultTopManager instanceof Runnable) { + ((Runnable)defaultTopManager).run (); + } + + return defaultTopManager; + } } /** Test method to check whether some level of interactivity is enabled. @@ -292,11 +309,12 @@ /** Shows a specified HelpCtx in IDE's help window. * @param helpCtx thehelp to be shown + * @deprecated Better to use org.netbeans.api.javahelp.Help */ public void showHelp(HelpCtx helpCtx) { // Awkward but should work. try { - Class c = systemClassLoader().loadClass("org.netbeans.api.javahelp.Help"); // NOI18N + Class c = ((ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)).loadClass("org.netbeans.api.javahelp.Help"); // NOI18N Object o = Lookup.getDefault().lookup(c); if (o != null) { Method m = c.getMethod("showHelp", new Class[] {HelpCtx.class}); // NOI18N @@ -307,28 +325,31 @@ // ignore - maybe javahelp module is not installed, not so strange } catch (Exception e) { // potentially more serious - getErrorManager().notify(ErrorManager.INFORMATIONAL, e); + ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e); } // Did not work. Toolkit.getDefaultToolkit().beep(); } - /** Provides support for www documents. - * @param url Url of WWW document to be showen. - */ - public void showUrl (URL url) { - if (htmlViewer == null) htmlViewer = new NbBrowser (); - - ((NbBrowser)htmlViewer).showUrl (url); + public static final class NbURLDisplayer extends HtmlBrowser.URLDisplayer { + /** WWW browser window. */ + HtmlBrowser.BrowserComponent htmlViewer; + public void showURL(URL u) { + if (htmlViewer == null) htmlViewer = new NbBrowser (); + ((NbBrowser)htmlViewer).showUrl(u); + } } private static WindowManager wmgr = null; + private static final Object windowManagerLock = new String("NbTopManager.windowManagerLock"); // NOI18N /** @return a window manager impl or null */ - private static synchronized WindowManager getDefaultWindowManager() { - if (wmgr == null) { - wmgr = (WindowManager)Lookup.getDefault().lookup(WindowManager.class); + private static WindowManager getDefaultWindowManager() { + synchronized (windowManagerLock) { + if (wmgr == null) { + wmgr = (WindowManager)Lookup.getDefault().lookup(WindowManager.class); + } + return wmgr; } - return wmgr; } /** @return the main window from the window manager impl or null */ static Frame getMainWindow() { @@ -354,6 +375,8 @@ } } + public static final class NbDialogDisplayer extends DialogDisplayer { + /** Creates new dialog. */ public Dialog createDialog (final DialogDescriptor d) { @@ -370,20 +393,7 @@ } }); } - - /** Opens specified project. Asks to save the previously opened project. - * @exception IOException if error occurs accessing the project - * @exception UserCancelException if the selection is interrupted by the user - */ - public void openProject (ProjectCookie project) throws IOException, UserCancelException { - if (ExitDialog.showDialog (null, true)) { - NbProjectOperation.setOpeningProject (project); - } - else { - throw new UserCancelException (); - } - } - + /** Notifies user by a dialog. * @param descriptor description that contains needed informations * @return the option that has been choosen in the notification @@ -431,64 +441,52 @@ }); } - /** Shows specified text in MainWindow's status line. - * @param text the text to be shown - */ - public final void setStatusText(String text) { - if (text == null || text.length () == 0) { - text = " "; // NOI18N - } - if (text.equals(statusText)) return; - String old = statusText; - statusText = text; - setStatusTextImpl(text); - firePropertyChange (PROP_STATUS_TEXT, old, text); } - protected abstract void setStatusTextImpl(String text); - /** Getter for status text. + /** Opens specified project. Asks to save the previously opened project. + * @exception IOException if error occurs accessing the project + * @exception UserCancelException if the selection is interrupted by the user */ - public String getStatusText () { - return statusText; - } +// public void openProject (ProjectCookie project) throws IOException, UserCancelException { +// if (ExitDialog.showDialog (null, true)) { +// NbProjectOperation.setOpeningProject (project); +// } +// else { +// throw new UserCancelException (); +// } +// } - /** Returns currently installed debugger or throws - * DebuggerException (when no debugger is installed) - * @return currently installed debugger. - */ - public Debugger getDebugger () throws DebuggerNotFoundException { - Iterator it = getDebuggerResult().allInstances().iterator(); - if (it.hasNext()) return (Debugger) it.next(); - throw new DebuggerNotFoundException(); - } - - /** get the lookup query finding all registered debuggers */ - private synchronized Lookup.Result getDebuggerResult() { - if (debuggerLkpRes == null) { - debuggerLkpRes = Lookup.getDefault().lookup(new Lookup.Template(Debugger.class)); - } - return debuggerLkpRes; - } - - /** fire property change PROP_DEBUGGER */ - private void fireDebuggerChange() { - firePropertyChange (PROP_DEBUGGER, null, null); - } - - /** initialize listening on adding/removing debugger. */ - private void initDebuggerListener() { - Lookup.Result res; - synchronized (this) { - if (debuggerLsnr != null) return; - res = getDebuggerResult(); - debuggerLsnr = new LookupListener() { - public void resultChanged(LookupEvent ev) { - fireDebuggerChange(); + + public static final class NbStatusDisplayer extends org.openide.awt.StatusDisplayer { + private List listeners = null; + private String text = ""; // NOI18N + public void setStatusText(String text) { + ChangeListener[] _listeners; + synchronized (this) { + this.text = text; + if (listeners == null || listeners.isEmpty()) { + _listeners = null; + } else { + _listeners = (ChangeListener[])listeners.toArray(new ChangeListener[listeners.size()]); } - }; - res.addLookupListener(debuggerLsnr); + } + if (_listeners != null) { + ChangeEvent e = new ChangeEvent(this); + for (int i = 0; i < _listeners.length; i++) { + _listeners[i].stateChanged(e); + } + } + } + public synchronized String getStatusText() { + return text; + } + public synchronized void addChangeListener(ChangeListener l) { + if (listeners == null) listeners = new ArrayList(); + listeners.add(l); + } + public synchronized void removeChangeListener(ChangeListener l) { + listeners.remove(l); } - res.allClasses(); } /** Print output writer. @@ -505,6 +503,15 @@ public InputOutput getIO(String name, boolean newIO) { return OutputTabTerm.getIO (name, newIO); } + + public static final class NbIOProvider extends IOProvider { + public InputOutput getIO(String name, boolean newIO) { + return NbTopManager.get().getIO(name, newIO); + } + public OutputWriter getStdOut() { + return NbTopManager.get().getStdOut(); + } + } /** saves all opened objects */ public void saveAll () { @@ -516,7 +523,7 @@ dobj = modifs[i]; SaveCookie sc = (SaveCookie)dobj.getCookie(SaveCookie.class); if (sc != null) { - TopManager.getDefault().setStatusText ( + org.openide.awt.StatusDisplayer.getDefault().setStatusText ( java.text.MessageFormat.format ( NbBundle.getBundle (NbTopManager.class).getString ("CTL_FMT_SavingMessage"), new Object[] { dobj.getName () } @@ -538,10 +545,10 @@ new Object[] { ((DataObject)ee.next()).getPrimaryFile().getName() } ) ); - TopManager.getDefault ().notify (descriptor); + org.openide.DialogDisplayer.getDefault().notify (descriptor); } // notify user that everything is done - TopManager.getDefault().setStatusText( + org.openide.awt.StatusDisplayer.getDefault().setStatusText( NbBundle.getBundle (NbTopManager.class).getString ("MSG_AllSaved")); } @@ -560,8 +567,21 @@ // hide windows explicitly, they are of no use during exit process WindowUtils.hideAllFrames(); try { - // save project - NbProjectOperation.storeLastProject (); + try { + LoaderPoolNode.store(); + } catch (IOException ioe) { + ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, ioe); + } + // save project, if applicable + try { + ((TrivialProjectManager)Lookup.getDefault().lookup(TrivialProjectManager.class)).store(); + } catch (IOException ioe) { + ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, ioe); + } + // save window system, [PENDING] remove this after the winsys will + // persist its state automaticaly + ((WindowManagerImpl)getDefaultWindowManager()).persistenceManager ().writeXML (); + org.netbeans.core.projects.XMLSettingsHandler.saveOptions(); org.netbeans.core.projects.SessionManager.getDefault().close(); } catch (ThreadDeath td) { throw td; @@ -579,6 +599,15 @@ } } } + + public static final class NbLifecycleManager extends LifecycleManager { + public void saveAll() { + NbTopManager.get().saveAll(); + } + public void exit() { + NbTopManager.get().exit(); + } + } /** Shows exit dialog for activated File system nodes * after unmounting filesystem(s) @@ -591,63 +620,6 @@ /** Get the module subsystem. */ public abstract ModuleSystem getModuleSystem(); - /** Obtains current up-to system classloader - */ - public ClassLoader systemClassLoader () { - ModuleSystem ms = getModuleSystem(); - if (ms != null) { - // #16265: do not go straight to ModuleManager - return ms.getSystemClassLoader(); - } else { - // This can be called very early: if lookup asks for ClassLoader. - // For now, just give the startup classloader. - //System.err.println("Warning: giving out bogus systemClassLoader for now"); - //Thread.dumpStack(); - return NbTopManager.class.getClassLoader(); - } - } - // Access from ModuleSystem and from subclasses when moduleSystem is created: - public final void fireSystemClassLoaderChange() { - //System.err.println("change: systemClassLoader -> " + systemClassLoader()); - firePropertyChange(PROP_SYSTEM_CLASS_LOADER, null, null); - Lkp.systemClassLoaderChanged(); // #26245 - } - - /** Obtains current up-to data te classloader - */ - public ClassLoader currentClassLoader () { - ClassLoader l = ClassLoaderSupport.currentClassLoader (); - if (l == null) { - System.err.println("SHOULD NEVER HAPPEN: currentClassLoader==null"); // NOI18N - l = systemClassLoader (); - } - return l; - } - // Access from ClassLoaderSupport: - final void fireCurrentClassLoaderChange() { - //System.err.println("change: currentClassLoader"); - firePropertyChange(PROP_CURRENT_CLASS_LOADER, null, null); - } - - - - /** Add listener */ - public void addPropertyChangeListener (PropertyChangeListener l) { - initDebuggerListener(); - change.addPropertyChangeListener (l); - } - - /** Removes the listener */ - public void removePropertyChangeListener (PropertyChangeListener l) { - change.removePropertyChangeListener (l); - } - - /** Fires property change - */ - public void firePropertyChange (String p, Object o, Object n) { - change.firePropertyChange (p, o, n); - } - /** Someone running NonGuiMain might want to set this to true. * This variable is read from CompilationEngineImpl to determine * whether to do synchronous compile. @@ -733,7 +705,7 @@ ((IDESettings)IDESettings.findObject (IDESettings.class, true)).removePropertyChangeListener (idePCL); idePCL = null; } - NbTopManager.get ().htmlViewer = null; + ((NbURLDisplayer)HtmlBrowser.URLDisplayer.getDefault()).htmlViewer = null; return super.closeLast (); } @@ -767,7 +739,7 @@ public void readExternal (ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal (in); setListener (); - NbTopManager.get ().htmlViewer = this; + ((NbURLDisplayer)HtmlBrowser.URLDisplayer.getDefault()).htmlViewer = this; } /** @@ -783,7 +755,7 @@ String name = evt.getPropertyName (); if (name == null) return; if (name.equals (IDESettings.PROP_WWWBROWSER)) { - NbTopManager.get ().htmlViewer = null; + ((NbURLDisplayer)HtmlBrowser.URLDisplayer.getDefault()).htmlViewer = null; if (idePCL != null) { ((IDESettings)IDESettings.findObject (IDESettings.class, true)) .removePropertyChangeListener (idePCL); @@ -795,7 +767,7 @@ ((IDESettings)IDESettings.findObject (IDESettings.class, true)).addPropertyChangeListener (idePCL); } catch (Exception ex) { - NbTopManager.get ().notifyException (ex); + ErrorManager.getDefault().notify(ex); } } } @@ -807,71 +779,58 @@ private Task initTask; /** thread that initialized the task and has to recieve good results */ private Thread initThread; + /** currently effective ClassLoader */ + private static ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); /** Initialize the lookup to delegate to NbTopManager. */ public Lkp () { super (new Lookup[] { // #14722: pay attention also to META-INF/services/class.Name resources: - createMetaInfServicesLookup(false), + createMetaInfServicesLookup(), + Lookups.singleton(classLoader), }); } - - /** @param modules if true, use module classloader, else not */ - private static Lookup createMetaInfServicesLookup(boolean modules) { + + private static Lookup createMetaInfServicesLookup() { //System.err.println("cMISL: modules=" + modules); try { // XXX consider just making this a public class! + // or making Lookups.metaInfServices(ClassLoader) static utility method Class clazz = Class.forName("org.openide.util.MetaInfServicesLookup"); // NOI18N Constructor c = clazz.getDeclaredConstructor(new Class[] {ClassLoader.class}); c.setAccessible(true); - ClassLoader loader; - if (modules) { - loader = get().getModuleSystem().getManager().getClassLoader(); - } else { - loader = Lkp.class.getClassLoader(); - } - return (Lookup)c.newInstance(new Object[] {loader}); + return (Lookup)c.newInstance(new Object[] {classLoader}); } catch (Exception e) { e.printStackTrace(); return Lookup.EMPTY; } } - private static final class ConvertorListener - implements PropertyChangeListener { - public void propertyChange(PropertyChangeEvent evt) { - if (evt == null || ModuleManager.PROP_ENABLED_MODULES.equals(evt.getPropertyName())) { - //System.err.println("modules changed; changing metaInfServicesLookup"); - // Time to refresh META-INF/services/ lookup; modules turned on or off. - Lookup lookup = Lookup.getDefault(); - if (lookup instanceof Lkp) { - Lkp lkp = (Lkp)lookup; - Lookup[] old = lkp.getLookups(); - Lookup[] nue = (Lookup[])old.clone(); - nue[0] = createMetaInfServicesLookup(true); - lkp.setLookups(nue); - //System.err.println("lookups: " + java.util.Arrays.asList(nue)); - } - /* just testing: - { - try { - Class c = get().systemClassLoader().loadClass("org.foo.Interface"); - System.err.println("org.foo.Interface: " + Lookup.getDefault().lookup(new Lookup.Template(c)).allInstances()); - } catch (Exception e) { - System.err.println(e.toString()); - } - } - */ - } + /** Called when a system classloader changes. + */ + public static final void systemClassLoaderChanged (ClassLoader nue) { + if (classLoader != nue) { + classLoader = nue; + Lkp l = (Lkp)Lookup.getDefault(); + Lookup[] delegates = l.getLookups(); + Lookup[] newDelegates = (Lookup[])delegates.clone(); + // Replace classloader. + newDelegates[0] = createMetaInfServicesLookup(); + newDelegates[1] = Lookups.singleton(classLoader); + l.setLookups(newDelegates); } } - - /** Called when a system classloader changes. + + /** Called when modules are about to be turned on. */ - public static final void systemClassLoaderChanged () { - NbTopManager.get ().unregister (ClassLoaderConvertor.CLASSLOADER, ClassLoaderConvertor.CLASSLOADER); - NbTopManager.get ().register (ClassLoaderConvertor.CLASSLOADER, ClassLoaderConvertor.CLASSLOADER); + public static final void moduleClassLoadersUp() { + Lkp l = (Lkp)Lookup.getDefault(); + Lookup[] newDelegates = null; + Lookup[] delegates = l.getLookups(); + newDelegates = (Lookup[])delegates.clone(); + newDelegates[0] = createMetaInfServicesLookup(); + l.setLookups(newDelegates); } /** When all module classes are accessible thru systemClassLoader, this @@ -912,7 +871,8 @@ final void doInitializeLookup () { //System.err.println("doInitializeLookup"); - FileObject services = TopManager.getDefault().getRepository().getDefaultFileSystem().findResource("Services"); + FileObject services = Repository.getDefault().getDefaultFileSystem() + .findResource("Services"); Lookup nue; if (services != null) { StartLog.logProgress("Got Services folder"); // NOI18N @@ -925,25 +885,18 @@ // extend the lookup Lookup[] arr = new Lookup[] { - getLookups()[0], // metaInfServicesLookup; still keep classpath one till later... + getLookups()[0], // metaInfServicesLookup + getLookups()[1], // ClassLoader lookup + // XXX figure out how to put this ahead of MetaInfServicesLookup (for NonGuiMain): NbTopManager.get ().getInstanceLookup (), nue, - NbTopManager.get().getModuleSystem().getManager().getModuleLookup(), + NbTopManager.get().getModuleSystem().getManager().getModuleLookup() }; StartLog.logProgress ("prepared other Lookups"); // NOI18N setLookups (arr); StartLog.logProgress ("Lookups set"); // NOI18N - // Also listen for changes in modules, as META-INF/services/ would change: - ModuleManager mgr = get().getModuleSystem().getManager(); - ConvertorListener l = new ConvertorListener(); - mgr.addPropertyChangeListener(l); - if (!mgr.getEnabledModules().isEmpty()) { - // Ready now. - l.propertyChange(null); - } - //StartLog.logEnd ("NbTopManager$Lkp: initialization of FolderLookup"); // NOI18N synchronized (this) { @@ -965,32 +918,14 @@ t.waitFinished(); } + // Force module system to be initialize by looking up ModuleInfo. + // Good for unit tests, etc. + if (templ.getType() == ModuleInfo.class || templ.getType() == Module.class) { + get(); + } + super.beforeLookup(templ); } } - - /** Special item for system class loader (which is dynamic). - */ - private final static class ClassLoaderConvertor - implements InstanceContent.Convertor { - public static final ClassLoaderConvertor CLASSLOADER = new ClassLoaderConvertor (); - - public Object convert(Object obj) { - return NbTopManager.get ().systemClassLoader(); - } - - public String displayName(Object obj) { - return id (obj); - } - - public String id(Object obj) { - return "TM[systemClassLoader"; // NOI18N - } - - public Class type(Object obj) { - return ClassLoader.class; - } - - } // end of ClassLoaderConvertor } Index: core/src/org/netbeans/core/NetworkOptionsBeanInfo.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NetworkOptionsBeanInfo.java,v retrieving revision 1.11 diff -u -r1.11 NetworkOptionsBeanInfo.java --- core/src/org/netbeans/core/NetworkOptionsBeanInfo.java 17 Jan 2002 15:46:01 -0000 1.11 +++ core/src/org/netbeans/core/NetworkOptionsBeanInfo.java 16 Oct 2002 04:50:00 -0000 @@ -16,7 +16,6 @@ import java.awt.Image; import java.beans.*; -import org.openide.TopManager; import org.openide.util.Utilities; import org.openide.ErrorManager; Index: core/src/org/netbeans/core/NonGui.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NonGui.java,v retrieving revision 1.78 diff -u -r1.78 NonGui.java --- core/src/org/netbeans/core/NonGui.java 15 Sep 2002 20:22:39 -0000 1.78 +++ core/src/org/netbeans/core/NonGui.java 16 Oct 2002 04:50:00 -0000 @@ -40,6 +40,7 @@ import org.openide.explorer.*; import org.openide.explorer.view.BeanTreeView; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.NbBundle; import org.openide.util.SharedClassObject; import org.openide.util.RequestProcessor; @@ -53,9 +54,11 @@ import org.netbeans.core.actions.*; import org.netbeans.core.projects.ModuleLayeredFileSystem; import org.netbeans.core.perftool.StartLog; +import org.netbeans.core.projects.TrivialProjectManager; import org.netbeans.core.modules.ModuleSystem; import org.netbeans.core.execution.ExecutionSettings; import org.netbeans.core.execution.TopSecurityManager; +import org.openide.awt.StatusDisplayer; /** This class is a TopManager for Corona environment. * @@ -171,9 +174,6 @@ return systemDir; } - /** Subclasses will do better. */ - protected void setStatusTextImpl(String text) {} - /** Everything is interactive */ public boolean isInteractive (int il) { return true; @@ -348,29 +348,37 @@ // Initialize beans - [PENDING - better place for this ?] // [PENDING - can PropertyEditorManager garbage collect ?] - java.beans.Introspector.setBeanInfoSearchPath (new String[] { - "org.netbeans.beaninfo", // NOI18N - "org.netbeans.beaninfo.awt", // NOI18N - "org.netbeans.beaninfo.swing", // NOI18N - "sun.beans.infos" // NOI18N - }); - java.beans.PropertyEditor pe = java.beans.PropertyEditorManager.findEditor(java.lang.Byte.TYPE); // to enforce initialization of registering PE for primitive types - java.beans.PropertyEditorManager.setEditorSearchPath ( - new String[] { "org.netbeans.beaninfo.editors", "org.openide.explorer.propertysheet.editors" }); // NOI18N - java.beans.PropertyEditorManager.registerEditor (getKlass("[Ljava.lang.String;"), getKlass("org.openide.explorer.propertysheet.editors.StringArrayEditor")); - java.beans.PropertyEditorManager.registerEditor (getKlass("[Lorg.openide.src.MethodParameter;"), getKlass("org.openide.explorer.propertysheet.editors.MethodParameterArrayEditor")); - java.beans.PropertyEditorManager.registerEditor (getKlass("[Lorg.openide.src.Identifier;"), getKlass("org.openide.explorer.propertysheet.editors.IdentifierArrayEditor")); - java.beans.PropertyEditorManager.registerEditor (java.lang.Character.TYPE, getKlass("org.netbeans.beaninfo.editors.CharEditor")); + String[] sysbisp = Introspector.getBeanInfoSearchPath(); + String[] nbbisp = new String[] { + "org.netbeans.beaninfo", // NOI18N + "org.netbeans.beaninfo.awt", // NOI18N + "org.netbeans.beaninfo.swing", // NOI18N + }; + String[] allbisp = new String[sysbisp.length + nbbisp.length]; + System.arraycopy(nbbisp, 0, allbisp, 0, nbbisp.length); + System.arraycopy(sysbisp, 0, allbisp, nbbisp.length, sysbisp.length); + Introspector.setBeanInfoSearchPath(allbisp); + String[] syspesp = PropertyEditorManager.getEditorSearchPath(); + String[] nbpesp = new String[] { + "org.netbeans.beaninfo.editors", // NOI18N + "org.openide.explorer.propertysheet.editors", // NOI18N + }; + String[] allpesp = new String[syspesp.length + nbpesp.length]; + System.arraycopy(nbpesp, 0, allpesp, 0, nbpesp.length); + System.arraycopy(syspesp, 0, allpesp, nbpesp.length, syspesp.length); + PropertyEditorManager.setEditorSearchPath(allpesp); + PropertyEditorManager.registerEditor (java.lang.Character.TYPE, getKlass("org.netbeans.beaninfo.editors.CharEditor")); + PropertyEditorManager.registerEditor(getKlass("[Ljava.lang.String;"), getKlass("org.netbeans.beaninfo.editors.StringArrayEditor")); // NOI18N StartLog.logProgress ("PropertyEditors registered"); // NOI18N // ----------------------------------------------------------------------------------------------------- - setStatusText (getString("MSG_IDEInit")); + StatusDisplayer.getDefault().setStatusText (getString("MSG_IDEInit")); // ----------------------------------------------------------------------------------------------------- // 7. Initialize FileSystems - getRepository (); + Repository.getDefault(); StartLog.logProgress ("Repository initialized"); // NOI18N // ----------------------------------------------------------------------------------------------------- @@ -440,7 +448,7 @@ { StartLog.logStart ("Modules initialization"); // NOI18N - FileSystem sfs = getRepository().getDefaultFileSystem(); + FileSystem sfs = Repository.getDefault().getDefaultFileSystem(); getUserDir(); File moduleDirHome = new File(homeDir, DIR_MODULES); File moduleDirUser; @@ -450,15 +458,14 @@ moduleDirUser = new File(userDir, DIR_MODULES); } try { - moduleSystem = new ModuleSystem(getRepository().getDefaultFileSystem(), moduleDirHome, moduleDirUser); + moduleSystem = new ModuleSystem(Repository.getDefault().getDefaultFileSystem(), moduleDirHome, moduleDirUser); } catch (IOException ioe) { // System will be screwed up. IllegalStateException ise = new IllegalStateException("Module system cannot be created"); // NOI18N - getErrorManager().annotate(ise, ioe); + ErrorManager.getDefault().annotate(ise, ioe); throw ise; } StartLog.logProgress ("ModuleSystem created"); // NOI18N - fireSystemClassLoaderChange(); moduleSystem.loadBootModules(); moduleSystem.readList(); @@ -476,9 +483,14 @@ // ----------------------------------------------------------------------------------------------------- // 10. Initialization of project (because it can change loader pool and it influences main window menu) try { - NbProjectOperation.openOrCreateProject (); + LoaderPoolNode.load(); + } catch (IOException ioe) { + ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, ioe); + } + try { + ((TrivialProjectManager)Lookup.getDefault().lookup(TrivialProjectManager.class)).load(); } catch (IOException e) { - getErrorManager ().notify (ErrorManager.INFORMATIONAL, e); + ErrorManager.getDefault().notify (ErrorManager.INFORMATIONAL, e); } StartLog.logProgress ("Project opened"); // NOI18N Main.incrementSplashProgressBar(10); @@ -565,8 +577,9 @@ Main.incrementSplashProgressBar(); // run classes int Startup folder - - startFolder (getDefault ().getPlaces ().folders ().startup ()); + + // Could be places = NbPlaces.getDefault(); + startFolder(NbPlaces.getDefault().startup ()); StartLog.logProgress ("StartFolder content started"); // NOI18N Main.incrementSplashProgressBar(); } Index: core/src/org/netbeans/core/NonGuiMain.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NonGuiMain.java,v retrieving revision 1.10 diff -u -r1.10 NonGuiMain.java --- core/src/org/netbeans/core/NonGuiMain.java 24 Apr 2002 14:27:29 -0000 1.10 +++ core/src/org/netbeans/core/NonGuiMain.java 16 Oct 2002 04:50:00 -0000 @@ -399,7 +399,8 @@ java.awt.Font nbDialogPlain = new java.awt.Font ("Dialog", java.awt.Font.PLAIN, uiFontSize); // NOI18N if (load) { - org.openide.TopManager.getDefault(); +// org.openide.TopManager.getDefault(); + NbTopManager.get(); } try { @@ -461,9 +462,10 @@ /** Calls TopManager.getDefault().exit(); */ public static void myExit(int status) { - if (TopManager.isInitialized()) { + if (NbTopManager.isInitialized()) { - TopManager.getDefault().exit(); +// TopManager.getDefault().exit(); + org.openide.LifecycleManager.getDefault().exit(); } TopSecurityManager.exit(status); } @@ -507,7 +509,7 @@ } public OutputWriter getStdOut () { - return getIO("").getOut(); // NOI18N + return getIO("", true).getOut(); // NOI18N } /** Prints the notification to the out.*/ Index: core/src/org/netbeans/core/NotifyException.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/NotifyException.java,v retrieving revision 1.35 diff -u -r1.35 NotifyException.java --- core/src/org/netbeans/core/NotifyException.java 8 Jul 2002 11:46:18 -0000 1.35 +++ core/src/org/netbeans/core/NotifyException.java 16 Oct 2002 04:50:00 -0000 @@ -119,7 +119,7 @@ descriptor.setClosingOptions (new Object[0]); descriptor.setButtonListener (this); - dialog = TopManager.getDefault ().createDialog (descriptor); + dialog = org.openide.DialogDisplayer.getDefault ().createDialog (descriptor); } /** Adds new exception into the queue. @@ -133,13 +133,13 @@ int gs = t.getSeverity(); if (gs == ErrorManager.WARNING && glm != null && !glm.equals("")) // NOI18N - TopManager.getDefault().notify( + org.openide.DialogDisplayer.getDefault().notify( new NotifyDescriptor.Message(glm, NotifyDescriptor.WARNING_MESSAGE)); else if (gs == ErrorManager.USER && glm != null && !glm.equals("")) // NOI18N - TopManager.getDefault().notify( + org.openide.DialogDisplayer.getDefault().notify( new NotifyDescriptor.Message(glm, NotifyDescriptor.INFORMATION_MESSAGE)); else if (gs == ErrorManager.ERROR && glm != null && !glm.equals("")) // NOI18N - TopManager.getDefault().notify( + org.openide.DialogDisplayer.getDefault().notify( new NotifyDescriptor.Message(glm, NotifyDescriptor.ERROR_MESSAGE)); else { if (INSTANCE == null) @@ -164,7 +164,7 @@ // Dialog held in dialog variable is disposed for sure // (see code in actionPerformed), // so we can safely send it to gc and recreate dialog - dialog = TopManager.getDefault ().createDialog (descriptor); + dialog = org.openide.DialogDisplayer.getDefault ().createDialog (descriptor); } // the dialog is not shown current = t; Index: core/src/org/netbeans/core/Plain.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/Plain.java,v retrieving revision 1.27 diff -u -r1.27 Plain.java --- core/src/org/netbeans/core/Plain.java 27 Aug 2002 09:38:22 -0000 1.27 +++ core/src/org/netbeans/core/Plain.java 16 Oct 2002 04:50:00 -0000 @@ -7,7 +7,7 @@ * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2002 Sun * Microsystems, Inc. All Rights Reserved. */ @@ -16,6 +16,8 @@ import java.io.File; import java.io.IOException; import java.net.URL; +import javax.swing.event.ChangeEvent; +import javax.swing.event.ChangeListener; import org.openide.filesystems.*; import org.openide.filesystems.FileSystem; @@ -23,22 +25,27 @@ import org.netbeans.core.modules.ModuleSystem; import org.netbeans.core.projects.ModuleLayeredFileSystem; import org.netbeans.core.xml.NbSAXParserFactoryImpl; +import org.openide.awt.StatusDisplayer; /** Default implementation of TopManager that is used when * the system is used without initialization. * * @author Jaroslav Tulach */ -public class Plain extends NbTopManager implements Runnable { +public class Plain extends NbTopManager implements Runnable, ChangeListener { static { NbSAXParserFactoryImpl.install(); } + + private final StatusDisplayer status; - /** Creates new Plain. */ - public Plain() { - if (Boolean.getBoolean("org.netbeans.core.Plain.CULPRIT")) Thread.dumpStack(); // NOI18N - } + /** Creates new Plain. */ + public Plain() { + if (Boolean.getBoolean("org.netbeans.core.Plain.CULPRIT")) Thread.dumpStack(); // NOI18N + status = StatusDisplayer.getDefault(); + status.addChangeListener(this); + } private ModuleSystem moduleSystem; @@ -77,14 +84,10 @@ return new Object(); } - protected void setStatusTextImpl(String text) { - System.out.println(text); - } - /** Create the module system. Subclasses may override. */ protected ModuleSystem createModuleSystem() throws IOException { String userDir = System.getProperty("modules.dir"); // NOI18N - FileSystem fs = getRepository().getDefaultFileSystem(); + FileSystem fs = Repository.getDefault().getDefaultFileSystem(); return new ModuleSystem(fs, userDir == null ? null : new File(userDir), null); } @@ -97,9 +100,8 @@ notifyException(ioe); return; } - fireSystemClassLoaderChange(); moduleSystem.loadBootModules(); - if (!getRepository().getDefaultFileSystem().isReadOnly()) { + if (!Repository.getDefault().getDefaultFileSystem().isReadOnly()) { moduleSystem.readList(); moduleSystem.scanForNewAndRestore(); LoaderPoolNode.installationFinished(); @@ -114,14 +116,8 @@ return moduleSystem; } -/* JST: not needed anymore. - static class ClassLoaderFinder extends SecurityManager implements org.openide.util.NbBundle.ClassLoaderFinder { - - public ClassLoader find() { - Class[] classes = getClassContext(); - return classes[Math.min(4, classes.length - 1)].getClassLoader(); + public void stateChanged(ChangeEvent e) { + System.out.println(status.getStatusText()); } - } -*/ - + } cvs server: core/src/org/netbeans/core/ProjectCreationException.java was removed, no comparison available Index: core/src/org/netbeans/core/RootFolderNode.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/RootFolderNode.java,v retrieving revision 1.45 diff -u -r1.45 RootFolderNode.java --- core/src/org/netbeans/core/RootFolderNode.java 19 Jun 2002 19:57:04 -0000 1.45 +++ core/src/org/netbeans/core/RootFolderNode.java 16 Oct 2002 04:50:00 -0000 @@ -30,7 +30,6 @@ import org.openide.DialogDescriptor; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.actions.*; import org.openide.filesystems.*; import org.openide.loaders.DataFilter; @@ -293,7 +292,7 @@ if (i instanceof DialogDescriptor) { DialogDescriptor dd = (DialogDescriptor)i; - return TopManager.getDefault ().createDialog (dd); + return org.openide.DialogDisplayer.getDefault ().createDialog (dd); } } catch (Exception ex) { ErrorManager.getDefault ().notify (ex); @@ -322,7 +321,7 @@ /** Unmounts the filesystem from the FSPool */ public void unmount() { MountNode.unmount (fs); - NbTopManager.get ().getRepository ().removeFileSystem (fs); + Repository.getDefault().removeFileSystem (fs); } /** Checks whether the name of FS is changed and if so it updates Index: core/src/org/netbeans/core/Services.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/Services.java,v retrieving revision 1.61 diff -u -r1.61 Services.java --- core/src/org/netbeans/core/Services.java 14 Aug 2002 18:22:38 -0000 1.61 +++ core/src/org/netbeans/core/Services.java 16 Oct 2002 04:50:00 -0000 @@ -31,8 +31,8 @@ import org.openide.util.Lookup.Template; import org.netbeans.beaninfo.editors.ExecutorEditor; -import org.netbeans.beaninfo.editors.CompilerTypeEditor; -import org.netbeans.beaninfo.editors.DebuggerTypeEditor; +//import org.netbeans.beaninfo.editors.CompilerTypeEditor; +//import org.netbeans.beaninfo.editors.DebuggerTypeEditor; /** Works with all service types. * @@ -61,18 +61,18 @@ private static void fillMap(Map map) { map.put(ExecutorEditor.NO_EXECUTOR.getName(), ExecutorEditor.NO_EXECUTOR); - map.put(CompilerTypeEditor.NO_COMPILER.getName(), CompilerTypeEditor.NO_COMPILER); - map.put(DebuggerTypeEditor.NO_DEBUGGER.getName(), DebuggerTypeEditor.NO_DEBUGGER); +// map.put(CompilerTypeEditor.NO_COMPILER.getName(), CompilerTypeEditor.NO_COMPILER); +// map.put(DebuggerTypeEditor.NO_DEBUGGER.getName(), DebuggerTypeEditor.NO_DEBUGGER); } /** Override to specially look up no-op services. */ public ServiceType find (Class clazz) { if (clazz == ExecutorEditor.NoExecutor.class) return ExecutorEditor.NO_EXECUTOR; - else if (clazz == CompilerTypeEditor.NoCompiler.class) - return CompilerTypeEditor.NO_COMPILER; - else if (clazz == DebuggerTypeEditor.NoDebugger.class) - return DebuggerTypeEditor.NO_DEBUGGER; +// else if (clazz == CompilerTypeEditor.NoCompiler.class) +// return CompilerTypeEditor.NO_COMPILER; +// else if (clazz == DebuggerTypeEditor.NoDebugger.class) +// return DebuggerTypeEditor.NO_DEBUGGER; else if (clazz == null) return null; else @@ -144,7 +144,7 @@ arr = ensureSingleness(arr); HashMap services = new HashMap(20); // - searchServices(NbPlaces.findSessionFolder("Services").getPrimaryFile(), services); // NOI18N + searchServices(NbPlaces.getDefault().findSessionFolder("Services").getPrimaryFile(), services); // NOI18N // storing services HashMap order = new HashMap(10); // > @@ -223,7 +223,7 @@ java.beans.BeanInfo info = org.openide.util.Utilities.getBeanInfo(stype); String folder = org.openide.util.Utilities.getShortClassName(stype); - DataFolder dfServices = NbPlaces.findSessionFolder("Services"); // NOI18N + DataFolder dfServices = NbPlaces.getDefault().findSessionFolder("Services"); // NOI18N DataFolder dfTarget = DataFolder.create(dfServices, folder); return InstanceDataObject.create(dfTarget, null, st, null); Index: core/src/org/netbeans/core/ShortcutsEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ShortcutsEditor.java,v retrieving revision 1.30 diff -u -r1.30 ShortcutsEditor.java --- core/src/org/netbeans/core/ShortcutsEditor.java 10 Jan 2002 15:22:04 -0000 1.30 +++ core/src/org/netbeans/core/ShortcutsEditor.java 16 Oct 2002 04:50:00 -0000 @@ -26,7 +26,6 @@ import javax.swing.event.*; import javax.swing.text.Keymap; -import org.openide.TopManager; import org.openide.filesystems.*; import org.openide.loaders.XMLDataObject; import org.openide.util.Utilities; Index: core/src/org/netbeans/core/ShortcutsFolder.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ShortcutsFolder.java,v retrieving revision 1.7 diff -u -r1.7 ShortcutsFolder.java --- core/src/org/netbeans/core/ShortcutsFolder.java 26 Sep 2002 14:33:44 -0000 1.7 +++ core/src/org/netbeans/core/ShortcutsFolder.java 16 Oct 2002 04:50:01 -0000 @@ -25,6 +25,7 @@ import org.openide.loaders.*; import org.openide.cookies.InstanceCookie; import org.openide.util.actions.SystemAction; +import org.openide.util.Lookup; import org.openide.util.Utilities; @@ -98,7 +99,7 @@ map.put (stroke, action); } - Keymap globalMap = TopManager.getDefault ().getGlobalKeymap (); + Keymap globalMap = (Keymap)Lookup.getDefault().lookup(Keymap.class); globalMap.removeBindings(); // globalMap is synchronized if (globalMap instanceof NbKeymap) { @@ -145,7 +146,7 @@ * It is used in ShortcutsPanel. */ static String getKeyStrokeName (KeyStroke stroke) { - Keymap map = TopManager.getDefault ().getGlobalKeymap (); + Keymap map = (Keymap)Lookup.getDefault().lookup(Keymap.class); Action action = map.getAction (stroke); if (action instanceof SystemAction) { String name = ((SystemAction)action).getName (); @@ -165,7 +166,7 @@ String name = Utilities.replaceString (action.getName (), "&", ""); // remove mnemonics marker // NOI18N name = Utilities.replaceString (name, "...", ""); // remove trailing "..." // NOI18N - Keymap map = TopManager.getDefault ().getGlobalKeymap (); + Keymap map = (Keymap)Lookup.getDefault().lookup(Keymap.class); KeyStroke[] strokes = map.getKeyStrokesForAction(action); if (strokes.length > 0) { @@ -235,7 +236,8 @@ private static void transformOldFiles() { // used to be installCurrentBindings try { - org.openide.filesystems.FileSystem systemFS = TopManager.getDefault().getRepository().getDefaultFileSystem (); + org.openide.filesystems.FileSystem systemFS + = Repository.getDefault().getDefaultFileSystem (); boolean defaultsUsed = false; HashMap moduleKeyFiles = new HashMap (11); @@ -301,8 +303,8 @@ * the shortcuts folder. */ public static void installBindings (HashMap strokesMap) throws IOException { - FileObject fo = TopManager.getDefault().getRepository(). - getDefaultFileSystem().getRoot().getFileObject(SHORTCUTS_FOLDER); + FileObject fo = Repository.getDefault().getDefaultFileSystem() + .getRoot().getFileObject(SHORTCUTS_FOLDER); DataFolder f = DataFolder.findFolder(fo); for (Iterator it = strokesMap.keySet().iterator(); it.hasNext (); ) { KeyStroke key = (KeyStroke)it.next (); @@ -367,7 +369,8 @@ act = nl.item (i).getAttributes ().getNamedItem (ATTR_BINDING_ACTION).getNodeValue (); KeyStroke stroke = Utilities.stringToKey (key); - SystemAction action = SystemAction.get (Class.forName(act, true, TopManager.getDefault ().systemClassLoader ())); + SystemAction action = SystemAction.get ( + Class.forName(act, true, (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class))); map.put (stroke, action); } catch (ClassNotFoundException cnfe) { if (Boolean.getBoolean ("netbeans.debug.exceptions")) // NOI18N @@ -382,7 +385,7 @@ */ public static void initShortcuts() { transformOldFiles(); - DataFolder f = NbPlaces.findSessionFolder(SHORTCUTS_FOLDER); + DataFolder f = NbPlaces.getDefault().findSessionFolder(SHORTCUTS_FOLDER); shortcutsFolder = new ShortcutsFolder(f); shortcutsFolder.recreate(); } @@ -400,8 +403,8 @@ * @param List changes - the elements of the List are ChangeRequests */ public static void applyChanges(java.util.List changes) { - FileObject fo = TopManager.getDefault().getRepository().getDefaultFileSystem (). - getRoot().getFileObject(SHORTCUTS_FOLDER); + FileObject fo = Repository.getDefault().getDefaultFileSystem() + .getRoot().getFileObject(SHORTCUTS_FOLDER); DataFolder f = DataFolder.findFolder(fo); Iterator it = changes.listIterator(); while (it.hasNext()) { Index: core/src/org/netbeans/core/ShortcutsPanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ShortcutsPanel.java,v retrieving revision 1.17 diff -u -r1.17 ShortcutsPanel.java --- core/src/org/netbeans/core/ShortcutsPanel.java 10 Jan 2002 15:22:04 -0000 1.17 +++ core/src/org/netbeans/core/ShortcutsPanel.java 16 Oct 2002 04:50:01 -0000 @@ -24,9 +24,9 @@ import javax.swing.*; import org.openide.DialogDescriptor; -import org.openide.TopManager; import org.openide.util.actions.SystemAction; import org.openide.util.Utilities; +import org.openide.util.Lookup; import org.openide.util.NbBundle; /** A panel used in SHortcutsEditor for editing shortcuts (list of shortcuts). @@ -160,7 +160,7 @@ addActionsPanel.setBorder(new javax.swing.border.EmptyBorder(12, 12, 0, 11)); } DialogDescriptor dd = new DialogDescriptor (addActionsPanel, org.openide.util.NbBundle.getBundle(ShortcutsPanel.class).getString("ShortcutsPanel.AddActionTitle")); - java.awt.Dialog d = TopManager.getDefault().createDialog(dd); + java.awt.Dialog d = org.openide.DialogDisplayer.getDefault().createDialog(dd); d.show (); if (dd.getValue() == DialogDescriptor.OK_OPTION) { updateData (); @@ -191,7 +191,7 @@ }//GEN-LAST:event_removeButtonActionPerformed private void updateData () { - map = TopManager.getDefault ().getGlobalKeymap (); + map = (Keymap)Lookup.getDefault ().lookup (Keymap.class); KeyStroke[] strokesArray = map.getBoundKeyStrokes(); strokes = new Vector (); for (int i = 0; i < strokesArray.length; i++) { Index: core/src/org/netbeans/core/Splash.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/Splash.java,v retrieving revision 1.67 diff -u -r1.67 Splash.java --- core/src/org/netbeans/core/Splash.java 11 Sep 2002 16:43:55 -0000 1.67 +++ core/src/org/netbeans/core/Splash.java 16 Oct 2002 04:50:01 -0000 @@ -31,11 +31,14 @@ import javax.swing.*; import java.lang.ref.WeakReference; import java.lang.ref.Reference; +import javax.swing.event.ChangeEvent; +import javax.swing.event.ChangeListener; import org.openide.util.Utilities; import org.openide.util.NbBundle; import org.netbeans.core.ui.ProductInformationPanel; +import org.openide.awt.StatusDisplayer; import org.openide.windows.WindowManager; /** A class that encapsulates all the splash screen things. @@ -49,6 +52,8 @@ /** The about image */ static Reference aboutRef; + + private static StatusDisplayer status; private static String getMainWindowTitle () { String buildNumber = System.getProperty ("netbeans.buildnumber"); // NOI18N @@ -68,11 +73,16 @@ // show splash splashWindow.show (); splashWindow.toFront (); + status = StatusDisplayer.getDefault(); + status.addChangeListener((ChangeListener)splashWindow); + return (SplashOutput) splashWindow; } public static void hideSplash (SplashOutput xsplashWindow) { final Window splashWindow = (Window) xsplashWindow; + status.removeChangeListener((ChangeListener)splashWindow); + status = null; ((SplashOutputInternal) xsplashWindow).hideRequested(); javax.swing.SwingUtilities.invokeLater (new Runnable () { public void run () { @@ -481,7 +491,7 @@ } } - static class SplashWindow extends Window implements SplashOutput, SplashOutputInternal { + static class SplashWindow extends Window implements SplashOutput, SplashOutputInternal, ChangeListener { /** generated Serialized Version UID */ static final long serialVersionUID = 4838519880359397841L; @@ -538,9 +548,13 @@ splashComponent.addAndSetMaxSteps(steps); } + public void stateChanged(ChangeEvent e) { + print(status.getStatusText()); + } + } - static class SplashFrame extends JFrame implements SplashOutput, SplashOutputInternal { + static class SplashFrame extends JFrame implements SplashOutput, SplashOutputInternal, ChangeListener { /** generated Serialized Version UID */ static final long serialVersionUID = 3200319077899134000L; @@ -588,6 +602,10 @@ public void addAndSetMaxSteps(int steps) { splashComponent.addAndSetMaxSteps(steps); + } + + public void stateChanged(ChangeEvent e) { + print(status.getStatusText()); } } Index: core/src/org/netbeans/core/TipsOnStartup.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/TipsOnStartup.java,v retrieving revision 1.22 diff -u -r1.22 TipsOnStartup.java --- core/src/org/netbeans/core/TipsOnStartup.java 11 Apr 2002 16:27:58 -0000 1.22 +++ core/src/org/netbeans/core/TipsOnStartup.java 16 Oct 2002 04:50:01 -0000 @@ -30,7 +30,6 @@ import javax.swing.text.html.*; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.util.NbBundle; @@ -105,16 +104,17 @@ browser.setBackground (java.awt.Color.white); browser.setBorder(new EtchedBorder(EtchedBorder.LOWERED)); browser.addHyperlinkListener(new HyperlinkListener() { - public void hyperlinkUpdate(HyperlinkEvent e) { - if (e.getEventType () == HyperlinkEvent.EventType.ACTIVATED) { - TopManager tom = TopManager.getDefault(); - tom.setStatusText(bundle.getString("CTL_OpeningBrowser")); - tom.showUrl(e.getURL()); - TopManager.getDefault().setStatusText(""); // NOI18N - } - } - } - ); + public void hyperlinkUpdate(HyperlinkEvent e) { + if (e.getEventType () == HyperlinkEvent.EventType.ACTIVATED) { + + org.openide.awt.StatusDisplayer.getDefault().setStatusText( + bundle.getString("CTL_OpeningBrowser")); + org.openide.awt.HtmlBrowser.URLDisplayer.getDefault().showURL(e.getURL()); + org.openide.awt.StatusDisplayer.getDefault().setStatusText(""); // NOI18N + } + } + } + ); add(new JScrollPane(browser), BorderLayout.CENTER); jcx = new JCheckBox(bundle.getString("CTL_NEXTSTARTUP"), true); @@ -152,7 +152,7 @@ } } if (url == null) { - TopManager.getDefault ().notify ( + org.openide.DialogDisplayer.getDefault ().notify ( new NotifyDescriptor.Message ( NbBundle.getBundle (TipsOnStartup.class).getString ("ERR_NoTipsFound"), NotifyDescriptor.WARNING_MESSAGE)); Index: core/src/org/netbeans/core/ToolbarFolderNode.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ToolbarFolderNode.java,v retrieving revision 1.30 diff -u -r1.30 ToolbarFolderNode.java --- core/src/org/netbeans/core/ToolbarFolderNode.java 26 Sep 2002 14:33:44 -0000 1.30 +++ core/src/org/netbeans/core/ToolbarFolderNode.java 16 Oct 2002 04:50:01 -0000 @@ -24,7 +24,6 @@ import org.openide.cookies.InstanceCookie; import org.openide.NotifyDescriptor; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.filesystems.FileObject; import org.openide.filesystems.FileSystem; import org.openide.loaders.DataFolder; @@ -33,6 +32,7 @@ import org.openide.util.datatransfer.NewType; import org.openide.util.actions.SystemAction; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.NbBundle; import org.openide.util.WeakListener; import org.openide.awt.Toolbar; @@ -57,7 +57,7 @@ public static final ResourceBundle bundle = NbBundle.getBundle (ToolbarFolderNode.class); public ToolbarFolderNode () { - this (NbTopManager.getDefault ().getPlaces ().folders ().toolbars ()); + this (NbPlaces.getDefault().toolbars ()); } /** Constructs this node with given node to filter. @@ -106,7 +106,7 @@ bundle.getString ("PROP_newToolbarDialog")); il.setInputText (bundle.getString ("PROP_newToolbar")); - Object ok = TopManager.getDefault ().notify (il); + Object ok = org.openide.DialogDisplayer.getDefault ().notify (il); if (ok == NotifyDescriptor.OK_OPTION) { String s = il.getInputText(); if (!s.equals ("")) { // NOI18N @@ -138,7 +138,7 @@ bundle.getString ("PROP_newToolbarConfigDialog")); il.setInputText (bundle.getString ("PROP_newToolbarConfig")); - Object ok = TopManager.getDefault ().notify (il); + Object ok = org.openide.DialogDisplayer.getDefault ().notify (il); if (ok == NotifyDescriptor.OK_OPTION) { String s = il.getInputText(); if (!s.equals ("")) { // NOI18N @@ -630,7 +630,7 @@ /** Returns ToolbarConfiguration found by its name or null if such config doesn't exist. */ ToolbarConfiguration configuration(String conf) { - DataObject[] obj = NbTopManager.getDefault ().getPlaces ().folders ().toolbars ().getChildren(); + DataObject[] obj = NbPlaces.getDefault().toolbars ().getChildren(); for (int i = 0; i < obj.length; i++) { DataObject o = obj[i]; org.openide.cookies.InstanceCookie ic = (org.openide.cookies.InstanceCookie)o.getCookie(org.openide.cookies.InstanceCookie.class); cvs server: core/src/org/netbeans/core/UpdateSupport.java was removed, no comparison available cvs server: Diffing core/src/org/netbeans/core/actions cvs server: core/src/org/netbeans/core/actions/AddFSAction.java was removed, no comparison available cvs server: core/src/org/netbeans/core/actions/AddJarAction.java was removed, no comparison available Index: core/src/org/netbeans/core/actions/CloseMaximizedFrameAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/CloseMaximizedFrameAction.java,v retrieving revision 1.2 diff -u -r1.2 CloseMaximizedFrameAction.java --- core/src/org/netbeans/core/actions/CloseMaximizedFrameAction.java 8 Apr 2002 14:39:57 -0000 1.2 +++ core/src/org/netbeans/core/actions/CloseMaximizedFrameAction.java 16 Oct 2002 04:50:01 -0000 @@ -18,7 +18,6 @@ import java.awt.event.*; import java.util.*; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.awt.JMenuPlus; @@ -77,7 +76,7 @@ public boolean isEnabled () { if (WindowUtils.isMdi()) { WindowManagerImpl wm = - (WindowManagerImpl)TopManager.getDefault().getWindowManager(); + (WindowManagerImpl)WindowManager.getDefault(); WorkspaceImpl currentWorkspace = (WorkspaceImpl) wm.getCurrentWorkspace(); ModeImpl maximizedMode = currentWorkspace.getTopMaximizedMode(); if (maximizedMode != null) { @@ -100,7 +99,7 @@ /** Implementation of runnable interface, runs the action command */ public void run() { WindowManagerImpl wm = - (WindowManagerImpl)TopManager.getDefault().getWindowManager(); + (WindowManagerImpl)WindowManager.getDefault(); WorkspaceImpl currentWorkspace = (WorkspaceImpl) wm.getCurrentWorkspace(); ModeImpl maximizedMode = currentWorkspace.getTopMaximizedMode(); if (maximizedMode != null) { Index: core/src/org/netbeans/core/actions/ConfigureShortcutsAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/ConfigureShortcutsAction.java,v retrieving revision 1.15 diff -u -r1.15 ConfigureShortcutsAction.java --- core/src/org/netbeans/core/actions/ConfigureShortcutsAction.java 19 Feb 2002 14:17:23 -0000 1.15 +++ core/src/org/netbeans/core/actions/ConfigureShortcutsAction.java 16 Oct 2002 04:50:01 -0000 @@ -14,7 +14,6 @@ package org.netbeans.core.actions; import org.openide.DialogDescriptor; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; @@ -40,7 +39,7 @@ null, null ); - TopManager.getDefault ().createDialog (dd).show (); + org.openide.DialogDisplayer.getDefault ().createDialog (dd).show (); se.flushChanges(); } Index: core/src/org/netbeans/core/actions/DisplayToolbarsAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/DisplayToolbarsAction.java,v retrieving revision 1.2 diff -u -r1.2 DisplayToolbarsAction.java --- core/src/org/netbeans/core/actions/DisplayToolbarsAction.java 19 Feb 2002 14:17:23 -0000 1.2 +++ core/src/org/netbeans/core/actions/DisplayToolbarsAction.java 16 Oct 2002 04:50:01 -0000 @@ -17,9 +17,10 @@ import org.netbeans.core.ToolbarFolderNode; -import org.openide.TopManager; +import org.openide.nodes.NodeOperation; import org.openide.util.actions.CallableSystemAction; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.NbBundle; /** Displayes a toolbar tree in the explorer @@ -54,7 +55,9 @@ /** An action */ public void performAction () { - TopManager.getDefault().getNodeOperation ().explore(new ToolbarFolderNode()); + NodeOperation no = (NodeOperation)Lookup.getDefault() + .lookup (NodeOperation.class); + no.explore(new ToolbarFolderNode()); } /** Getter for a ResourceBundle Index: core/src/org/netbeans/core/actions/EditorViewAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/EditorViewAction.java,v retrieving revision 1.22 diff -u -r1.22 EditorViewAction.java --- core/src/org/netbeans/core/actions/EditorViewAction.java 21 Mar 2002 11:35:08 -0000 1.22 +++ core/src/org/netbeans/core/actions/EditorViewAction.java 16 Oct 2002 04:50:01 -0000 @@ -16,7 +16,6 @@ import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.util.WeakListener; Index: core/src/org/netbeans/core/actions/FrameResidenceAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/FrameResidenceAction.java,v retrieving revision 1.7 diff -u -r1.7 FrameResidenceAction.java --- core/src/org/netbeans/core/actions/FrameResidenceAction.java 16 Jul 2002 08:27:59 -0000 1.7 +++ core/src/org/netbeans/core/actions/FrameResidenceAction.java 16 Oct 2002 04:50:01 -0000 @@ -18,7 +18,6 @@ import java.awt.event.*; import java.util.*; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.awt.JMenuPlus; Index: core/src/org/netbeans/core/actions/GlobalPropertiesAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/GlobalPropertiesAction.java,v retrieving revision 1.12 diff -u -r1.12 GlobalPropertiesAction.java --- core/src/org/netbeans/core/actions/GlobalPropertiesAction.java 19 Feb 2002 14:17:23 -0000 1.12 +++ core/src/org/netbeans/core/actions/GlobalPropertiesAction.java 16 Oct 2002 04:50:01 -0000 @@ -13,7 +13,6 @@ package org.netbeans.core.actions; -import org.openide.TopManager; import org.openide.windows.TopComponent; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; Index: core/src/org/netbeans/core/actions/HTMLViewAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/HTMLViewAction.java,v retrieving revision 1.22 diff -u -r1.22 HTMLViewAction.java --- core/src/org/netbeans/core/actions/HTMLViewAction.java 21 Mar 2002 11:35:09 -0000 1.22 +++ core/src/org/netbeans/core/actions/HTMLViewAction.java 16 Oct 2002 04:50:01 -0000 @@ -13,7 +13,6 @@ package org.netbeans.core.actions; -import org.openide.TopManager; import org.openide.awt.HtmlBrowser; import org.openide.windows.*; import org.openide.util.HelpCtx; @@ -25,7 +24,7 @@ import org.openide.windows.WindowManager; /** Activates last opened HTML browser or opens a HTML Browser on the home URL - * specified in IDESettings using TopManager.showUrl(). + * specified in IDESettings using HtmlBrowser.URLDisplayer.showURL(). * * @author Ian Formanek */ @@ -41,10 +40,8 @@ } public void performAction() { - TopManager tm = TopManager.getDefault(); - tm.setStatusText (NbBundle.getBundle(HTMLViewAction.class). - getString("CTL_OpeningBrowser") - ); + org.openide.awt.StatusDisplayer.getDefault().setStatusText( + NbBundle.getBundle(HTMLViewAction.class).getString("CTL_OpeningBrowser")); try { boolean notFound = true; @@ -78,8 +75,8 @@ } } if (notFound) { - tm.showUrl (new java.net.URL ( - HtmlBrowser.getHomePage () + HtmlBrowser.URLDisplayer.getDefault().showURL( + new java.net.URL(HtmlBrowser.getHomePage () )); } } catch (java.net.MalformedURLException e) { @@ -87,16 +84,17 @@ startsWith ("http://") // NOI18N ) { try { - tm.showUrl (new java.net.URL ( - "http://" + HtmlBrowser.getHomePage () // NOI18N + HtmlBrowser.URLDisplayer.getDefault().showURL( + new java.net.URL("http://" + HtmlBrowser.getHomePage () // NOI18N )); } catch (java.net.MalformedURLException e1) { - tm.showUrl (IDESettings.getRealHomeURL ()); + HtmlBrowser.URLDisplayer.getDefault().showURL( + IDESettings.getRealHomeURL ()); } } else - tm.showUrl (IDESettings.getRealHomeURL ()); + HtmlBrowser.URLDisplayer.getDefault().showURL(IDESettings.getRealHomeURL ()); } - tm.setStatusText (""); // NOI18N + org.openide.awt.StatusDisplayer.getDefault().setStatusText (""); // NOI18N } public String getName() { Index: core/src/org/netbeans/core/actions/MinimizeMaximizedFrameAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/MinimizeMaximizedFrameAction.java,v retrieving revision 1.2 diff -u -r1.2 MinimizeMaximizedFrameAction.java --- core/src/org/netbeans/core/actions/MinimizeMaximizedFrameAction.java 8 Apr 2002 14:39:58 -0000 1.2 +++ core/src/org/netbeans/core/actions/MinimizeMaximizedFrameAction.java 16 Oct 2002 04:50:01 -0000 @@ -18,7 +18,6 @@ import java.awt.event.*; import java.util.*; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.awt.JMenuPlus; @@ -77,7 +76,7 @@ return false; } WindowManagerImpl wm = - (WindowManagerImpl)TopManager.getDefault().getWindowManager(); + (WindowManagerImpl)WindowManager.getDefault(); WorkspaceImpl currentWorkspace = (WorkspaceImpl) wm.getCurrentWorkspace(); ModeImpl maximizedMode = currentWorkspace.getTopMaximizedMode(); if (maximizedMode != null) { @@ -99,7 +98,7 @@ /** Implementation of runnable interface, runs the action command */ public void run() { WindowManagerImpl wm = - (WindowManagerImpl)TopManager.getDefault().getWindowManager(); + (WindowManagerImpl)WindowManager.getDefault(); WorkspaceImpl currentWorkspace = (WorkspaceImpl) wm.getCurrentWorkspace(); ModeImpl maximizedMode = currentWorkspace.getTopMaximizedMode(); if (maximizedMode != null) { Index: core/src/org/netbeans/core/actions/MountAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/MountAction.java,v retrieving revision 1.8 diff -u -r1.8 MountAction.java --- core/src/org/netbeans/core/actions/MountAction.java 10 Apr 2002 11:59:23 -0000 1.8 +++ core/src/org/netbeans/core/actions/MountAction.java 16 Oct 2002 04:50:01 -0000 @@ -18,7 +18,6 @@ import javax.swing.JMenuItem; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.util.actions.CallableSystemAction; Index: core/src/org/netbeans/core/actions/NewTemplateCallableAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/NewTemplateCallableAction.java,v retrieving revision 1.6 diff -u -r1.6 NewTemplateCallableAction.java --- core/src/org/netbeans/core/actions/NewTemplateCallableAction.java 11 Apr 2002 16:28:00 -0000 1.6 +++ core/src/org/netbeans/core/actions/NewTemplateCallableAction.java 16 Oct 2002 04:50:01 -0000 @@ -16,14 +16,16 @@ import java.util.ResourceBundle; import java.util.Enumeration; import java.awt.event.ActionEvent; +import org.netbeans.core.NbPlaces; -import org.openide.TopManager; +import org.openide.actions.ActionManager; import org.openide.filesystems.FileSystem; import org.openide.filesystems.Repository; import org.openide.nodes.Node; import org.openide.actions.NewTemplateAction; import org.openide.util.actions.CallableSystemAction; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.NbBundle; import org.openide.util.SharedClassObject; @@ -82,8 +84,9 @@ if (isWritable) { ((NewTemplateAction) SharedClassObject.findObject (NewTemplateAction.class, true)).performAction (); } else { - Node mountNode = TopManager.getDefault ().getPlaces ().nodes ().repositorySettings (); - TopManager.getDefault ().getActionManager ().invokeAction ( + Node mountNode = NbPlaces.getDefault().repositorySettings (); + ActionManager am = (ActionManager)Lookup.getDefault ().lookup (ActionManager.class); + am.invokeAction ( (NewTemplateAction)SharedClassObject.findObject (NewTemplateAction.class, true), new ActionEvent (mountNode, ActionEvent.ACTION_PERFORMED, null) ); Index: core/src/org/netbeans/core/actions/OptionsAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/OptionsAction.java,v retrieving revision 1.44 diff -u -r1.44 OptionsAction.java --- core/src/org/netbeans/core/actions/OptionsAction.java 25 Sep 2002 13:43:10 -0000 1.44 +++ core/src/org/netbeans/core/actions/OptionsAction.java 16 Oct 2002 04:50:01 -0000 @@ -32,7 +32,6 @@ import org.openide.util.actions.SystemAction; import org.openide.util.actions.ActionPerformer; import org.openide.util.actions.CallableSystemAction; -import org.openide.TopManager; import org.openide.nodes.*; import org.openide.explorer.ExplorerPanel; import org.openide.explorer.propertysheet.PropertySheetView; @@ -51,6 +50,7 @@ import org.netbeans.core.projects.SettingChildren; import org.netbeans.core.projects.SessionManager; import org.netbeans.core.NbMainExplorer; +import org.netbeans.core.NbPlaces; import org.netbeans.core.windows.ModeImpl; import org.netbeans.core.windows.PersistenceManager; import org.netbeans.core.windows.WindowManagerImpl; @@ -73,7 +73,8 @@ /** Shows options panel. */ public void performAction () { - TopManager.getDefault().setStatusText(NbBundle.getBundle(OptionsAction.class).getString("MSG_Preparing_options")); + org.openide.awt.StatusDisplayer.getDefault().setStatusText( + NbBundle.getBundle(OptionsAction.class).getString("MSG_Preparing_options")); OptionsPanel singleton = OptionsPanel.singleton(); singleton.prepareNodes (); @@ -109,7 +110,7 @@ optionPanel.requestFocus(); optionPanel.requestDefaultFocus(); - TopManager.getDefault ().setStatusText (""); // NOI18N + org.openide.awt.StatusDisplayer.getDefault ().setStatusText (""); // NOI18N } }); } @@ -248,7 +249,8 @@ gridBagConstraints.insets.left = 5; help.addActionListener (new ActionListener () { public void actionPerformed (ActionEvent e) { - TopManager.getDefault ().showHelp (OptionsPanel.this.getHelpCtx ()); + org.netbeans.core.NbTopManager.get().showHelp ( + OptionsPanel.this.getHelpCtx ()); } }); add (help, gridBagConstraints); @@ -517,8 +519,8 @@ private static class OptionsFilterNode extends FilterNode { public OptionsFilterNode () { super ( - TopManager.getDefault().getPlaces().nodes().session(), - new SettingChildren (TopManager.getDefault().getPlaces().nodes().session()) + NbPlaces.getDefault().session(), + new SettingChildren (NbPlaces.getDefault().session()) ); } public HelpCtx getHelpCtx () { cvs server: core/src/org/netbeans/core/actions/ProjectCloseAction.java was removed, no comparison available cvs server: core/src/org/netbeans/core/actions/ProjectOpenAction.java was removed, no comparison available cvs server: core/src/org/netbeans/core/actions/ProjectSetActiveAction.java was removed, no comparison available Index: core/src/org/netbeans/core/actions/RestoreMaximizedFrameAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/RestoreMaximizedFrameAction.java,v retrieving revision 1.2 diff -u -r1.2 RestoreMaximizedFrameAction.java --- core/src/org/netbeans/core/actions/RestoreMaximizedFrameAction.java 8 Apr 2002 14:39:59 -0000 1.2 +++ core/src/org/netbeans/core/actions/RestoreMaximizedFrameAction.java 16 Oct 2002 04:50:01 -0000 @@ -18,7 +18,6 @@ import java.awt.event.*; import java.util.*; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.awt.JMenuPlus; @@ -77,7 +76,7 @@ return false; } WindowManagerImpl wm = - (WindowManagerImpl)TopManager.getDefault().getWindowManager(); + (WindowManagerImpl)WindowManager.getDefault(); WorkspaceImpl currentWorkspace = (WorkspaceImpl) wm.getCurrentWorkspace(); ModeImpl maximizedMode = currentWorkspace.getTopMaximizedMode(); if (maximizedMode != null) { @@ -99,7 +98,7 @@ /** Implementation of runnable interface, runs the action command */ public void run() { WindowManagerImpl wm = - (WindowManagerImpl)TopManager.getDefault().getWindowManager(); + (WindowManagerImpl)WindowManager.getDefault(); WorkspaceImpl currentWorkspace = (WorkspaceImpl) wm.getCurrentWorkspace(); ModeImpl maximizedMode = currentWorkspace.getTopMaximizedMode(); if (maximizedMode != null) { cvs server: core/src/org/netbeans/core/actions/SaveSettingsAction.java was removed, no comparison available Index: core/src/org/netbeans/core/actions/SetArgumentsAction.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/SetArgumentsAction.java,v retrieving revision 1.22 diff -u -r1.22 SetArgumentsAction.java --- core/src/org/netbeans/core/actions/SetArgumentsAction.java 28 Oct 2001 19:21:46 -0000 1.22 +++ core/src/org/netbeans/core/actions/SetArgumentsAction.java 16 Oct 2002 04:50:01 -0000 @@ -18,7 +18,6 @@ import java.util.StringTokenizer; import org.openide.DialogDescriptor; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.cookies.ArgumentsCookie; import org.openide.execution.ExecInfo; @@ -93,7 +92,7 @@ HelpCtx.setHelpIDString(ap, "set.arguments.window"); // NOI18N DialogDescriptor dd = new DialogDescriptor (ap, NbBundle.getBundle(SetArgumentsAction.class).getString("CTL_SetArgumentsTitle")); dd.setHelpCtx(new HelpCtx("set.arguments.window")); - TopManager.getDefault ().createDialog (dd).show (); + org.openide.DialogDisplayer.getDefault ().createDialog (dd).show (); if (dd.getValue () == DialogDescriptor.OK_OPTION) { StringTokenizer st = new StringTokenizer (ap.getArguments ()); @@ -105,7 +104,7 @@ try { cookie.setArguments (args); } catch (IOException ex) { - TopManager.getDefault().notify( + org.openide.DialogDisplayer.getDefault().notify( new NotifyDescriptor.Message( NbBundle.getBundle(SetArgumentsAction.class).getString("MSG_ArgumentsCannotBeSet"), NotifyDescriptor.ERROR_MESSAGE cvs server: core/src/org/netbeans/core/actions/SettingsAction.java was removed, no comparison available Index: core/src/org/netbeans/core/actions/SystemExit.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/actions/SystemExit.java,v retrieving revision 1.23 diff -u -r1.23 SystemExit.java --- core/src/org/netbeans/core/actions/SystemExit.java 18 Jun 2002 13:39:35 -0000 1.23 +++ core/src/org/netbeans/core/actions/SystemExit.java 16 Oct 2002 04:50:01 -0000 @@ -13,7 +13,6 @@ package org.netbeans.core.actions; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.actions.CallableSystemAction; import org.openide.util.NbBundle; @@ -57,8 +56,8 @@ RequestProcessor.getDefault().post(this); } - /* Performs the exit (by calling TopManager).*/ + /* Performs the exit (by calling LifecycleManager).*/ public void run() { - org.openide.TopManager.getDefault().exit(); + org.openide.LifecycleManager.getDefault().exit(); } } cvs server: Diffing core/src/org/netbeans/core/awt Index: core/src/org/netbeans/core/awt/TabControl.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/awt/TabControl.java,v retrieving revision 1.18 diff -u -r1.18 TabControl.java --- core/src/org/netbeans/core/awt/TabControl.java 27 Sep 2002 15:56:42 -0000 1.18 +++ core/src/org/netbeans/core/awt/TabControl.java 16 Oct 2002 04:50:01 -0000 @@ -25,7 +25,6 @@ import java.lang.Thread; import java.io.*; -import org.openide.TopManager; import org.openide.util.NbBundle; import org.openide.windows.WindowManager; import org.netbeans.core.windows.MainWindow; cvs server: Diffing core/src/org/netbeans/core/execution Index: core/src/org/netbeans/core/execution/DefaultSysProcess.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/execution/DefaultSysProcess.java,v retrieving revision 1.18 diff -u -r1.18 DefaultSysProcess.java --- core/src/org/netbeans/core/execution/DefaultSysProcess.java 17 Jan 2002 15:46:04 -0000 1.18 +++ core/src/org/netbeans/core/execution/DefaultSysProcess.java 16 Oct 2002 04:50:01 -0000 @@ -13,7 +13,6 @@ package org.netbeans.core.execution; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.execution.ExecutorTask; import org.openide.windows.InputOutput; Index: core/src/org/netbeans/core/execution/ExecutionEngine.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/execution/ExecutionEngine.java,v retrieving revision 1.65 diff -u -r1.65 ExecutionEngine.java --- core/src/org/netbeans/core/execution/ExecutionEngine.java 20 Aug 2002 19:48:16 -0000 1.65 +++ core/src/org/netbeans/core/execution/ExecutionEngine.java 16 Oct 2002 04:50:01 -0000 @@ -37,7 +37,6 @@ import org.openide.loaders.DataObject; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.execution.NbClassPath; import org.openide.execution.ExecInfo; Index: core/src/org/netbeans/core/execution/ExecutionSettingsBeanInfo.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/execution/ExecutionSettingsBeanInfo.java,v retrieving revision 1.18 diff -u -r1.18 ExecutionSettingsBeanInfo.java --- core/src/org/netbeans/core/execution/ExecutionSettingsBeanInfo.java 17 Jan 2002 15:46:04 -0000 1.18 +++ core/src/org/netbeans/core/execution/ExecutionSettingsBeanInfo.java 16 Oct 2002 04:50:01 -0000 @@ -16,7 +16,6 @@ import java.awt.Image; import java.beans.*; -import org.openide.TopManager; import org.openide.util.Utilities; import org.openide.ErrorManager; Index: core/src/org/netbeans/core/execution/IOTable.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/execution/IOTable.java,v retrieving revision 1.28 diff -u -r1.28 IOTable.java --- core/src/org/netbeans/core/execution/IOTable.java 10 Jan 2002 15:22:07 -0000 1.28 +++ core/src/org/netbeans/core/execution/IOTable.java 16 Oct 2002 04:50:01 -0000 @@ -18,7 +18,6 @@ import java.util.HashMap; import java.util.Hashtable; -import org.openide.TopManager; import org.openide.windows.InputOutput; import org.openide.windows.OutputWriter; import org.openide.windows.TopComponent; @@ -120,7 +119,7 @@ String allName = ((TopComponent) inout).getName(); io = getTaskIO(allName); if (io == null) { // executed for the first time - inout = TopManager.getDefault().getIO(allName); + inout = org.openide.windows.IOProvider.getDefault().getIO(allName, true); io = new TaskIO(inout, allName); } else { inout = io.getInout(); Index: core/src/org/netbeans/core/execution/RunClassThread.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/execution/RunClassThread.java,v retrieving revision 1.4 diff -u -r1.4 RunClassThread.java --- core/src/org/netbeans/core/execution/RunClassThread.java 9 Jul 2002 16:03:05 -0000 1.4 +++ core/src/org/netbeans/core/execution/RunClassThread.java 16 Oct 2002 04:50:01 -0000 @@ -13,7 +13,6 @@ package org.netbeans.core.execution; -import org.openide.TopManager; import org.openide.windows.InputOutput; /** Simple class for executing tasks in extra threads */ @@ -91,7 +90,7 @@ TaskIO tIO = null; tIO = engine.getTaskIOs().getTaskIO(ioname); if (tIO == null) { // executed for the first time - io = TopManager.getDefault().getIO(ioname); + io = org.openide.windows.IOProvider.getDefault().getIO(ioname, true); tIO = new TaskIO(io, ioname); } else { io = tIO.getInout(); Index: core/src/org/netbeans/core/execution/TabHandlerEditor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/execution/TabHandlerEditor.java,v retrieving revision 1.3 diff -u -r1.3 TabHandlerEditor.java --- core/src/org/netbeans/core/execution/TabHandlerEditor.java 10 Jan 2002 15:22:07 -0000 1.3 +++ core/src/org/netbeans/core/execution/TabHandlerEditor.java 16 Oct 2002 04:50:01 -0000 @@ -18,7 +18,6 @@ import java.util.HashMap; import java.util.Iterator; -import org.openide.TopManager; import org.openide.util.NbBundle; /** A property editor for available workspaces. Index: core/src/org/netbeans/core/execution/TopSecurityManager.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/execution/TopSecurityManager.java,v retrieving revision 1.49 diff -u -r1.49 TopSecurityManager.java --- core/src/org/netbeans/core/execution/TopSecurityManager.java 25 Feb 2002 12:14:51 -0000 1.49 +++ core/src/org/netbeans/core/execution/TopSecurityManager.java 16 Oct 2002 04:50:01 -0000 @@ -27,11 +27,7 @@ import java.util.*; import java.lang.reflect.Field; -import org.openide.TopManager; import org.openide.ErrorManager; -import org.openide.execution.NbClassLoader; - -//import ice.iblite.BrowserClassLoader; /** See java.lang.SecurityManager for more details. * @@ -50,12 +46,14 @@ private static final Class classLoaderClass; private static final Class nbClassLoaderClass; private static final Class URLClass; + private static final Class runtimePermissionClass; static { try { classLoaderClass = Class.forName("java.lang.ClassLoader"); // NOI18N nbClassLoaderClass = Class.forName("org.openide.execution.NbClassLoader"); // NOI18N URLClass = Class.forName("java.net.URL"); // NOI18N + runtimePermissionClass = Class.forName("java.lang.RuntimePermission"); // NOI18N getAccessControllerClass(); } catch (ClassNotFoundException e) { throw new ExceptionInInitializerError(); @@ -268,7 +266,7 @@ /** Prohibits to set another SecurityManager */ private static void checkSetSecurityManager(Permission perm) { - if (perm instanceof RuntimePermission) { + if (runtimePermissionClass.isInstance(perm)) { if ("setSecurityManager".equals(perm.getName())) { // NOI18N - hardcoded in java.lang throw new SecurityException(); } @@ -292,7 +290,7 @@ ClassLoader cloader; for (int i = 0; i < ctx.length; i++) { - if ((ctx[i].getClassLoader() instanceof NbClassLoader) && + if ((nbClassLoaderClass.isInstance(ctx[i].getClassLoader())) && (ctx[i].getProtectionDomain().getCodeSource() != null)) { return true; } cvs server: Diffing core/src/org/netbeans/core/filesystems cvs server: Diffing core/src/org/netbeans/core/modules Index: core/src/org/netbeans/core/modules/ManifestSection.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/modules/ManifestSection.java,v retrieving revision 1.12 diff -u -r1.12 ManifestSection.java --- core/src/org/netbeans/core/modules/ManifestSection.java 26 Jun 2002 16:45:05 -0000 1.12 +++ core/src/org/netbeans/core/modules/ManifestSection.java 16 Oct 2002 04:50:02 -0000 @@ -27,7 +27,6 @@ import org.openide.loaders.DataLoader; import org.openide.options.SystemOption; import org.openide.filesystems.FileSystem; -import org.openide.debugger.Debugger; import org.openide.ServiceType; import org.openide.util.actions.SystemAction; import org.openide.nodes.Node; @@ -35,6 +34,7 @@ import org.openide.util.datatransfer.ExClipboard; import org.openide.util.SharedClassObject; import org.openide.ErrorManager; +import org.openide.util.Lookup; // XXX synchronization? @@ -356,7 +356,16 @@ */ public static final class DebuggerSection extends ManifestSection { DebuggerSection(String name, Attributes attrs, Module module) throws InvalidException { - super(name, module, Debugger.class); + super(name, module, getDebuggerClazz(module)); + } + private static Class getDebuggerClazz(Module m) throws InvalidException { + try { + return ((ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)).loadClass("org.openide.debugger.Debugger"); // NOI18N + } catch (ClassNotFoundException cnfe) { + InvalidException e = new InvalidException(m, "Debugger sections may only be used if you depend on org.openide.deprecated to be able to access Debugger"); // NOI18N + Util.err.annotate(e, cnfe); + throw e; + } } } Index: core/src/org/netbeans/core/modules/Module.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/modules/Module.java,v retrieving revision 1.38 diff -u -r1.38 Module.java --- core/src/org/netbeans/core/modules/Module.java 8 Oct 2002 20:18:37 -0000 1.38 +++ core/src/org/netbeans/core/modules/Module.java 16 Oct 2002 04:50:02 -0000 @@ -1088,6 +1088,13 @@ return null; } } + + protected boolean isSpecialResource(String pkg) { + if (mgr.isSpecialResource(pkg)) { + return true; + } + return super.isSpecialResource(pkg); + } protected boolean shouldDelegateResource(String pkg, ClassLoader parent) { if (!super.shouldDelegateResource(pkg, parent)) { Index: core/src/org/netbeans/core/modules/ModuleInstaller.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/modules/ModuleInstaller.java,v retrieving revision 1.7 diff -u -r1.7 ModuleInstaller.java --- core/src/org/netbeans/core/modules/ModuleInstaller.java 8 Oct 2002 20:18:37 -0000 1.7 +++ core/src/org/netbeans/core/modules/ModuleInstaller.java 16 Oct 2002 04:50:02 -0000 @@ -156,5 +156,16 @@ public void refineClassLoader(Module m, List parents) { // do nothing } + + /** Is this package special in that the package domain cache should be disabled for it? + * The result must never change between subsequent calls for the same argument. + * The default implementation always says no. + * @param pkg a package in the form "org/netbeans/modules/foo/" + * @return true if this package might be split across modules, otherwise false + * @since org.netbeans.core/1 > 1.7 + */ + public boolean isSpecialResource(String pkg) { + return false; + } } Index: core/src/org/netbeans/core/modules/ModuleList.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/modules/ModuleList.java,v retrieving revision 1.38 diff -u -r1.38 ModuleList.java --- core/src/org/netbeans/core/modules/ModuleList.java 15 Sep 2002 20:22:40 -0000 1.38 +++ core/src/org/netbeans/core/modules/ModuleList.java 16 Oct 2002 04:50:02 -0000 @@ -34,6 +34,7 @@ import org.openide.util.Utilities; import org.openide.util.WeakListener; import java.lang.reflect.Method; +import org.netbeans.core.LoaderPoolNode; import org.openide.util.io.NbObjectInputStream; import org.openide.util.io.NbObjectOutputStream; import org.openide.util.RequestProcessor; @@ -1063,7 +1064,7 @@ private static final byte[] SERNULL = {0xAC - 0x100, 0xED - 0x100, 0x00, 0x05, 0x70}; private void transferLoaderPool (ObjectInput oi) throws IOException { - FileObject pool = org.netbeans.core.NbProjectOperation.getLoaderPoolStorage (); + FileObject pool = LoaderPoolNode.getLoaderPoolStorage(true); FileLock lock = pool.lock (); try { ObjectOutput os = new ObjectOutputStream (pool.getOutputStream (lock)); @@ -1084,7 +1085,7 @@ lock.releaseLock (); } } - + /** Read an XML file using an XMLReader and parse into a map of properties. * One distinguished property 'name' is the code name base * and is taken from the root element. Others are taken Index: core/src/org/netbeans/core/modules/ModuleManager.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/modules/ModuleManager.java,v retrieving revision 1.44 diff -u -r1.44 ModuleManager.java --- core/src/org/netbeans/core/modules/ModuleManager.java 8 Oct 2002 20:18:38 -0000 1.44 +++ core/src/org/netbeans/core/modules/ModuleManager.java 16 Oct 2002 04:50:02 -0000 @@ -309,7 +309,7 @@ } /** A classloader giving access to all the module classloaders at once. */ - private static final class SystemClassLoader extends ProxyClassLoader { + private final class SystemClassLoader extends ProxyClassLoader { private final StringBuffer debugme; private boolean empty = true; @@ -351,6 +351,13 @@ return debugme.toString(); } + protected boolean isSpecialResource(String pkg) { + if (installer.isSpecialResource(pkg)) { + return true; + } + return super.isSpecialResource(pkg); + } + } /** @see #create(File,Object,boolean,boolean,boolean) @@ -476,6 +483,9 @@ } // The installer can perform additional checks: return installer.shouldDelegateResource(m, parent, pkg); + } + boolean isSpecialResource(String pkg) { + return installer.isSpecialResource(pkg); } // Again, access from Module to ModuleInstaller: Manifest loadManifest(File jar) throws IOException { Index: core/src/org/netbeans/core/modules/ModuleSystem.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/modules/ModuleSystem.java,v retrieving revision 1.25 diff -u -r1.25 ModuleSystem.java --- core/src/org/netbeans/core/modules/ModuleSystem.java 12 Sep 2002 22:12:54 -0000 1.25 +++ core/src/org/netbeans/core/modules/ModuleSystem.java 16 Oct 2002 04:50:02 -0000 @@ -65,6 +65,15 @@ ev = Boolean.getBoolean("netbeans.modules.quiet") ? (Events)new QuietEvents() : new NbEvents(); installer = new NbInstaller(ev); mgr = new ModuleManager(installer, ev); + PropertyChangeListener l = new PropertyChangeListener() { + public void propertyChange(PropertyChangeEvent ev) { + if (ModuleManager.PROP_CLASS_LOADER.equals(ev.getPropertyName())) { + NbTopManager.Lkp.systemClassLoaderChanged(mgr.getClassLoader()); + } + } + }; + mgr.addPropertyChangeListener(l); + NbTopManager.Lkp.systemClassLoaderChanged(mgr.getClassLoader()); if (systemFileSystem.isReadOnly()) { list = null; } else { @@ -116,31 +125,6 @@ public Events getEvents() { return ev; } - - /** Get the system classloader, for use from NbTopManager. - * When it changes, NbTopManager will likewise be notified. - */ - public ClassLoader getSystemClassLoader() { - if (! addedClassLoaderListener) { - addedClassLoaderListener = true; - class ListenerFirer implements PropertyChangeListener, Runnable { - public void propertyChange(PropertyChangeEvent ev) { - if (ModuleManager.PROP_CLASS_LOADER.equals(ev.getPropertyName())) { - // Exit read mutex first for safety. - RequestProcessor.getDefault().post(ListenerFirer.this); - } - } - public void run() { - NbTopManager.get().fireSystemClassLoaderChange(); - Util.err.log("fired change in system classloader"); - } - } - mgr.addPropertyChangeListener(new ListenerFirer()); - } - // #16265: no need for write mutex any more. - return mgr.getClassLoader(); - } - private boolean addedClassLoaderListener = false; /** Produce a list of JAR files including all installed modules, * their extensions, and enabled locale variants of both. Index: core/src/org/netbeans/core/modules/NbEvents.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/modules/NbEvents.java,v retrieving revision 1.27 diff -u -r1.27 NbEvents.java --- core/src/org/netbeans/core/modules/NbEvents.java 11 Oct 2002 15:19:32 -0000 1.27 +++ core/src/org/netbeans/core/modules/NbEvents.java 16 Oct 2002 04:50:03 -0000 @@ -15,9 +15,9 @@ // May use core, GUI, ad nauseum. -import org.openide.TopManager; import java.io.File; import java.util.*; +import org.openide.awt.StatusDisplayer; import org.openide.NotifyDescriptor; import org.openide.filesystems.FileObject; import org.openide.modules.SpecificationVersion; @@ -33,8 +33,6 @@ */ final class NbEvents extends Events { - private final TopManager tm = TopManager.getDefault(); - /** Handle a logged event. * CAREFUL that this is called synchronously, usually within a write * mutex or other sensitive environment. So do not call anything @@ -51,55 +49,68 @@ } else if (message == START_CREATE_BOOT_MODULE) { Main.addToSplashMaxSteps(1); } else if (message == START_LOAD_BOOT_MODULES) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_start_load_boot_modules")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_start_load_boot_modules")); StartLog.logStart("ModuleSystem.loadBootModules"); // NOI18N } else if (message == START_LOAD) { StartLog.logStart("NbInstaller.load"); // NOI18N } else if (message == FINISH_LOAD_BOOT_MODULES) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_finish_load_boot_modules")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_finish_load_boot_modules")); StartLog.logEnd( "ModuleSystem.loadBootModules" ); // NOI18N } else if (message == FINISH_LOAD) { StartLog.logEnd("NbInstaller.load"); // NOI18N } else if (message == START_AUTO_INSTALL) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_start_auto_install")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_start_auto_install")); } else if (message == START_AUTO_RESTORE) { Set modules = (Set)args[0]; if (! modules.isEmpty()) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_start_auto_restore")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_start_auto_restore")); } } else if (message == FINISH_AUTO_INSTALL) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_finish_auto_install")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_finish_auto_install")); } else if (message == FINISH_AUTO_RESTORE) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_finish_auto_restore")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_finish_auto_restore")); } else if (message == START_ENABLE_MODULES) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_start_enable_modules")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_start_enable_modules")); } else if (message == FINISH_ENABLE_MODULES) { List modules = (List)args[0]; if (! modules.isEmpty()) { System.err.println(NbBundle.getMessage(NbEvents.class, "TEXT_finish_enable_modules")); dumpModulesList(modules); } - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_finish_enable_modules")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_finish_enable_modules")); StartLog.logEnd("ModuleManager.enable"); // NOI18N } else if (message == START_DISABLE_MODULES) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_start_disable_modules")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_start_disable_modules")); } else if (message == FINISH_DISABLE_MODULES) { List modules = (List)args[0]; if (! modules.isEmpty()) { System.err.println(NbBundle.getMessage(NbEvents.class, "TEXT_finish_disable_modules")); dumpModulesList(modules); } - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_finish_disable_modules")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_finish_disable_modules")); } else if (message == CONVERTING) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "TEXT_converting")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "TEXT_converting")); } else if (message == START_DEPLOY_TEST_MODULE) { // No need to print anything. ModuleSystem.deployTestModule prints // its own stuff (it needs to be printed synchronously to console // in order to appear in the output window). But status text is OK. // Again no need for I18N as this is only for module developers. - tm.setStatusText("Deploying test module in " + (File)args[0] + "..."); // NOI18N + StatusDisplayer.getDefault().setStatusText( + "Deploying test module in " + (File)args[0] + "..."); // NOI18N } else if (message == FINISH_DEPLOY_TEST_MODULE) { - tm.setStatusText("Finished deploying test module."); // NOI18N + StatusDisplayer.getDefault().setStatusText( + "Finished deploying test module."); // NOI18N } else if (message == FAILED_INSTALL_NEW) { StringBuffer buf = new StringBuffer(NbBundle.getMessage(NbEvents.class, "MSG_failed_install_new")); Iterator it = ((Set)args[0]).iterator(); @@ -122,7 +133,7 @@ } } notify(buf.toString(), true); - tm.setStatusText(""); + StatusDisplayer.getDefault().setStatusText(""); } else if (message == FAILED_INSTALL_NEW_UNEXPECTED) { Module m = (Module)args[0]; // ignore args[1]: InvalidException @@ -141,9 +152,10 @@ throw new IllegalStateException("Module " + m + " could not be installed but had no problems"); // NOI18N } notify(buf.toString(), true); - tm.setStatusText(""); + StatusDisplayer.getDefault().setStatusText(""); } else if (message == START_READ) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_start_read")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_start_read")); StartLog.logStart("ModuleList.readInitial"); // NOI18N } else if (message == MODULES_FILE_PROCESSED) { Main.incrementSplashProgressBar(); @@ -153,12 +165,15 @@ } else if (message == FINISH_READ) { Set modules = (Set)args[0]; Main.addToSplashMaxSteps(modules.size() + modules.size()); - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_finish_read")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_finish_read")); StartLog.logEnd("ModuleList.readInitial"); // NOI18N } else if (message == START_SCAN) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_start_scan")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_start_scan")); } else if (message == FINISH_SCAN) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_finish_scan")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_finish_scan")); Set modules = (Set)args[0]; Main.addToSplashMaxSteps(modules.size()); if (! modules.isEmpty()) { @@ -167,25 +182,31 @@ } } else if (message == RESTORE) { // Don't look for display name. Just takes too long. - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_restore"/*, ((Module)args[0]).getDisplayName()*/)); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_restore"/*, ((Module)args[0]).getDisplayName()*/)); Main.incrementSplashProgressBar(); } else if (message == INSTALL) { // Nice to see the real title; not that common, after all. - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_install", ((Module)args[0]).getDisplayName())); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_install", ((Module)args[0]).getDisplayName())); System.err.println(NbBundle.getMessage(NbEvents.class, "TEXT_install", ((Module)args[0]).getDisplayName())); Main.incrementSplashProgressBar(); } else if (message == UPDATE) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_update", ((Module)args[0]).getDisplayName())); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_update", ((Module)args[0]).getDisplayName())); System.err.println(NbBundle.getMessage(NbEvents.class, "TEXT_update", ((Module)args[0]).getDisplayName())); Main.incrementSplashProgressBar(); } else if (message == UNINSTALL) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_uninstall", ((Module)args[0]).getDisplayName())); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_uninstall", ((Module)args[0]).getDisplayName())); } else if (message == LOAD_SECTION) { // Again avoid finding display name now. - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_load_section"/*, ((Module)args[0]).getDisplayName()*/)); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_load_section"/*, ((Module)args[0]).getDisplayName()*/)); Main.incrementSplashProgressBar(); } else if (message == LOAD_LAYERS) { - tm.setStatusText(NbBundle.getMessage(NbEvents.class, "MSG_load_layers")); + StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(NbEvents.class, "MSG_load_layers")); } else if (message == WRONG_CLASS_LOADER) { if (! Boolean.getBoolean("netbeans.moduleitem.dontverifyclassloader")) { // NOI18N Class clazz = (Class)args[1]; @@ -343,7 +364,7 @@ this.desc = desc; } public void run() { - TopManager.getDefault().notify(desc); + org.openide.DialogDisplayer.getDefault().notify(desc); } } Index: core/src/org/netbeans/core/modules/NbInstaller.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/modules/NbInstaller.java,v retrieving revision 1.49 diff -u -r1.49 NbInstaller.java --- core/src/org/netbeans/core/modules/NbInstaller.java 8 Oct 2002 20:18:38 -0000 1.49 +++ core/src/org/netbeans/core/modules/NbInstaller.java 16 Oct 2002 04:50:03 -0000 @@ -201,6 +201,12 @@ public void load(List modules) { ev.log(Events.START_LOAD, modules); + + // Not necessary during unload() since then the class loader will change + // anyway and Lkp.systemClassLoaderChanged will be called. + NbTopManager.Lkp.moduleClassLoadersUp(); + ev.log(Events.PERF_TICK, "META-INF/services/ additions registered"); // NOI18N + loadLayers(modules, true); ev.log(Events.PERF_TICK, "layers loaded"); // NOI18N @@ -702,20 +708,28 @@ return openide; } + /** If true, no automatic deps are made on modules for old client modules. + * Useful for unit tests. + */ + private static final boolean NO_COMPAT_AUTO_DEPS_JH = Boolean.getBoolean("org.netbeans.core.modules.NbInstaller.NO_COMPAT_AUTO_DEPS_JH"); + private static final boolean NO_COMPAT_AUTO_DEPS_DEPRECATED = Boolean.getBoolean("org.netbeans.core.modules.NbInstaller.NO_COMPAT_AUTO_DEPS_DEPRECATED"); + /** Overridden to perform automatic API upgrades. * That is, should do nothing on new modules, but for older ones will * automatically make them depend on things they need. */ public void refineDependencies(Module m, Set dependencies) { - // Special case. + // Special cases. if (m.getCodeNameBase().equals("org.netbeans.core")) return; // NOI18N + if (m.getCodeNameBase().startsWith("org.netbeans.core.")) return; // NOI18N + if (m.getCodeNameBase().equals("org.openide")) return; // NOI18N + if (m.getCodeNameBase().startsWith("org.openide.")) return; // NOI18N // First find out what API this module is expecting. // Format: release.major.minor, e.g. IDE/1 > 2.3 => "1.2.3" SpecificationVersion openide = getIDEDep(dependencies); // Handle JavaHelp. For modules before API 2.2, they should have an // automatic dependency on token org.netbeans.api.javahelp.Help. - if (!m.getCodeNameBase().equals("org.netbeans.modules.javahelp") && // NOI18N - !m.getCodeNameBase().equals("org.openide") && // NOI18N + if (!NO_COMPAT_AUTO_DEPS_JH && !m.getCodeNameBase().equals("org.netbeans.modules.javahelp") && // NOI18N (openide == null || openide.compareTo(new SpecificationVersion("1.2.2")) < 0)) { // NOI18N // Older than IDE/1 2.2, or at least does not claim to be newer. // First make sure it does not *already* depend on this module. @@ -735,14 +749,53 @@ "org.netbeans.api.javahelp.Help")); // NOI18N } } + // For pre-3.14, add automatic deps on org.openide.src and org.openide.deprecated. + if (!NO_COMPAT_AUTO_DEPS_DEPRECATED && (openide == null || openide.compareTo(new SpecificationVersion("1.3.14")) < 0)) { // NOI18N + String[] nue = new String[] { + "org.openide.deprecated", // NOI18N + "org.openide.src", // NOI18N + }; + for (int i = 0; i < nue.length; i++) { + boolean alreadyHave = false; + Iterator it = dependencies.iterator(); + while (it.hasNext()) { + Dependency d = (Dependency)it.next(); + if (d.getType() == Dependency.TYPE_MODULE && + d.getName().equals(nue[i])) { + alreadyHave = true; + break; + } + } + if (!alreadyHave) { + Util.err.log("Adding automatic dependency on " + nue[i] + " for module " + m.getCodeNameBase()); + dependencies.addAll(Dependency.create(Dependency.TYPE_MODULE, nue[i] + " > 1.0")); // NOI18N + } + } + boolean alreadyHave = false; + Iterator it = dependencies.iterator(); + while (it.hasNext()) { + Dependency d = (Dependency)it.next(); + if (d.getType() == Dependency.TYPE_REQUIRES && + d.getName().equals("org.openide.TopManager")) { // NOI18N + alreadyHave = true; + break; + } + } + if (!alreadyHave) { + Util.err.log("Adding automatic dependency on org.openide.TopManager for module " + m.getCodeNameBase()); + dependencies.addAll(Dependency.create(Dependency.TYPE_REQUIRES, "org.openide.TopManager")); // NOI18N + } + } } + private static final boolean NO_COMPAT_AUTO_TRANSITIVE_DEPS = Boolean.getBoolean("org.netbeans.core.modules.NbInstaller.NO_COMPAT_AUTO_TRANSITIVE_DEPS"); + // Compat for #27853: if an old module (pre-3.12) declares some dependencies, // interpret them recursively to force its classloader to "see" accessible // classes from even indirect dependencies. public void refineClassLoader(Module m, List parents) { SpecificationVersion openide = getIDEDep(m.getDependencies()); - if (openide == null || openide.compareTo(new SpecificationVersion("1.3.12")) < 0) { // NOI18N + if (!NO_COMPAT_AUTO_TRANSITIVE_DEPS && (openide == null || openide.compareTo(new SpecificationVersion("1.3.12")) < 0)) { // NOI18N Dependency[] deps = m.getDependenciesArray(); Set parentModules = new HashSet(deps.length * 3 + 5); // Set addLoadersRecursively(parents, deps, parentModules, m); @@ -900,6 +953,15 @@ // No one ought to be using boot.jar: {"boot"}, // NOI18N }; + + /** These packages have been refactored into several modules. + * Disable the domain cache for them. + */ + public boolean isSpecialResource(String pkg) { + if (pkg.startsWith("org/openide/")) return true; // NOI18N + if (pkg.startsWith("org/netbeans/core/")) return true; // NOI18N + return super.isSpecialResource(pkg); + } /** Get the effective "classpath" used by a module. * Specific syntax: classpath entries as usual, but cvs server: Diffing core/src/org/netbeans/core/output Index: core/src/org/netbeans/core/output/FindDialogPanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/output/FindDialogPanel.java,v retrieving revision 1.1 diff -u -r1.1 FindDialogPanel.java --- core/src/org/netbeans/core/output/FindDialogPanel.java 24 Sep 2002 09:23:23 -0000 1.1 +++ core/src/org/netbeans/core/output/FindDialogPanel.java 16 Oct 2002 04:50:03 -0000 @@ -21,7 +21,6 @@ import javax.swing.JCheckBox; import javax.swing.SwingUtilities; import org.openide.DialogDescriptor; -import org.openide.TopManager; import org.openide.util.NbBundle; /** @@ -220,7 +219,7 @@ } }); - dialog = TopManager.getDefault().createDialog( dialogDescriptor ); + dialog = org.openide.DialogDisplayer.getDefault().createDialog( dialogDescriptor ); } } Index: core/src/org/netbeans/core/output/OutputSettingsBeanInfo.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/output/OutputSettingsBeanInfo.java,v retrieving revision 1.21 diff -u -r1.21 OutputSettingsBeanInfo.java --- core/src/org/netbeans/core/output/OutputSettingsBeanInfo.java 15 Sep 2002 20:22:41 -0000 1.21 +++ core/src/org/netbeans/core/output/OutputSettingsBeanInfo.java 16 Oct 2002 04:50:03 -0000 @@ -16,7 +16,6 @@ import java.awt.Image; import java.beans.*; -import org.openide.TopManager; import org.openide.util.Utilities; import org.netbeans.beaninfo.editors.FileEditor; import org.openide.ErrorManager; Index: core/src/org/netbeans/core/output/OutputTabTerm.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/output/OutputTabTerm.java,v retrieving revision 1.87 diff -u -r1.87 OutputTabTerm.java --- core/src/org/netbeans/core/output/OutputTabTerm.java 30 Sep 2002 13:33:57 -0000 1.87 +++ core/src/org/netbeans/core/output/OutputTabTerm.java 16 Oct 2002 04:50:03 -0000 @@ -39,6 +39,8 @@ import java.beans.PropertyChangeEvent; import java.util.ArrayList; import java.util.Enumeration; +import java.util.Observable; +import java.util.Observer; import javax.swing.JFrame; import javax.swing.JPanel; @@ -49,7 +51,6 @@ import javax.swing.SwingUtilities; import javax.swing.text.Keymap; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.windows.*; import org.openide.awt.SplittedPanel; @@ -78,6 +79,7 @@ import org.netbeans.core.windows.*; import org.netbeans.core.actions.NextOutJumpAction; import org.netbeans.core.actions.PreviousOutJumpAction; +import org.netbeans.core.NbTopManager; import org.netbeans.lib.terminalemulator.*; import org.openide.filesystems.FileSystem; @@ -717,14 +719,17 @@ keyStrokeSet = new HashSet(); // Arrange so that we track changes in global keymap - TopManager tm = TopManager.getDefault(); - tm.addPropertyChangeListener(new PropertyChangeListener() { - public void propertyChange (PropertyChangeEvent evt) { - if (evt.getPropertyName().equals(TopManager.PROP_GLOBAL_KEYMAP)) { + Keymap map = (Keymap)org.openide.util.Lookup.getDefault().lookup(Keymap.class); + // This is a hack. Since there is no official API for notifying changes + // from Keymap, just rely on fact that core impl is an Observable. + if (map instanceof Observable) { + Observable o = (Observable)map; + o.addObserver(new Observer() { + public void update(Observable o, Object arg) { updateKeyStrokeSet(); - } - } - } ); + } + }); + } updateKeyStrokeSet(); @@ -1280,7 +1285,7 @@ } else { String msg = NbBundle.getBundle(OutputTabTerm.class). getString("MSG_AtLastError"); - TopManager.getDefault().setStatusText(msg); + org.openide.awt.StatusDisplayer.getDefault().setStatusText(msg); next_wrap_warned = true; return false; } @@ -1304,7 +1309,7 @@ } else { String msg = NbBundle.getBundle(OutputTabTerm.class). getString("MSG_AtFirstError"); - TopManager.getDefault().setStatusText(msg); + org.openide.awt.StatusDisplayer.getDefault().setStatusText(msg); prev_wrap_warned = true; return false; } cvs server: Diffing core/src/org/netbeans/core/perftool Index: core/src/org/netbeans/core/perftool/PerformanceMeterFactory.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/perftool/PerformanceMeterFactory.java,v retrieving revision 1.2 diff -u -r1.2 PerformanceMeterFactory.java --- core/src/org/netbeans/core/perftool/PerformanceMeterFactory.java 17 Jan 2002 15:46:05 -0000 1.2 +++ core/src/org/netbeans/core/perftool/PerformanceMeterFactory.java 16 Oct 2002 04:50:03 -0000 @@ -13,8 +13,8 @@ package org.netbeans.core.perftool; -import org.openide.TopManager; import org.openide.ErrorManager; +import org.openide.util.Lookup; /** Creates PerformanceMeter * @@ -30,7 +30,8 @@ String opt = System.getProperty(PerformanceMeter.NAMING_NAME); if (opt != null && !opt.equals(Boolean.TRUE.toString())) { try { - Class clz = Class.forName(opt, false, TopManager.getDefault().systemClassLoader()); + Class clz = Class.forName(opt, false, + (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)); } catch (ClassNotFoundException e) { ErrorManager.getDefault().notify(ErrorManager.WARNING, e); instance = PerformanceMeterImpl.getInstance(); Index: core/src/org/netbeans/core/perftool/PerformanceMeterImpl.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/perftool/PerformanceMeterImpl.java,v retrieving revision 1.5 diff -u -r1.5 PerformanceMeterImpl.java --- core/src/org/netbeans/core/perftool/PerformanceMeterImpl.java 17 Jan 2002 15:46:06 -0000 1.5 +++ core/src/org/netbeans/core/perftool/PerformanceMeterImpl.java 16 Oct 2002 04:50:03 -0000 @@ -15,7 +15,6 @@ import java.text.MessageFormat; -import org.openide.TopManager; import org.openide.ErrorManager; /** The class collects performance info about different cvs server: Diffing core/src/org/netbeans/core/projects Index: core/src/org/netbeans/core/projects/FileStateManager.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/projects/FileStateManager.java,v retrieving revision 1.8 diff -u -r1.8 FileStateManager.java --- core/src/org/netbeans/core/projects/FileStateManager.java 25 Sep 2002 11:43:30 -0000 1.8 +++ core/src/org/netbeans/core/projects/FileStateManager.java 16 Oct 2002 04:50:03 -0000 @@ -13,7 +13,6 @@ package org.netbeans.core.projects; -import org.openide.TopManager; import org.openide.filesystems.*; import org.openide.util.WeakListener; Index: core/src/org/netbeans/core/projects/FixedFileSystem.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/projects/FixedFileSystem.java,v retrieving revision 1.7 diff -u -r1.7 FixedFileSystem.java --- core/src/org/netbeans/core/projects/FixedFileSystem.java 16 Apr 2002 12:34:46 -0000 1.7 +++ core/src/org/netbeans/core/projects/FixedFileSystem.java 16 Oct 2002 04:50:03 -0000 @@ -20,6 +20,7 @@ import org.openide.filesystems.*; import org.openide.filesystems.FileSystem; +import org.openide.util.Lookup; import org.openide.util.enum.EmptyEnumeration; /** Read-only, fixed-structure filesystem. @@ -286,8 +287,8 @@ if (inst.beanName == null) return null; try { - Class clazz = org.openide.TopManager.getDefault(). - systemClassLoader().loadClass(inst.beanName); + Class clazz = ((ClassLoader)Lookup.getDefault() + .lookup(ClassLoader.class)).loadClass(inst.beanName); return org.openide.util.Utilities.getBeanInfo(clazz).getIcon( BeanInfo.ICON_COLOR_16x16); } catch (Exception ex) { Index: core/src/org/netbeans/core/projects/LocalFileSystemEx.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/projects/LocalFileSystemEx.java,v retrieving revision 1.6 diff -u -r1.6 LocalFileSystemEx.java --- core/src/org/netbeans/core/projects/LocalFileSystemEx.java 11 Apr 2002 16:28:05 -0000 1.6 +++ core/src/org/netbeans/core/projects/LocalFileSystemEx.java 16 Oct 2002 04:50:03 -0000 @@ -21,7 +21,6 @@ import java.util.Set; import java.util.Iterator; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.filesystems.*; Index: core/src/org/netbeans/core/projects/ModuleLayeredFileSystem.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/projects/ModuleLayeredFileSystem.java,v retrieving revision 1.19 diff -u -r1.19 ModuleLayeredFileSystem.java --- core/src/org/netbeans/core/projects/ModuleLayeredFileSystem.java 12 Sep 2002 22:26:40 -0000 1.19 +++ core/src/org/netbeans/core/projects/ModuleLayeredFileSystem.java 16 Oct 2002 04:50:03 -0000 @@ -20,7 +20,6 @@ import java.util.*; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.filesystems.*; import org.openide.filesystems.FileSystem; import org.openide.modules.Dependency; @@ -109,7 +108,8 @@ private static FileSystem loadCache(LayerCacheManager mgr) throws IOException { if (mgr.cacheExists()) { // XXX use Events to log! - TopManager.getDefault().setStatusText(NbBundle.getMessage(ModuleLayeredFileSystem.class, "MSG_start_load_cache")); + org.openide.awt.StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(ModuleLayeredFileSystem.class, "MSG_start_load_cache")); String msg = "Loading layers from " + mgr.getCacheDirectory(); // NOI18N StartLog.logStart(msg); FileSystem fs; @@ -121,7 +121,8 @@ cleanStamp(mgr.getCacheDirectory()); fs = mgr.createEmptyFileSystem(); } - TopManager.getDefault().setStatusText(NbBundle.getMessage(ModuleLayeredFileSystem.class, "MSG_end_load_cache")); + org.openide.awt.StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(ModuleLayeredFileSystem.class, "MSG_end_load_cache")); StartLog.logEnd(msg); return fs; } else { @@ -162,7 +163,7 @@ * if working within the core. */ public static ModuleLayeredFileSystem getInstallationModuleLayer () { - FileSystem fs = TopManager.getDefault ().getRepository ().getDefaultFileSystem(); + FileSystem fs = Repository.getDefault ().getDefaultFileSystem(); SystemFileSystem sfs = (SystemFileSystem)fs; ModuleLayeredFileSystem home = sfs.getInstallationLayer (); if (home != null) @@ -177,7 +178,7 @@ */ public static ModuleLayeredFileSystem getUserModuleLayer () { SystemFileSystem sfs = (SystemFileSystem) - TopManager.getDefault ().getRepository ().getDefaultFileSystem(); + Repository.getDefault().getDefaultFileSystem(); return sfs.getUserLayer (); } @@ -233,7 +234,8 @@ public void run() throws IOException { synchronized (ModuleLayeredFileSystem.this) { if (manager != null) { - TopManager.getDefault().setStatusText(NbBundle.getMessage(ModuleLayeredFileSystem.class, "MSG_start_rewrite_cache")); + org.openide.awt.StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(ModuleLayeredFileSystem.class, "MSG_start_rewrite_cache")); err.log("Rewriting cache in " + cacheDir); try { manager.store(getDelegates()[1], urls); @@ -268,7 +270,8 @@ } finally { wr.close(); } - TopManager.getDefault().setStatusText(NbBundle.getMessage(ModuleLayeredFileSystem.class, "MSG_end_rewrite_cache")); + org.openide.awt.StatusDisplayer.getDefault().setStatusText( + NbBundle.getMessage(ModuleLayeredFileSystem.class, "MSG_end_rewrite_cache")); } else { try { ((XMLFileSystem)getDelegates()[1]).setXmlUrls((URL[])urls.toArray(new URL[urls.size()])); Index: core/src/org/netbeans/core/projects/SettingChildren.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/projects/SettingChildren.java,v retrieving revision 1.16 diff -u -r1.16 SettingChildren.java --- core/src/org/netbeans/core/projects/SettingChildren.java 19 Jun 2002 15:34:33 -0000 1.16 +++ core/src/org/netbeans/core/projects/SettingChildren.java 16 Oct 2002 04:50:04 -0000 @@ -14,7 +14,6 @@ package org.netbeans.core.projects; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.cookies.InstanceCookie; import org.openide.nodes.*; @@ -174,7 +173,7 @@ NbBundle.getMessage (SettingChildren.class, "MSG_ask_remove_above_defined_files"), // NOI18N NotifyDescriptor.YES_NO_OPTION); - Object answer = TopManager.getDefault ().notify (nd); + Object answer = org.openide.DialogDisplayer.getDefault ().notify (nd); if (answer.equals (NotifyDescriptor.NO_OPTION)) go = false; Index: core/src/org/netbeans/core/projects/SystemFileSystem.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/projects/SystemFileSystem.java,v retrieving revision 1.32 diff -u -r1.32 SystemFileSystem.java --- core/src/org/netbeans/core/projects/SystemFileSystem.java 27 Sep 2002 14:23:15 -0000 1.32 +++ core/src/org/netbeans/core/projects/SystemFileSystem.java 16 Oct 2002 04:50:04 -0000 @@ -23,12 +23,12 @@ import javax.swing.JMenuItem; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.filesystems.*; import org.openide.filesystems.FileSystem; import org.openide.loaders.DataObject; import org.openide.loaders.DataObjectNotFoundException; import org.openide.nodes.*; +import org.openide.util.Lookup; import org.openide.util.NbBundle; import org.openide.util.RequestProcessor; import org.openide.util.WeakListener; @@ -269,7 +269,8 @@ if (bundleName != null) { try { bundleName = org.openide.util.Utilities.translate(bundleName); - ResourceBundle b = NbBundle.getBundle (bundleName, Locale.getDefault (), TopManager.getDefault ().systemClassLoader ()); + ResourceBundle b = NbBundle.getBundle (bundleName, Locale.getDefault (), + (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)); // systemclassloader try { return b.getString (fo.getPath()); } catch (MissingResourceException ex) { @@ -434,7 +435,7 @@ private static final class SingletonSerializer extends Object implements Serializable { private static final long serialVersionUID = 6436781994611L; private Object readResolve () throws ObjectStreamException { - return TopManager.getDefault ().getRepository ().getDefaultFileSystem (); + return Repository.getDefault().getDefaultFileSystem (); } } // --- SAFETY --- @@ -446,7 +447,7 @@ public static class StructureNode extends AbstractNode { public StructureNode () { - this (TopManager.getDefault ().getRepository ().getDefaultFileSystem ()); + this (Repository.getDefault().getDefaultFileSystem ()); } public StructureNode (FileSystem fs) { Index: core/src/org/netbeans/core/projects/SystemFileSystemBeanInfo.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/projects/SystemFileSystemBeanInfo.java,v retrieving revision 1.6 diff -u -r1.6 SystemFileSystemBeanInfo.java --- core/src/org/netbeans/core/projects/SystemFileSystemBeanInfo.java 17 Jan 2002 15:46:06 -0000 1.6 +++ core/src/org/netbeans/core/projects/SystemFileSystemBeanInfo.java 16 Oct 2002 04:50:04 -0000 @@ -16,7 +16,6 @@ import java.awt.Image; import java.beans.*; -import org.openide.TopManager; import org.openide.util.Utilities; import org.openide.ErrorManager; cvs server: core/src/org/netbeans/core/projects/TrivialProjectManager.java is a new entry, no comparison available Index: core/src/org/netbeans/core/projects/XMLSettingsHandler.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/projects/XMLSettingsHandler.java,v retrieving revision 1.24 diff -u -r1.24 XMLSettingsHandler.java --- core/src/org/netbeans/core/projects/XMLSettingsHandler.java 16 May 2002 17:32:22 -0000 1.24 +++ core/src/org/netbeans/core/projects/XMLSettingsHandler.java 16 Oct 2002 04:50:04 -0000 @@ -21,7 +21,6 @@ import java.util.Iterator; import java.util.Set; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.cookies.InstanceCookie; import org.openide.filesystems.FileObject; Index: core/src/org/netbeans/core/projects/XMLSettingsSupport.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/projects/XMLSettingsSupport.java,v retrieving revision 1.9 diff -u -r1.9 XMLSettingsSupport.java --- core/src/org/netbeans/core/projects/XMLSettingsSupport.java 2 Oct 2002 17:32:56 -0000 1.9 +++ core/src/org/netbeans/core/projects/XMLSettingsSupport.java 16 Oct 2002 04:50:04 -0000 @@ -20,12 +20,12 @@ import java.util.Set; import java.util.Stack; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.filesystems.*; import org.openide.modules.ModuleInfo; import org.openide.modules.SpecificationVersion; import org.openide.util.io.SafeException; +import org.openide.util.Lookup; import org.openide.util.SharedClassObject; import org.openide.windows.TopComponent; @@ -633,13 +633,9 @@ return loadClass(instanceClass); } - /** try to load class from system and current classloader. */ + /** try to load class from system classloader. */ private Class loadClass(String clazz) throws ClassNotFoundException { - try { - return TopManager.getDefault().systemClassLoader().loadClass(clazz); - } catch (ClassNotFoundException ex) { - return TopManager.getDefault().currentClassLoader().loadClass(clazz); - } + return ((ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)).loadClass(clazz); } /** get class name of instance */ cvs server: Diffing core/src/org/netbeans/core/projects/cache cvs server: Diffing core/src/org/netbeans/core/resources cvs server: Diffing core/src/org/netbeans/core/resources/actions cvs server: Diffing core/src/org/netbeans/core/resources/frames cvs server: Diffing core/src/org/netbeans/core/resources/plaf cvs server: Diffing core/src/org/netbeans/core/resources/welcome cvs server: Diffing core/src/org/netbeans/core/resources/windowmanager cvs server: Diffing core/src/org/netbeans/core/ui Index: core/src/org/netbeans/core/ui/LookupNode.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/LookupNode.java,v retrieving revision 1.25 diff -u -r1.25 LookupNode.java --- core/src/org/netbeans/core/ui/LookupNode.java 25 Sep 2002 11:43:32 -0000 1.25 +++ core/src/org/netbeans/core/ui/LookupNode.java 16 Oct 2002 04:50:04 -0000 @@ -18,7 +18,6 @@ import org.openide.nodes.*; import org.openide.actions.*; import org.openide.NotifyDescriptor; -import org.openide.TopManager; import org.openide.filesystems.*; import org.openide.loaders.DataObject; import org.openide.loaders.DataFolder; Index: core/src/org/netbeans/core/ui/ModuleBean.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/ModuleBean.java,v retrieving revision 1.18 diff -u -r1.18 ModuleBean.java --- core/src/org/netbeans/core/ui/ModuleBean.java 6 Sep 2002 19:58:12 -0000 1.18 +++ core/src/org/netbeans/core/ui/ModuleBean.java 16 Oct 2002 04:50:04 -0000 @@ -615,7 +615,7 @@ NotifyDescriptor d = new NotifyDescriptor.Confirmation(c, NbBundle.getMessage(ModuleBean.class, "MB_TITLE_disabling"), NotifyDescriptor.OK_CANCEL_OPTION); - if (TopManager.getDefault().notify(d) != NotifyDescriptor.OK_OPTION) { + if (org.openide.DialogDisplayer.getDefault().notify(d) != NotifyDescriptor.OK_OPTION) { // User refused. // Fire changes again since modules are now wrong & need recalc. ModuleBean[] _modules = this.modules; @@ -664,7 +664,7 @@ NotifyDescriptor d = new NotifyDescriptor.Confirmation(c, NbBundle.getMessage(ModuleBean.class, "MB_TITLE_enabling"), NotifyDescriptor.OK_CANCEL_OPTION); - if (TopManager.getDefault().notify(d) != NotifyDescriptor.OK_OPTION) { + if (org.openide.DialogDisplayer.getDefault().notify(d) != NotifyDescriptor.OK_OPTION) { // User refused. // Fire changes again since modules are now wrong & need recalc. ModuleBean[] _modules = this.modules; Index: core/src/org/netbeans/core/ui/ModuleSelectionPanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/ModuleSelectionPanel.java,v retrieving revision 1.11 diff -u -r1.11 ModuleSelectionPanel.java --- core/src/org/netbeans/core/ui/ModuleSelectionPanel.java 5 Aug 2002 15:57:39 -0000 1.11 +++ core/src/org/netbeans/core/ui/ModuleSelectionPanel.java 16 Oct 2002 04:50:04 -0000 @@ -29,7 +29,6 @@ import org.openide.WizardDescriptor; import org.openide.NotifyDescriptor; import org.openide.DialogDescriptor; -import org.openide.TopManager; import org.openide.nodes.*; import org.openide.util.HelpCtx; import org.openide.util.RequestProcessor; Index: core/src/org/netbeans/core/ui/MountIterator.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/MountIterator.java,v retrieving revision 1.23 diff -u -r1.23 MountIterator.java --- core/src/org/netbeans/core/ui/MountIterator.java 9 Apr 2002 10:31:26 -0000 1.23 +++ core/src/org/netbeans/core/ui/MountIterator.java 16 Oct 2002 04:50:04 -0000 @@ -35,7 +35,6 @@ import org.openide.explorer.propertysheet.DefaultPropertyModel; import org.openide.WizardDescriptor.ArrayIterator; import org.openide.WizardDescriptor.Panel; -import org.openide.TopManager; import org.openide.util.NbBundle; import org.openide.util.WeakListener; import org.openide.util.HelpCtx; Index: core/src/org/netbeans/core/ui/ProductInformationPanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/ProductInformationPanel.java,v retrieving revision 1.13 diff -u -r1.13 ProductInformationPanel.java --- core/src/org/netbeans/core/ui/ProductInformationPanel.java 23 Oct 2001 16:15:12 -0000 1.13 +++ core/src/org/netbeans/core/ui/ProductInformationPanel.java 16 Oct 2002 04:50:04 -0000 @@ -32,7 +32,6 @@ import org.openide.DialogDescriptor; import org.openide.NotifyDescriptor; -import org.openide.TopManager; import org.openide.util.NbBundle; import org.netbeans.core.TopLogging; Index: core/src/org/netbeans/core/ui/ProxySettingsDialog.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/ProxySettingsDialog.java,v retrieving revision 1.4 diff -u -r1.4 ProxySettingsDialog.java --- core/src/org/netbeans/core/ui/ProxySettingsDialog.java 1 Aug 2001 08:57:16 -0000 1.4 +++ core/src/org/netbeans/core/ui/ProxySettingsDialog.java 16 Oct 2002 04:50:04 -0000 @@ -21,7 +21,6 @@ import java.awt.Dialog; import org.openide.DialogDescriptor; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.netbeans.core.IDESettings; @@ -151,7 +150,7 @@ DialogDescriptor.BOTTOM_ALIGN, // Align new HelpCtx(ProxySettingsDialog.class), // Help null); - Dialog dialog=TopManager.getDefault().createDialog(dialogdescriptor); + Dialog dialog = org.openide.DialogDisplayer.getDefault().createDialog(dialogdescriptor); dialog.show(); if (dialogdescriptor.getValue()==DialogDescriptor.OK_OPTION) { IDESettings settings = (IDESettings)IDESettings.findObject(IDESettings.class, true); Index: core/src/org/netbeans/core/ui/SetupWizard.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/SetupWizard.java,v retrieving revision 1.11 diff -u -r1.11 SetupWizard.java --- core/src/org/netbeans/core/ui/SetupWizard.java 15 Sep 2002 20:22:42 -0000 1.11 +++ core/src/org/netbeans/core/ui/SetupWizard.java 16 Oct 2002 04:50:04 -0000 @@ -25,7 +25,6 @@ import java.awt.AWTEvent; import java.awt.Toolkit; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.WizardDescriptor; import org.openide.cookies.InstanceCookie; @@ -314,7 +313,7 @@ for (int i = 0; i < modules.length; i++) { modules[i].addPropertyChangeListener(this); } - java.awt.Dialog d = TopManager.getDefault().createDialog(wd); + java.awt.Dialog d = org.openide.DialogDisplayer.getDefault().createDialog(wd); d.show(); d.dispose(); allModules.removePropertyChangeListener(this); Index: core/src/org/netbeans/core/ui/SwingBrowser.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/SwingBrowser.java,v retrieving revision 1.2 diff -u -r1.2 SwingBrowser.java --- core/src/org/netbeans/core/ui/SwingBrowser.java 29 Aug 2001 12:35:20 -0000 1.2 +++ core/src/org/netbeans/core/ui/SwingBrowser.java 16 Oct 2002 04:50:04 -0000 @@ -16,7 +16,6 @@ import java.beans.*; import java.lang.reflect.Constructor; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.awt.HtmlBrowser; import org.openide.util.NbBundle; @@ -61,7 +60,7 @@ return (HtmlBrowser.Impl)con.newInstance (new Object [] {}); } catch (Exception ex) { - TopManager.getDefault ().notify ( + org.openide.DialogDisplayer.getDefault ().notify ( new NotifyDescriptor.Message (NbBundle.getMessage (SwingBrowser.class, "MSG_cannot_create_browser")) ); return null; Index: core/src/org/netbeans/core/ui/UINodes.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/UINodes.java,v retrieving revision 1.5 diff -u -r1.5 UINodes.java --- core/src/org/netbeans/core/ui/UINodes.java 6 Mar 2002 14:19:14 -0000 1.5 +++ core/src/org/netbeans/core/ui/UINodes.java 16 Oct 2002 04:50:04 -0000 @@ -16,6 +16,8 @@ import java.awt.Image; import java.beans.BeanInfo; import java.io.*; +import org.netbeans.core.LoaderPoolNode; +import org.netbeans.core.NbPlaces; import org.openide.*; import org.openide.actions.*; @@ -27,6 +29,7 @@ import org.openide.nodes.*; import org.openide.nodes.Node.PropertySet; import org.openide.util.actions.*; +import org.openide.util.Lookup; import org.openide.util.NbBundle; import org.openide.util.HelpCtx; import org.openide.util.RequestProcessor; @@ -65,8 +68,7 @@ * @return environment node */ public static Node createEnvironmentNode () { - Places.Nodes ns = TopManager.getDefault ().getPlaces ().nodes (); - Node environmentNode = ns.environment ().cloneNode (); + Node environmentNode = NbPlaces.getDefault().environment ().cloneNode (); environmentNode.setShortDescription (bundle.getString ("CTL_Environment_Hint")); return environmentNode; } @@ -75,8 +77,7 @@ * @return session settings node */ public static Node createSessionNode () { - Places.Nodes ns = TopManager.getDefault ().getPlaces ().nodes (); - Node sessionNode = ns.session ().cloneNode (); + Node sessionNode = NbPlaces.getDefault().session ().cloneNode (); sessionNode.setShortDescription (bundle.getString ("CTL_Session_Settings_Hint")); return sessionNode; } @@ -86,7 +87,7 @@ */ public static Node createFileSystems () { return new MountNode ( - org.netbeans.core.NbPlaces.findSessionFolder ("Mount") // NOI18N + NbPlaces.getDefault().findSessionFolder ("Mount") // NOI18N ); } @@ -180,12 +181,6 @@ } } - /** Getter for folders. - */ - private static Places.Folders fs () { - return TopManager.getDefault ().getPlaces ().folders (); - } - /** Node representing templates folder */ private static class TemplatesNode extends IconSubstituteNode { /** generated Serialized Version UID */ @@ -194,7 +189,7 @@ private static SystemAction[] staticActions; public TemplatesNode () { - this (fs ().templates ().getNodeDelegate ()); + this (NbPlaces.getDefault().templates ().getNodeDelegate ()); } public TemplatesNode(Node ref) { @@ -229,7 +224,7 @@ private static SystemAction[] staticActions; public StartupNode() { - super (fs ().startup ().getNodeDelegate (), startupIconURL, startupIcon32URL); + super (NbPlaces.getDefault().startup ().getNodeDelegate (), startupIconURL, startupIcon32URL); super.setDisplayName(bundle.getString("CTL_Startup_name")); super.setShortDescription(bundle.getString("CTL_Startup_hint")); } @@ -262,7 +257,7 @@ private static SystemAction[] staticActions; public ObjectTypesNode() { - this (TopManager.getDefault ().getPlaces ().nodes ().loaderPool ()); + this (LoaderPoolNode.getLoaderPoolNode()); } public ObjectTypesNode(Node ref) { Index: core/src/org/netbeans/core/ui/WelcomePanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/WelcomePanel.java,v retrieving revision 1.45 diff -u -r1.45 WelcomePanel.java --- core/src/org/netbeans/core/ui/WelcomePanel.java 29 Sep 2002 14:47:34 -0000 1.45 +++ core/src/org/netbeans/core/ui/WelcomePanel.java 16 Oct 2002 04:50:04 -0000 @@ -29,7 +29,6 @@ import javax.swing.text.*; import org.openide.*; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.loaders.*; import org.openide.filesystems.*; @@ -37,10 +36,12 @@ import org.openide.nodes.*; import org.openide.util.actions.*; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.NbBundle; import org.openide.util.SharedClassObject; import org.netbeans.core.IDESettings; +import org.netbeans.core.NbPlaces; /** * This class implements "Getting started" dialog. @@ -118,7 +119,7 @@ } }); try { - DataFolder df = TopManager.getDefault ().getPlaces ().folders ().welcome (); + DataFolder df = NbPlaces.getDefault().welcome (); startLoading(df); contextBrowser.setPage(INFO_URL); tipsBrowser.setPage(INFO_URL); @@ -128,10 +129,9 @@ HyperlinkListener hpl = new HyperlinkListener() { public void hyperlinkUpdate(HyperlinkEvent e) { if (e.getEventType () == HyperlinkEvent.EventType.ACTIVATED) { - TopManager tom = TopManager.getDefault(); - tom.setStatusText(bundle.getString("CTL_OpeningBrowser")); - tom.showUrl(e.getURL()); - TopManager.getDefault().setStatusText(""); // NOI18N + org.openide.awt.StatusDisplayer.getDefault().setStatusText(bundle.getString("CTL_OpeningBrowser")); + org.openide.awt.HtmlBrowser.URLDisplayer.getDefault().showURL(e.getURL()); + org.openide.awt.StatusDisplayer.getDefault().setStatusText(""); // NOI18N } } }; @@ -845,7 +845,7 @@ null // action listener ); - gettingStartedDialog = TopManager.getDefault ().createDialog (descriptor); + gettingStartedDialog = org.openide.DialogDisplayer.getDefault ().createDialog (descriptor); if (gettingStartedDialog instanceof JDialog) ((JDialog)gettingStartedDialog).getRootPane().setDefaultButton(gettingStartedComponent.getCloseButton()); Index: core/src/org/netbeans/core/ui/WizardFolder.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/ui/WizardFolder.java,v retrieving revision 1.14 diff -u -r1.14 WizardFolder.java --- core/src/org/netbeans/core/ui/WizardFolder.java 14 Mar 2002 16:03:08 -0000 1.14 +++ core/src/org/netbeans/core/ui/WizardFolder.java 16 Oct 2002 04:50:04 -0000 @@ -21,7 +21,6 @@ import javax.swing.event.*; import javax.swing.JComponent; -import org.openide.TopManager; import org.openide.WizardDescriptor; import org.openide.cookies.InstanceCookie; import org.openide.filesystems.FileObject; cvs server: core/src/org/netbeans/core/ui/WorkplaceNode.java was removed, no comparison available cvs server: Diffing core/src/org/netbeans/core/windows Index: core/src/org/netbeans/core/windows/MainWindow.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/MainWindow.java,v retrieving revision 1.48 diff -u -r1.48 MainWindow.java --- core/src/org/netbeans/core/windows/MainWindow.java 6 Aug 2002 14:41:46 -0000 1.48 +++ core/src/org/netbeans/core/windows/MainWindow.java 16 Oct 2002 04:50:05 -0000 @@ -22,11 +22,11 @@ import javax.swing.*; import javax.swing.border.EmptyBorder; -import org.openide.TopManager; import org.openide.awt.MenuBar; import org.openide.filesystems.*; import org.openide.nodes.*; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.NbBundle; import org.openide.util.SharedClassObject; import org.openide.util.Utilities; @@ -36,6 +36,7 @@ import org.openide.awt.ToolbarPool; import org.netbeans.core.actions.SystemExit; +import org.netbeans.core.NbTopManager; import org.netbeans.core.windows.frames.DesktopPane; import org.netbeans.core.windows.toolbars.ToolbarConfiguration; import org.netbeans.core.windows.util.WindowUtils; @@ -66,10 +67,6 @@ private MenuBar menuBar; /** The MainWindow's toolbar */ private JPanel toolbars; - /** Current project desktop node. */ - transient private Node projectNode = null; - /** Current listener to changes in project name (other than project itself changing). */ - transient private NodeListener projectNameListener = null; /** Desktop panel */ private DesktopPane desktopPane; /** holds "pre-show" event listeners */ @@ -110,31 +107,6 @@ MainWindow.class.getClassLoader() ))); setIconImage (ideIcon.getImage ()); - projectNameListener = new NodeAdapter () { - public void propertyChange (PropertyChangeEvent ev2) { - if (Node.PROP_DISPLAY_NAME.equals (ev2.getPropertyName ())) { - updateTitle (); - } - } - }; - TopManager.getDefault ().addPropertyChangeListener (new PropertyChangeListener () { - public void propertyChange (PropertyChangeEvent ev) { - if (TopManager.PROP_PLACES.equals (ev.getPropertyName ())) { - if (projectNode != null) { - projectNode.removeNodeListener (projectNameListener); - } - projectNode = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); - if (projectNode != null) { - projectNode.addNodeListener (projectNameListener); - } - updateTitle (); - } - } - }); - projectNode = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); - if (projectNode != null) { - projectNode.addNodeListener (projectNameListener); - } updateTitle (); setDefaultCloseOperation (DO_NOTHING_ON_CLOSE); @@ -247,18 +219,21 @@ frameTitle = " - " + mi.frameTitle(); } } - String title; - if ((projectNode == null) || (projectNode.equals(org.netbeans.core.ui.WorkplaceNode.getDefault()))) { - title = NbBundle.getMessage ( + String title = NbBundle.getMessage ( MainWindow.class, "CTL_MainWindow_Title_Project", buildNumber, NbBundle.getMessage (MainWindow.class, "CTL_NoProject")); - setTitle (title + frameTitle); - } else { + setTitle (title + frameTitle); + // XXX if we have some means of finding the name of the "active project" then change to: + /* + { + String projectTitle = "change me"; // NOI18N title = NbBundle.getMessage ( MainWindow.class, "CTL_MainWindow_Title_Project", - buildNumber, projectNode.getDisplayName ()); + buildNumber, projectTitle); setTitle (title + frameTitle); } + */ + // and of course add a listener which will call updateTitle } }); } Index: core/src/org/netbeans/core/windows/ModeImpl.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/ModeImpl.java,v retrieving revision 1.163 diff -u -r1.163 ModeImpl.java --- core/src/org/netbeans/core/windows/ModeImpl.java 14 Oct 2002 15:52:57 -0000 1.163 +++ core/src/org/netbeans/core/windows/ModeImpl.java 16 Oct 2002 04:50:05 -0000 @@ -44,11 +44,11 @@ import javax.swing.JDesktopPane; import org.openide.windows.*; +import org.openide.util.Lookup; import org.openide.util.Mutex; import org.openide.util.Utilities; import org.openide.util.io.SafeException; import org.openide.util.NbBundle; -import org.openide.TopManager; import org.openide.ErrorManager; import org.netbeans.core.windows.util.*; @@ -2788,7 +2788,8 @@ for (Iterator iter = readList.iterator(); iter.hasNext(); ) { curName = (String)iter.next(); ignoredTcList.add( - Class.forName(curName, false, TopManager.getDefault().systemClassLoader()) + Class.forName(curName, false, + (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)) ); } } Index: core/src/org/netbeans/core/windows/PersistenceManager.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/PersistenceManager.java,v retrieving revision 1.42 diff -u -r1.42 PersistenceManager.java --- core/src/org/netbeans/core/windows/PersistenceManager.java 8 Aug 2002 13:57:17 -0000 1.42 +++ core/src/org/netbeans/core/windows/PersistenceManager.java 16 Oct 2002 04:50:05 -0000 @@ -38,12 +38,10 @@ import org.openide.windows.TopComponent; import org.openide.loaders.DataFolder; import org.openide.loaders.InstanceDataObject; -import org.openide.TopManager; import org.openide.loaders.DataObject; import org.openide.cookies.SaveCookie; import org.openide.cookies.InstanceCookie; -import org.netbeans.core.projects.SessionManager; import org.netbeans.core.windows.layers.WSLoader; import org.netbeans.core.windows.util.WindowUtils; import java.util.Collections; Index: core/src/org/netbeans/core/windows/StatusLine.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/StatusLine.java,v retrieving revision 1.15 diff -u -r1.15 StatusLine.java --- core/src/org/netbeans/core/windows/StatusLine.java 17 Jul 2002 14:41:53 -0000 1.15 +++ core/src/org/netbeans/core/windows/StatusLine.java 16 Oct 2002 04:50:05 -0000 @@ -14,47 +14,40 @@ package org.netbeans.core.windows; import java.awt.*; -import java.beans.*; import javax.swing.*; import javax.swing.border.*; +import javax.swing.event.*; +import org.openide.awt.StatusDisplayer; import org.openide.util.WeakListener; -import org.netbeans.core.NbTopManager; - /** The status line component of the main window. A text can be put into it. * -* @author Jaroslav Tulach +* @author Jaroslav Tulach, Jesse Glick */ public class StatusLine extends JLabel -implements PropertyChangeListener, Runnable { +implements ChangeListener, Runnable { /** generated Serialized Version UID */ static final long serialVersionUID = -5644391883356409841L; + + private StatusDisplayer d = StatusDisplayer.getDefault(); /** Creates a new StatusLine with specified workspace switcher. */ public StatusLine () { - super (NbTopManager.get ().getStatusText()); - - // attach to top manager - NbTopManager.get ().addPropertyChangeListener ( - WeakListener.propertyChange (this, NbTopManager.get ()) - ); + run(); + d.addChangeListener(WeakListener.change(this, d)); // this is here to not squeeze menus when placed to MenuBar, see #19910 setPreferredSize(new Dimension(0, getPreferredSize().height)); } - /** Listens to changes. - */ - public void propertyChange (PropertyChangeEvent ev) { - if (ev.getPropertyName() == NbTopManager.PROP_STATUS_TEXT) { - SwingUtilities.invokeLater (this); - } + public void stateChanged(ChangeEvent e) { + SwingUtilities.invokeLater (this); } - + /** Called in event queue, should update the status text. */ public void run () { - setText (NbTopManager.get ().getStatusText ()); + setText (d.getStatusText ()); } public static JComponent createLabel () { Index: core/src/org/netbeans/core/windows/WindowManagerImpl.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/WindowManagerImpl.java,v retrieving revision 1.149 diff -u -r1.149 WindowManagerImpl.java --- core/src/org/netbeans/core/windows/WindowManagerImpl.java 11 Sep 2002 10:01:36 -0000 1.149 +++ core/src/org/netbeans/core/windows/WindowManagerImpl.java 16 Oct 2002 04:50:05 -0000 @@ -46,7 +46,6 @@ import javax.swing.RepaintManager; import javax.swing.UIManager; -import org.openide.TopManager; import org.openide.windows.*; import org.openide.nodes.Node; import org.openide.util.NbBundle; Index: core/src/org/netbeans/core/windows/WorkspaceExplorerDialog.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/WorkspaceExplorerDialog.java,v retrieving revision 1.4 diff -u -r1.4 WorkspaceExplorerDialog.java --- core/src/org/netbeans/core/windows/WorkspaceExplorerDialog.java 7 Aug 2002 08:40:02 -0000 1.4 +++ core/src/org/netbeans/core/windows/WorkspaceExplorerDialog.java 16 Oct 2002 04:50:05 -0000 @@ -23,7 +23,6 @@ import javax.swing.JButton; import org.openide.DialogDescriptor; -import org.openide.TopManager; import org.netbeans.core.windows.WorkspaceExplorerPanel.NodeInfo; import org.openide.windows.WindowManager; import org.openide.util.NbBundle; @@ -177,7 +176,7 @@ null); dd.setClosingOptions (getButtons()); - dialogWE = TopManager.getDefault().createDialog(dd); + dialogWE = org.openide.DialogDisplayer.getDefault().createDialog(dd); dialogWE.show (); if (dd.getValue() != null) Index: core/src/org/netbeans/core/windows/WorkspaceSwitcher.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/WorkspaceSwitcher.java,v retrieving revision 1.22 diff -u -r1.22 WorkspaceSwitcher.java --- core/src/org/netbeans/core/windows/WorkspaceSwitcher.java 6 Aug 2002 14:41:34 -0000 1.22 +++ core/src/org/netbeans/core/windows/WorkspaceSwitcher.java 16 Oct 2002 04:50:06 -0000 @@ -26,18 +26,19 @@ import javax.swing.JMenuItem; import org.openide.NotifyDescriptor; -import org.openide.TopManager; import org.openide.awt.MouseUtils; import org.openide.awt.JPopupMenuPlus; import org.openide.awt.Actions; +import org.openide.nodes.NodeOperation; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.NbBundle; import org.openide.windows.Workspace; import org.openide.windows.WindowManager; import org.netbeans.core.awt.TabControl; import org.netbeans.core.Main; -import org.netbeans.core.NbTopManager; +import org.netbeans.core.NbPlaces; /** Visual class for switching workspaces. * @@ -181,14 +182,15 @@ ); if(NotifyDescriptor.YES_OPTION - .equals(TopManager.getDefault().notify(desc))) { + .equals(org.openide.DialogDisplayer.getDefault().notify(desc))) { // delete the index workspace.remove(); } break; case CUSTOMIZE_WORKSPACE: - TopManager top = NbTopManager.getDefault(); - top.getNodeOperation().explore(top.getPlaces().nodes().workspaces()); + NodeOperation no = (NodeOperation)Lookup.getDefault() + .lookup (NodeOperation.class); + no.explore(NbPlaces.getDefault().workspaces()); } } Index: core/src/org/netbeans/core/windows/WorkspaceVisibilityManager.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/WorkspaceVisibilityManager.java,v retrieving revision 1.19 diff -u -r1.19 WorkspaceVisibilityManager.java --- core/src/org/netbeans/core/windows/WorkspaceVisibilityManager.java 1 Aug 2002 08:31:16 -0000 1.19 +++ core/src/org/netbeans/core/windows/WorkspaceVisibilityManager.java 16 Oct 2002 04:50:06 -0000 @@ -32,7 +32,6 @@ import org.netbeans.core.windows.util.WindowUtils; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.filesystems.FileObject; import org.openide.loaders.DataObject; import org.openide.loaders.DataObjectNotFoundException; cvs server: Diffing core/src/org/netbeans/core/windows/dnd cvs server: Diffing core/src/org/netbeans/core/windows/frames Index: core/src/org/netbeans/core/windows/frames/DefaultContainerImpl.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/frames/DefaultContainerImpl.java,v retrieving revision 1.63 diff -u -r1.63 DefaultContainerImpl.java --- core/src/org/netbeans/core/windows/frames/DefaultContainerImpl.java 31 Jul 2002 13:28:32 -0000 1.63 +++ core/src/org/netbeans/core/windows/frames/DefaultContainerImpl.java 16 Oct 2002 04:50:06 -0000 @@ -60,7 +60,6 @@ import javax.swing.SwingUtilities; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.windows.*; import org.openide.actions.*; import org.openide.nodes.Node; Index: core/src/org/netbeans/core/windows/frames/MultiTabbedContainerImpl.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/frames/MultiTabbedContainerImpl.java,v retrieving revision 1.48 diff -u -r1.48 MultiTabbedContainerImpl.java --- core/src/org/netbeans/core/windows/frames/MultiTabbedContainerImpl.java 30 Sep 2002 12:05:52 -0000 1.48 +++ core/src/org/netbeans/core/windows/frames/MultiTabbedContainerImpl.java 16 Oct 2002 04:50:06 -0000 @@ -39,7 +39,6 @@ import org.openide.loaders.DataObject; import org.openide.awt.UndoRedo; import org.openide.awt.MouseUtils; -import org.openide.TopManager; import org.openide.actions.*; import org.openide.windows.*; import org.openide.util.NbBundle; Index: core/src/org/netbeans/core/windows/frames/NbFocusManager.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/frames/NbFocusManager.java,v retrieving revision 1.27 diff -u -r1.27 NbFocusManager.java --- core/src/org/netbeans/core/windows/frames/NbFocusManager.java 26 Jun 2002 09:40:13 -0000 1.27 +++ core/src/org/netbeans/core/windows/frames/NbFocusManager.java 16 Oct 2002 04:50:06 -0000 @@ -24,9 +24,10 @@ import java.util.*; -import org.openide.TopManager; +import org.openide.actions.ActionManager; import org.openide.modules.Dependency; import org.openide.modules.SpecificationVersion; +import org.openide.util.Lookup; import org.openide.util.Utilities; import org.netbeans.core.windows.WindowManagerImpl; @@ -211,10 +212,11 @@ * @return true if the key has been processed and false otherwise */ static boolean processKeyStroke(KeyStroke key, ActionEvent ev) { - Keymap root = TopManager.getDefault().getGlobalKeymap (); + Keymap root = (Keymap)Lookup.getDefault().lookup(Keymap.class); Action a = root.getAction (key); if (a != null && a.isEnabled()) { - TopManager.getDefault().getActionManager().invokeAction(a, ev); + ActionManager am = (ActionManager)Lookup.getDefault ().lookup (ActionManager.class); + am.invokeAction(a, ev); return true; } else { return false; @@ -235,7 +237,7 @@ */ private static boolean isTransmodalAction(KeyStroke key) { - Keymap root = TopManager.getDefault().getGlobalKeymap (); + Keymap root = (Keymap)Lookup.getDefault().lookup(Keymap.class); Action a = root.getAction (key); if (a == null) return false; Object val = a.getValue ("OpenIDE-Transmodal-Action"); // NOI18N Index: core/src/org/netbeans/core/windows/frames/ShortcutAndMenuKeyEventProcessor.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/frames/ShortcutAndMenuKeyEventProcessor.java,v retrieving revision 1.13 diff -u -r1.13 ShortcutAndMenuKeyEventProcessor.java --- core/src/org/netbeans/core/windows/frames/ShortcutAndMenuKeyEventProcessor.java 15 Sep 2002 20:22:44 -0000 1.13 +++ core/src/org/netbeans/core/windows/frames/ShortcutAndMenuKeyEventProcessor.java 16 Oct 2002 04:50:06 -0000 @@ -21,9 +21,10 @@ import javax.swing.text.Keymap; import java.util.HashMap; import java.lang.reflect.*; -import org.openide.TopManager; -import org.openide.util.Utilities; +import org.openide.actions.ActionManager; +import org.openide.util.Lookup; +import org.openide.util.Utilities; import org.netbeans.core.windows.WindowManagerImpl; import org.openide.ErrorManager; @@ -227,10 +228,11 @@ ActionEvent aev = new ActionEvent( ev.getSource(), ActionEvent.ACTION_PERFORMED, Utilities.keyToString(ks)); - Keymap root = TopManager.getDefault ().getGlobalKeymap (); + Keymap root = (Keymap)Lookup.getDefault().lookup(Keymap.class); Action a = root.getAction (ks); if (a != null && a.isEnabled()) { - TopManager.getDefault().getActionManager().invokeAction(a, aev); + ActionManager am = (ActionManager)Lookup.getDefault().lookup(ActionManager.class); + am.invokeAction(a, aev); ev.consume(); return true; } @@ -269,7 +271,7 @@ * action, or the key is not bound to anything in the global keymap */ private static boolean isTransmodalAction (KeyStroke key) { - Keymap root = TopManager.getDefault ().getGlobalKeymap (); + Keymap root = (Keymap)Lookup.getDefault().lookup(Keymap.class); Action a = root.getAction (key); if (a == null) return false; Object val = a.getValue ("OpenIDE-Transmodal-Action"); // NOI18N Index: core/src/org/netbeans/core/windows/frames/TopComponentContainer.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/frames/TopComponentContainer.java,v retrieving revision 1.14 diff -u -r1.14 TopComponentContainer.java --- core/src/org/netbeans/core/windows/frames/TopComponentContainer.java 31 Jul 2002 13:28:44 -0000 1.14 +++ core/src/org/netbeans/core/windows/frames/TopComponentContainer.java 16 Oct 2002 04:50:06 -0000 @@ -25,7 +25,6 @@ import javax.swing.event.ChangeListener; import javax.swing.JPanel; -import org.openide.TopManager; import org.openide.windows.*; import org.netbeans.core.windows.WindowManagerImpl; Index: core/src/org/netbeans/core/windows/frames/WindowTypesManager.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/frames/WindowTypesManager.java,v retrieving revision 1.8 diff -u -r1.8 WindowTypesManager.java --- core/src/org/netbeans/core/windows/frames/WindowTypesManager.java 6 Aug 2002 14:42:36 -0000 1.8 +++ core/src/org/netbeans/core/windows/frames/WindowTypesManager.java 16 Oct 2002 04:50:06 -0000 @@ -19,7 +19,6 @@ import org.openide.windows.TopComponent; import org.openide.util.NbBundle; -import org.openide.TopManager; import org.openide.ErrorManager; /** Utility class, with class-only content. Its responsibility is to act as cvs server: Diffing core/src/org/netbeans/core/windows/layers Index: core/src/org/netbeans/core/windows/layers/ModeData.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/layers/ModeData.java,v retrieving revision 1.96 diff -u -r1.96 ModeData.java --- core/src/org/netbeans/core/windows/layers/ModeData.java 14 Oct 2002 15:53:00 -0000 1.96 +++ core/src/org/netbeans/core/windows/layers/ModeData.java 16 Oct 2002 04:50:06 -0000 @@ -62,7 +62,6 @@ import org.openide.loaders.DataObjectNotFoundException; import org.openide.cookies.InstanceCookie; import org.openide.cookies.SaveCookie; -import org.openide.TopManager; import org.openide.util.Lookup; import org.openide.util.NbBundle; import org.openide.util.HelpCtx; Index: core/src/org/netbeans/core/windows/layers/TCRefImpl.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/layers/TCRefImpl.java,v retrieving revision 1.44 diff -u -r1.44 TCRefImpl.java --- core/src/org/netbeans/core/windows/layers/TCRefImpl.java 14 Oct 2002 15:53:00 -0000 1.44 +++ core/src/org/netbeans/core/windows/layers/TCRefImpl.java 16 Oct 2002 04:50:07 -0000 @@ -33,7 +33,6 @@ import org.xml.sax.XMLReader; import org.xml.sax.SAXParseException; -import org.openide.TopManager; import org.openide.windows.TopComponent; import org.openide.filesystems.FileChangeListener; import org.openide.filesystems.FileEvent; Index: core/src/org/netbeans/core/windows/layers/WSLoader.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/layers/WSLoader.java,v retrieving revision 1.9 diff -u -r1.9 WSLoader.java --- core/src/org/netbeans/core/windows/layers/WSLoader.java 6 Aug 2002 14:42:26 -0000 1.9 +++ core/src/org/netbeans/core/windows/layers/WSLoader.java 16 Oct 2002 04:50:07 -0000 @@ -25,7 +25,6 @@ import org.openide.loaders.MultiDataObject; import org.openide.loaders.DataObjectExistsException; import org.openide.util.NbBundle; -import org.openide.TopManager; import org.openide.util.actions.SystemAction; /** Window System loader which recognizes several data objects - data objects Index: core/src/org/netbeans/core/windows/layers/WindowManagerData.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/layers/WindowManagerData.java,v retrieving revision 1.45 diff -u -r1.45 WindowManagerData.java --- core/src/org/netbeans/core/windows/layers/WindowManagerData.java 14 Oct 2002 15:53:01 -0000 1.45 +++ core/src/org/netbeans/core/windows/layers/WindowManagerData.java 16 Oct 2002 04:50:07 -0000 @@ -56,7 +56,7 @@ import org.openide.filesystems.FileObject; import org.openide.nodes.CookieSet; import org.openide.nodes.Node; -import org.openide.TopManager; + import org.openide.util.Mutex; import org.openide.util.NbBundle; import org.openide.xml.XMLUtil; Index: core/src/org/netbeans/core/windows/layers/WorkspaceData.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/layers/WorkspaceData.java,v retrieving revision 1.55 diff -u -r1.55 WorkspaceData.java --- core/src/org/netbeans/core/windows/layers/WorkspaceData.java 14 Oct 2002 15:53:02 -0000 1.55 +++ core/src/org/netbeans/core/windows/layers/WorkspaceData.java 16 Oct 2002 04:50:07 -0000 @@ -61,7 +61,6 @@ import org.openide.modules.ModuleInfo; import org.openide.nodes.CookieSet; import org.openide.nodes.Node; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.util.NbBundle; import org.openide.util.RequestProcessor; cvs server: Diffing core/src/org/netbeans/core/windows/nodes Index: core/src/org/netbeans/core/windows/nodes/ModeContext.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/nodes/ModeContext.java,v retrieving revision 1.20 diff -u -r1.20 ModeContext.java --- core/src/org/netbeans/core/windows/nodes/ModeContext.java 15 Sep 2002 20:22:44 -0000 1.20 +++ core/src/org/netbeans/core/windows/nodes/ModeContext.java 16 Oct 2002 04:50:07 -0000 @@ -26,7 +26,6 @@ import java.lang.reflect.InvocationTargetException; import java.util.*; -import org.openide.TopManager; import org.openide.actions.*; import org.openide.cookies.InstanceCookie; import org.openide.windows.Workspace; Index: core/src/org/netbeans/core/windows/nodes/WorkspaceNewType.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/nodes/WorkspaceNewType.java,v retrieving revision 1.11 diff -u -r1.11 WorkspaceNewType.java --- core/src/org/netbeans/core/windows/nodes/WorkspaceNewType.java 6 Aug 2002 14:42:11 -0000 1.11 +++ core/src/org/netbeans/core/windows/nodes/WorkspaceNewType.java 16 Oct 2002 04:50:07 -0000 @@ -13,7 +13,6 @@ package org.netbeans.core.windows.nodes; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; @@ -61,13 +60,13 @@ nd.setInputText(NbBundle.getMessage(WorkspaceNewType.class, "New_Workspace")); - Object ok = TopManager.getDefault ().notify (nd); + Object ok = org.openide.DialogDisplayer.getDefault ().notify (nd); if (ok == NotifyDescriptor.OK_OPTION) { String s = nd.getInputText(); if ((s == null) || s.trim().equals("")) { // NOI18N // can't create workspace with empty name - TopManager.getDefault().notify(new NotifyDescriptor.Message( + org.openide.DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message( NbBundle.getMessage(WorkspaceNewType.class, "MSG_WorkspaceNameEmpty"), NotifyDescriptor.INFORMATION_MESSAGE )); @@ -75,7 +74,7 @@ } if (nameExists(s)) { // can't create workspace with already existing name - TopManager.getDefault().notify(new NotifyDescriptor.Message( + org.openide.DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message( NbBundle.getMessage(WorkspaceNewType.class, "FMT_WorkspaceExists", s), NotifyDescriptor.INFORMATION_MESSAGE )); cvs server: Diffing core/src/org/netbeans/core/windows/toolbars Index: core/src/org/netbeans/core/windows/toolbars/ToolbarConfiguration.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/windows/toolbars/ToolbarConfiguration.java,v retrieving revision 1.60 diff -u -r1.60 ToolbarConfiguration.java --- core/src/org/netbeans/core/windows/toolbars/ToolbarConfiguration.java 26 Sep 2002 14:33:45 -0000 1.60 +++ core/src/org/netbeans/core/windows/toolbars/ToolbarConfiguration.java 16 Oct 2002 04:50:07 -0000 @@ -23,11 +23,11 @@ import java.awt.Dimension; import java.awt.event.*; import javax.swing.*; +import org.netbeans.core.NbPlaces; import org.openide.util.NbBundle; import org.openide.NotifyDescriptor; import org.openide.DialogDescriptor; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.filesystems.FileObject; import org.openide.filesystems.FileSystem; @@ -37,6 +37,7 @@ import org.openide.awt.Toolbar; import org.openide.awt.ToolbarPool; import org.openide.loaders.XMLDataObject; +import org.openide.util.Lookup; import org.openide.util.SharedClassObject; import org.openide.util.Utilities; @@ -714,7 +715,7 @@ getBundleString("PROP_saveDialog")); // NOI18N il.setInputText (getBundleString("PROP_saveName")); // NOI18N - Object ok = TopManager.getDefault ().notify (il); + Object ok = org.openide.DialogDisplayer.getDefault ().notify (il); if (ok == NotifyDescriptor.OK_OPTION) { String s = il.getInputText(); if (s.length() != 0) { @@ -792,7 +793,7 @@ * @return false if don't want replace */ boolean tryWriteDocument (String cn) throws IOException { - final FileObject tbFO = TopManager.getDefault().getPlaces().folders().toolbars().getPrimaryFile(); + final FileObject tbFO = NbPlaces.getDefault().toolbars().getPrimaryFile(); FileObject newFO = tbFO.getFileObject(cn, EXT_XML); // Bugfix #10779 04 Sep 2001 by Jiri Rechtacek @@ -816,7 +817,7 @@ (MessageFormat.format (getBundleString("MSG_replaceConfiguration"), // NOI18N new String [] { cn }), NotifyDescriptor.OK_CANCEL_OPTION, NotifyDescriptor.WARNING_MESSAGE); - TopManager.getDefault().notify (replaceD); + org.openide.DialogDisplayer.getDefault().notify (replaceD); if (replaceD.getValue() != DialogDescriptor.OK_OPTION) { return false; } @@ -840,7 +841,7 @@ sb.append ("\n\n").append (wtc.toString()); // NOI18N - final FileObject tbFO = TopManager.getDefault().getPlaces().folders().toolbars().getPrimaryFile(); + final FileObject tbFO = NbPlaces.getDefault().toolbars().getPrimaryFile(); final FileSystem tbFS = tbFO.getFileSystem(); tbFS.runAtomicAction (new FileSystem.AtomicAction () { cvs server: Diffing core/src/org/netbeans/core/windows/util cvs server: Diffing core/src/org/netbeans/core/xml Index: core/src/org/netbeans/core/xml/FileEntityResolver.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/xml/FileEntityResolver.java,v retrieving revision 1.18 diff -u -r1.18 FileEntityResolver.java --- core/src/org/netbeans/core/xml/FileEntityResolver.java 22 Jul 2002 08:13:49 -0000 1.18 +++ core/src/org/netbeans/core/xml/FileEntityResolver.java 16 Oct 2002 04:50:07 -0000 @@ -25,7 +25,6 @@ import org.w3c.dom.DocumentType; -import org.openide.TopManager; import org.openide.filesystems.FileObject; import org.openide.filesystems.Repository; import org.openide.loaders.*; Index: core/src/org/netbeans/core/xml/NbSAXParserFactoryImpl.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/xml/NbSAXParserFactoryImpl.java,v retrieving revision 1.4 diff -u -r1.4 NbSAXParserFactoryImpl.java --- core/src/org/netbeans/core/xml/NbSAXParserFactoryImpl.java 17 Jan 2002 15:46:11 -0000 1.4 +++ core/src/org/netbeans/core/xml/NbSAXParserFactoryImpl.java 16 Oct 2002 04:50:07 -0000 @@ -15,7 +15,6 @@ import org.xml.sax.*; import javax.xml.parsers.*; -import org.openide.TopManager; import org.openide.ErrorManager; /** cvs server: Diffing core/test cvs server: Diffing core/test/perf cvs server: Diffing core/test/perf/src cvs server: Diffing core/test/perf/src/org cvs server: Diffing core/test/perf/src/org/netbeans cvs server: Diffing core/test/perf/src/org/netbeans/core cvs server: Diffing core/test/perf/src/org/netbeans/core/lookup Index: core/test/perf/src/org/netbeans/core/lookup/FolderLookupBenchmark.java =================================================================== RCS file: /cvs/core/test/perf/src/org/netbeans/core/lookup/FolderLookupBenchmark.java,v retrieving revision 1.1 diff -u -r1.1 FolderLookupBenchmark.java --- core/test/perf/src/org/netbeans/core/lookup/FolderLookupBenchmark.java 14 Aug 2001 07:38:00 -0000 1.1 +++ core/test/perf/src/org/netbeans/core/lookup/FolderLookupBenchmark.java 16 Oct 2002 04:50:07 -0000 @@ -21,7 +21,7 @@ import java.util.Collection; import java.util.List; -import org.openide.debugger.Debugger; +//import org.openide.debugger.Debugger; import org.openide.execution.Executor; import org.openide.filesystems.FileObject; import org.openide.filesystems.FileSystem; @@ -32,10 +32,10 @@ import org.openide.loaders.DataObjectNotFoundException; import org.openide.loaders.FolderLookup; import org.openide.ServiceType; -import org.openide.TopManager; import org.openide.util.Lookup; import org.openide.util.lookup.AbstractLookup; +import org.netbeans.core.NbTopManager; import org.netbeans.core.xml.FileEntityResolver; import org.netbeans.performance.Benchmark; @@ -98,7 +98,7 @@ public FolderLookupBenchmark(java.lang.String testName) { super(testName); - System.err.println("TopManager="+TopManager.getDefault()); // TEMP + System.err.println("TopManager="+NbTopManager.get()); // TEMP System.err.println("Lookup="+Lookup.getDefault()); // TEMP } @@ -118,7 +118,10 @@ List systems = new ArrayList(layerResources.length); for(int i = 0; i < layerResources.length; i++) { - URL url = TopManager.getDefault().currentClassLoader().getResource(layerResources[i]); + // XXX +// URL url = TopManager.getDefault().currentClassLoader().getResource(layerResources[i]); + ClassLoader cl = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); + URL url = cl.getResource(layerResources[i]); systems.add(new XMLFileSystem(url)); } cvs server: Diffing core/test/perf/src/org/netbeans/core/modules Index: core/test/perf/src/org/netbeans/core/modules/ModuleInitTest.java =================================================================== RCS file: /cvs/core/test/perf/src/org/netbeans/core/modules/ModuleInitTest.java,v retrieving revision 1.7 diff -u -r1.7 ModuleInitTest.java --- core/test/perf/src/org/netbeans/core/modules/ModuleInitTest.java 12 Sep 2002 22:26:16 -0000 1.7 +++ core/test/perf/src/org/netbeans/core/modules/ModuleInitTest.java 16 Oct 2002 04:50:07 -0000 @@ -28,8 +28,8 @@ import org.w3c.dom.*; import org.apache.xml.serialize.*; +import org.netbeans.core.NbTopManager; import org.netbeans.performance.Benchmark; -import org.openide.TopManager; import org.openide.xml.XMLUtil; // initial run (04-sep-02) with empty dummy modules under JDK 1.4.1rc: @@ -552,7 +552,7 @@ public static final class Main { public static void main(String[] x) { - TopManager.getDefault(); + NbTopManager.get(); if (Boolean.getBoolean("log")) { Runtime r = Runtime.getRuntime(); r.gc(); cvs server: Diffing core/test/perf/src/org/netbeans/core/projects Index: core/test/perf/src/org/netbeans/core/projects/XMLSettingsTest.java =================================================================== RCS file: /cvs/core/test/perf/src/org/netbeans/core/projects/XMLSettingsTest.java,v retrieving revision 1.1 diff -u -r1.1 XMLSettingsTest.java --- core/test/perf/src/org/netbeans/core/projects/XMLSettingsTest.java 13 Sep 2002 01:26:13 -0000 1.1 +++ core/test/perf/src/org/netbeans/core/projects/XMLSettingsTest.java 16 Oct 2002 04:50:08 -0000 @@ -18,9 +18,9 @@ import org.netbeans.performance.Benchmark; -import org.openide.TopManager; import org.openide.loaders.*; +import org.netbeans.core.NbTopManager; import org.netbeans.core.projects.FixedFileSystem; import org.openide.cookies.InstanceCookie; import org.openide.filesystems.Repository; @@ -98,7 +98,7 @@ private DataFolder[] folders; protected void setUp() throws Exception { System.setProperty("netbeans.suppress.sysprop.warning", "true"); - TopManager.getDefault(); + NbTopManager.get(); int count = getIterationCount(); int[] x = (int[])getArgument(); int unmodified = x[0]; cvs server: Diffing core/test/perf/src/org/netbeans/core/resources cvs server: Diffing core/test/qa-functional cvs server: Diffing core/test/qa-functional/src cvs server: Diffing core/test/qa-functional/src/gui cvs server: Diffing core/test/qa-functional/src/gui/propertyeditors cvs server: Diffing core/test/qa-functional/src/gui/propertyeditors/data Index: core/test/qa-functional/src/gui/propertyeditors/data/PropertiesTest.java =================================================================== RCS file: /cvs/core/test/qa-functional/src/gui/propertyeditors/data/PropertiesTest.java,v retrieving revision 1.2 diff -u -r1.2 PropertiesTest.java --- core/test/qa-functional/src/gui/propertyeditors/data/PropertiesTest.java 15 Sep 2002 20:22:46 -0000 1.2 +++ core/test/qa-functional/src/gui/propertyeditors/data/PropertiesTest.java 16 Oct 2002 04:50:08 -0000 @@ -1,10 +1,10 @@ package gui.propertyeditors.data; import java.lang.reflect.InvocationTargetException; -import org.openide.TopManager; import org.openide.nodes.AbstractNode; import org.openide.nodes.Children; import org.openide.nodes.Node; +import org.openide.nodes.NodeOperation; import org.openide.nodes.PropertySupport; import org.openide.nodes.Sheet; @@ -18,10 +18,10 @@ tn = new TNode(); // Display Node - //TopManager.getDefault().getNodeOperation().explore(tn); + //NodeOperation.getDefault().getNodeOperation().explore(tn); // Display Properties of a Node - TopManager.getDefault().getNodeOperation().showProperties(tn); + NodeOperation.getDefault().showProperties(tn); try { Thread.currentThread().sleep(3000); @@ -72,11 +72,11 @@ props.put(new TestProperty("Compiler Type", org.openide.compiler.CompilerType.class)); props.put(new TestProperty("Data Folder", org.openide.loaders.DataFolder.class)); props.put(new TestProperty("Data Object", org.openide.loaders.DataObject.class)); - props.put(new TestProperty("Debugger Type", org.openide.debugger.DebuggerType.class)); +// props.put(new TestProperty("Debugger Type", org.openide.debugger.DebuggerType.class)); props.put(new TestProperty("Dimension", java.awt.Dimension.class)); props.put(new TestProperty("Double", java.lang.Double.class)); props.put(new TestProperty("double", double.class)); - props.put(new TestProperty("Element Format", org.openide.src.ElementFormat.class)); +// props.put(new TestProperty("Element Format", org.openide.src.ElementFormat.class)); props.put(new TestProperty("Executor", org.openide.execution.Executor.class)); props.put(new TestProperty("Extension List", org.openide.loaders.ExtensionList.class)); props.put(new TestProperty("External Compiler", org.openide.compiler.ExternalCompiler.ErrorExpression.class)); @@ -87,14 +87,14 @@ props.put(new TestProperty("Font", java.awt.Font.class)); props.put(new TestProperty("Html Browser", org.openide.awt.HtmlBrowser.Factory.class)); props.put(new TestProperty("Icon", javax.swing.Icon.class)); - props.put(new TestProperty("Identifier []", org.openide.src.Identifier[].class)); +// props.put(new TestProperty("Identifier []", org.openide.src.Identifier[].class)); props.put(new TestProperty("Indent Engine", org.openide.text.IndentEngine.class)); props.put(new TestProperty("Insets", java.awt.Insets.class)); props.put(new TestProperty("Integer", java.lang.Integer.class)); props.put(new TestProperty("int", int.class)); props.put(new TestProperty("Long", java.lang.Long.class)); props.put(new TestProperty("long", long.class)); - props.put(new TestProperty("Method Parameter []", org.openide.src.MethodParameter[].class)); +// props.put(new TestProperty("Method Parameter []", org.openide.src.MethodParameter[].class)); props.put(new TestProperty("Modifier", java.lang.reflect.Modifier.class)); props.put(new TestProperty("NbClassPath", org.openide.execution.NbClassPath.class)); props.put(new TestProperty("NbProcessDescriptor", org.openide.execution.NbProcessDescriptor.class)); @@ -109,7 +109,7 @@ props.put(new TestProperty("String", java.lang.String.class)); props.put(new TestProperty("String []", java.lang.String[].class)); props.put(new TestProperty("Table Model", javax.swing.table.TableModel.class)); - props.put(new TestProperty("property Type", org.openide.src.Type.class)); +// props.put(new TestProperty("property Type", org.openide.src.Type.class)); props.put(new TestProperty("URL", java.net.URL.class)); return sheet; Index: core/test/qa-functional/src/gui/propertyeditors/data/PropertyEditorsTestBean.java =================================================================== RCS file: /cvs/core/test/qa-functional/src/gui/propertyeditors/data/PropertyEditorsTestBean.java,v retrieving revision 1.2 diff -u -r1.2 PropertyEditorsTestBean.java --- core/test/qa-functional/src/gui/propertyeditors/data/PropertyEditorsTestBean.java 15 Sep 2002 20:22:46 -0000 1.2 +++ core/test/qa-functional/src/gui/propertyeditors/data/PropertyEditorsTestBean.java 16 Oct 2002 04:50:08 -0000 @@ -136,7 +136,7 @@ private org.openide.compiler.CompilerType p_compilerType; /** Holds value of property p_debuggerType. */ - private org.openide.debugger.DebuggerType p_debuggerType; +// private org.openide.debugger.DebuggerType p_debuggerType; /** Holds value of property p_NbClassPath. */ // hack for forte 4.0 , because if is null, exception arise @@ -164,17 +164,17 @@ /** Holds value of property p_elementFormat. */ // hack for forte 4.0 , because if is null, exception arise - private org.openide.src.ElementFormat p_elementFormat = new org.openide.src.ElementFormat("ee"); +// private org.openide.src.ElementFormat p_elementFormat = new org.openide.src.ElementFormat("ee"); /** Holds value of property p_externalCOmpiler. */ private org.openide.compiler.ExternalCompiler.ErrorExpression p_externalCompiler = new org.openide.compiler.ExternalCompiler.ErrorExpression("x1","x2",0,0,0,0); /** Holds value of property p_methodParameterArray. */ - private org.openide.src.MethodParameter[] p_methodParameterArray; +// private org.openide.src.MethodParameter[] p_methodParameterArray; /** Holds value of property p_identifierArray. */ // hack for forte 4.0 , because if is null, exception arise - private org.openide.src.Identifier[] p_identifierArray = {org.openide.src.Identifier.create("identifier")}; +// private org.openide.src.Identifier[] p_identifierArray = {org.openide.src.Identifier.create("identifier")}; /** Holds value of property p_modifier. */ private java.lang.reflect.Modifier p_modifier; @@ -190,7 +190,7 @@ /** Holds value of property p_type. */ // hack for forte 4.0 , because if is null, exception arise - private org.openide.src.Type p_type = org.openide.src.Type.BOOLEAN; +// private org.openide.src.Type p_type = org.openide.src.Type.BOOLEAN; /** Holds value of property p_dataFolder. */ private org.openide.loaders.DataFolder p_dataFolder; @@ -577,16 +577,16 @@ /** Getter for property p_debuggerType. * @return Value of property p_debuggerType. */ - public org.openide.debugger.DebuggerType getP_debuggerType() { - return this.p_debuggerType; - } +// public org.openide.debugger.DebuggerType getP_debuggerType() { +// return this.p_debuggerType; +// } /** Setter for property p_debuggerType. * @param p_debuggerType New value of property p_debuggerType. */ - public void setP_debuggerType(org.openide.debugger.DebuggerType p_debuggerType) { - this.p_debuggerType = p_debuggerType; - } +// public void setP_debuggerType(org.openide.debugger.DebuggerType p_debuggerType) { +// this.p_debuggerType = p_debuggerType; +// } /** Getter for property p_executor. * @return Value of property p_executor. @@ -787,16 +787,16 @@ /** Getter for property p_elementFormat. * @return Value of property p_elementFormat. */ - public org.openide.src.ElementFormat getP_elementFormat() { - return this.p_elementFormat; - } +// public org.openide.src.ElementFormat getP_elementFormat() { +// return this.p_elementFormat; +// } /** Setter for property p_elementFormat. * @param p_elementFormat New value of property p_elementFormat. */ - public void setP_elementFormat(org.openide.src.ElementFormat p_elementFormat) { - this.p_elementFormat = p_elementFormat; - } +// public void setP_elementFormat(org.openide.src.ElementFormat p_elementFormat) { +// this.p_elementFormat = p_elementFormat; +// } /** Getter for property p_component. * @return Value of property p_component. @@ -844,61 +844,61 @@ * @param index Index of the property. * @return Value of the property at index. */ - public org.openide.src.MethodParameter getP_methodParameterArray(int index) { - return this.p_methodParameterArray[index]; - } +// public org.openide.src.MethodParameter getP_methodParameterArray(int index) { +// return this.p_methodParameterArray[index]; +// } /** Getter for property p_methodParameterArray. * @return Value of property p_methodParameterArray. */ - public org.openide.src.MethodParameter[] getP_methodParameterArray() { - return this.p_methodParameterArray; - } +// public org.openide.src.MethodParameter[] getP_methodParameterArray() { +// return this.p_methodParameterArray; +// } /** Indexed setter for property p_methodParameterArray. * @param index Index of the property. * @param p_methodParameterArray New value of the property at index. */ - public void setP_methodParameterArray(int index, org.openide.src.MethodParameter p_methodParameterArray) { - this.p_methodParameterArray[index] = p_methodParameterArray; - } +// public void setP_methodParameterArray(int index, org.openide.src.MethodParameter p_methodParameterArray) { +// this.p_methodParameterArray[index] = p_methodParameterArray; +// } /** Setter for property p_methodParameterArray. * @param p_methodParameterArray New value of property p_methodParameterArray. */ - public void setP_methodParameterArray(org.openide.src.MethodParameter[] p_methodParameterArray) { - this.p_methodParameterArray = p_methodParameterArray; - } +// public void setP_methodParameterArray(org.openide.src.MethodParameter[] p_methodParameterArray) { +// this.p_methodParameterArray = p_methodParameterArray; +// } /** Indexed getter for property p_identifierArray. * @param index Index of the property. * @return Value of the property at index. */ - public org.openide.src.Identifier getP_identifierArray(int index) { - return this.p_identifierArray[index]; - } +// public org.openide.src.Identifier getP_identifierArray(int index) { +// return this.p_identifierArray[index]; +// } /** Getter for property p_identifierArray. * @return Value of property p_identifierArray. */ - public org.openide.src.Identifier[] getP_identifierArray() { - return this.p_identifierArray; - } +// public org.openide.src.Identifier[] getP_identifierArray() { +// return this.p_identifierArray; +// } /** Indexed setter for property p_identifierArray. * @param index Index of the property. * @param p_identifierArray New value of the property at index. */ - public void setP_identifierArray(int index, org.openide.src.Identifier p_identifierArray) { - this.p_identifierArray[index] = p_identifierArray; - } +// public void setP_identifierArray(int index, org.openide.src.Identifier p_identifierArray) { +// this.p_identifierArray[index] = p_identifierArray; +// } /** Setter for property p_identifierArray. * @param p_identifierArray New value of property p_identifierArray. */ - public void setP_identifierArray(org.openide.src.Identifier[] p_identifierArray) { - this.p_identifierArray = p_identifierArray; - } +// public void setP_identifierArray(org.openide.src.Identifier[] p_identifierArray) { +// this.p_identifierArray = p_identifierArray; +// } /** Getter for property p_modifier. * @return Value of property p_modifier. @@ -991,16 +991,16 @@ /** Getter for property p_type. * @return Value of property p_type. */ - public org.openide.src.Type getP_type() { - return this.p_type; - } +// public org.openide.src.Type getP_type() { +// return this.p_type; +// } /** Setter for property p_type. * @param p_type New value of property p_type. */ - public void setP_type(org.openide.src.Type p_type) { - this.p_type = p_type; - } +// public void setP_type(org.openide.src.Type p_type) { +// this.p_type = p_type; +// } /** Getter for property p_dataFolder. * @return Value of property p_dataFolder. cvs server: Diffing core/test/qa-functional/src/gui/propertyeditors/utilities Index: core/test/qa-functional/src/gui/propertyeditors/utilities/CoreSupport.java =================================================================== RCS file: /cvs/core/test/qa-functional/src/gui/propertyeditors/utilities/CoreSupport.java,v retrieving revision 1.3 diff -u -r1.3 CoreSupport.java --- core/test/qa-functional/src/gui/propertyeditors/utilities/CoreSupport.java 5 Aug 2002 16:47:21 -0000 1.3 +++ core/test/qa-functional/src/gui/propertyeditors/utilities/CoreSupport.java 16 Oct 2002 04:50:08 -0000 @@ -32,7 +32,7 @@ // ide imports import org.openide.filesystems.FileObject; import org.openide.filesystems.FileStateInvalidException; -import org.openide.TopManager; +import org.openide.filesystems.Repository; /** Utilities for core tests. From this class extends supports for each testsuite. * @@ -53,7 +53,7 @@ * @return finded file object or null */ public static FileObject findFileObject(String _package, String _name, String _extension) { - FileObject f = TopManager.getDefault().getRepository().find(_package, _name, _extension); + FileObject f = Repository.getDefault().find(_package, _name, _extension); return f; } cvs server: Diffing core/test/qa-functional/src/gui/windowsystem cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/mainwindow cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/mainwindow/data cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/mainwindow/data/goldenfiles cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/mainwindow/data/goldenfiles/MainMenu cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/mdi cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/utilities Index: core/test/qa-functional/src/gui/windowsystem/utilities/WindowSystemSupport.java =================================================================== RCS file: /cvs/core/test/qa-functional/src/gui/windowsystem/utilities/WindowSystemSupport.java,v retrieving revision 1.3 diff -u -r1.3 WindowSystemSupport.java --- core/test/qa-functional/src/gui/windowsystem/utilities/WindowSystemSupport.java 8 Aug 2002 20:14:44 -0000 1.3 +++ core/test/qa-functional/src/gui/windowsystem/utilities/WindowSystemSupport.java 16 Oct 2002 04:50:08 -0000 @@ -31,7 +31,7 @@ // ide imports import org.openide.filesystems.FileObject; import org.openide.filesystems.FileStateInvalidException; -import org.openide.TopManager; +import org.openide.filesystems.Repository; /** Utilities for Window System tests. From this class extends supports for each testsuite. * @@ -52,7 +52,7 @@ * @return finded file object or null */ public static FileObject findFileObject(String _package, String _name, String _extension) { - FileObject f = TopManager.getDefault().getRepository().find(_package, _name, _extension); + FileObject f = Repository.getDefault().find(_package, _name, _extension); return f; } cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/validation cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/validation/data cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/validation/data/goldenfiles cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/validation/data/goldenfiles/Validation_Docking cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/validation/data/xml cvs server: Diffing core/test/qa-functional/src/gui/windowsystem/ws_lib Index: core/test/qa-functional/src/gui/windowsystem/ws_lib/WSManager.java =================================================================== RCS file: /cvs/core/test/qa-functional/src/gui/windowsystem/ws_lib/WSManager.java,v retrieving revision 1.6 diff -u -r1.6 WSManager.java --- core/test/qa-functional/src/gui/windowsystem/ws_lib/WSManager.java 8 Aug 2002 20:14:48 -0000 1.6 +++ core/test/qa-functional/src/gui/windowsystem/ws_lib/WSManager.java 16 Oct 2002 04:50:08 -0000 @@ -51,6 +51,8 @@ import org.netbeans.jemmy.operators.JFrameOperator; import org.netbeans.jemmy.operators.JTabbedPaneOperator; +import org.openide.windows.WindowManager; + /** * @@ -468,7 +470,7 @@ if(frame.getSource() instanceof JInternalFrame){ JInternalFrameOperator internalOp = getJInternalFrameOperator(windowTitle); - WorkspaceImpl workspace =(WorkspaceImpl)((WindowManagerImpl)org.netbeans.core.NbTopManager.get().getWindowManager()).getCurrentWorkspace(); + WorkspaceImpl workspace =(WorkspaceImpl)WindowManager.getDefault().getCurrentWorkspace(); String dominant = ((org.netbeans.core.windows.frames.PerimeterLayout) workspace.desktopPane().getLayout()).getDominant(); if("SOUTH".equals(dominant)) dominant = "Bottom"; if("NORTH".equals(dominant)) dominant = "Top"; @@ -502,7 +504,7 @@ public String whereIsAtached(JInternalFrameOperator internalOp) { if(internalOp != null) { - Set modes = ((WorkspaceImpl)((WindowManagerImpl)org.netbeans.core.NbTopManager.get().getWindowManager()).getCurrentWorkspace()).getModes(); + Set modes = ((WorkspaceImpl)WindowManager.getDefault().getCurrentWorkspace()).getModes(); Iterator it = modes.iterator(); while(it.hasNext()) { cvs server: Diffing core/test/unit cvs server: Diffing core/test/unit/src cvs server: Diffing core/test/unit/src/org cvs server: Diffing core/test/unit/src/org/netbeans cvs server: Diffing core/test/unit/src/org/netbeans/core Index: core/test/unit/src/org/netbeans/core/AutomountSupportTest.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/AutomountSupportTest.java,v retrieving revision 1.3 diff -u -r1.3 AutomountSupportTest.java --- core/test/unit/src/org/netbeans/core/AutomountSupportTest.java 7 Mar 2002 12:28:56 -0000 1.3 +++ core/test/unit/src/org/netbeans/core/AutomountSupportTest.java 16 Oct 2002 04:50:08 -0000 @@ -15,7 +15,6 @@ import junit.framework.*; import junit.textui.TestRunner; -import org.openide.TopManager; import org.openide.filesystems.*; import org.openide.nodes.Node; import org.openide.loaders.DataObject; @@ -25,6 +24,8 @@ import org.openide.filesystems.Repository; import org.openide.cookies.InstanceCookie; import org.openide.loaders.InstanceDataObject; +import org.openide.modules.ModuleInfo; +import org.openide.util.Lookup; import org.openide.util.Task; /** Test Plain top manager. Must be run externally. @@ -49,7 +50,9 @@ /**/ protected void setUp() throws Exception { - FileObject fo = TopManager.getDefault ().getRepository ().findResource ("Mount"); // NOI18N + Lookup.getDefault().lookup(ModuleInfo.class); + + FileObject fo = Repository.getDefault().findResource ("Mount"); // NOI18N mount = DataFolder.findFolder (fo); DataObject[] arr = mount.getChildren (); Index: core/test/unit/src/org/netbeans/core/PlainTest.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/PlainTest.java,v retrieving revision 1.9 diff -u -r1.9 PlainTest.java --- core/test/unit/src/org/netbeans/core/PlainTest.java 25 Sep 2002 11:43:33 -0000 1.9 +++ core/test/unit/src/org/netbeans/core/PlainTest.java 16 Oct 2002 04:50:08 -0000 @@ -16,8 +16,8 @@ import junit.framework.AssertionFailedError; import junit.textui.TestRunner; import org.netbeans.junit.*; -import org.openide.TopManager; import org.openide.filesystems.FileSystem; +import org.openide.filesystems.Repository; import org.openide.nodes.Node; import org.openide.loaders.DataObject; import java.util.Enumeration; @@ -30,6 +30,7 @@ import java.awt.Frame; import java.awt.Dialog; import javax.swing.SwingUtilities; +import org.netbeans.core.NbTopManager; /** Test Plain top manager. Must be run externally. * @author Jesse Glick @@ -47,7 +48,7 @@ } public void testStartPlain() throws Exception { - assertTrue("Default TopManager is Plain", TopManager.getDefault() instanceof Plain); + assertTrue("Default TopManager is Plain", NbTopManager.get() instanceof Plain); // That's all folks! } @@ -59,9 +60,9 @@ public void testPlainShowsNoGUI() throws Exception { EnsureNoWindowsOpened l = new EnsureNoWindowsOpened(); l.test("Initially"); - TopManager tm = TopManager.getDefault(); + NbTopManager tm = NbTopManager.get(); l.test("After getting TopManager"); - FileSystem sfs = tm.getRepository().getDefaultFileSystem(); + FileSystem sfs = Repository.getDefault().getDefaultFileSystem(); DataFolder top = DataFolder.findFolder(sfs.getRoot()); Enumeration e = top.children(true); while (e.hasMoreElements()) { cvs server: Diffing core/test/unit/src/org/netbeans/core/filesystems cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup Index: core/test/unit/src/org/netbeans/core/lookup/LookupClassLoaderTest.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/lookup/LookupClassLoaderTest.java,v retrieving revision 1.1 diff -u -r1.1 LookupClassLoaderTest.java --- core/test/unit/src/org/netbeans/core/lookup/LookupClassLoaderTest.java 14 Aug 2002 18:38:11 -0000 1.1 +++ core/test/unit/src/org/netbeans/core/lookup/LookupClassLoaderTest.java 16 Oct 2002 04:50:08 -0000 @@ -23,7 +23,7 @@ import org.netbeans.core.modules.Module; import org.netbeans.core.modules.ModuleHistory; import org.netbeans.core.modules.ModuleManager; -import org.openide.TopManager; +import org.openide.ServiceType; import org.openide.util.Lookup; import org.openide.util.LookupEvent; import org.openide.util.LookupListener; @@ -50,7 +50,6 @@ private Module m; protected void setUp() throws Exception { clearWorkDir(); - TopManager.getDefault(); mgr = NbTopManager.get().getModuleSystem().getManager(); try { mgr.mutex().writeAccess(new Mutex.ExceptionAction() { @@ -108,19 +107,22 @@ * than once (XTest bug I suppose). */ public void testClassLoaderLookup() throws Exception { + ClassLoader systemClassLoader = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); + assertNotNull(systemClassLoader); try { - TopManager.getDefault().systemClassLoader().loadClass("ims.Foo"); + systemClassLoader.loadClass("ims.Foo"); fail("Should not have been able to load ims.Foo"); } catch (ClassNotFoundException cnfe) { // Good. } - assertNotNull(Lookup.getDefault().lookup(ClassLoader.class)); - assertEquals(TopManager.getDefault().systemClassLoader(), Lookup.getDefault().lookup(ClassLoader.class)); twiddle(m, TWIDDLE_ENABLE); - assertEquals(TopManager.getDefault().systemClassLoader(), Lookup.getDefault().lookup(ClassLoader.class)); - Class clazz = TopManager.getDefault().systemClassLoader().loadClass("ims.Foo"); - System.err.println("Service types: " + TopManager.getDefault().getServices().getServiceTypes());//XXX - assertNotNull("Services registry has foo", TopManager.getDefault().getServices().find("foo")); + systemClassLoader = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); + Class clazz = systemClassLoader.loadClass("ims.Foo"); + + ServiceType.Registry sReg = (ServiceType.Registry)Lookup.getDefault().lookup(ServiceType.Registry.class); + System.err.println("Service types: " + sReg.getServiceTypes());//XXX + assertNotNull("Services registry has foo", sReg.find("foo")); + Object service = Lookup.getDefault().lookup(clazz); // does not help: Thread.sleep(5000); assertNotNull("Installed service section for ims.Foo", service); @@ -140,10 +142,11 @@ twiddle(m, TWIDDLE_DISABLE); assertTrue(l.gotSomething()); Thread.sleep(1000); // XXX module sys fires changes asynch! - assertEquals("Lookup gives correct degraded classloader after disable module (NOTE: might fail on a loaded/slow CPU)", TopManager.getDefault().systemClassLoader(), Lookup.getDefault().lookup(ClassLoader.class)); - assertEquals(TopManager.getDefault().systemClassLoader(), r.allInstances().iterator().next()); + + systemClassLoader = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); + assertEquals(systemClassLoader, r.allInstances().iterator().next()); try { - TopManager.getDefault().systemClassLoader().loadClass("ims.Foo"); + systemClassLoader.loadClass("ims.Foo"); fail("Should no longer have been able to load ims.Foo"); } catch (ClassNotFoundException cnfe) { // Good. Index: core/test/unit/src/org/netbeans/core/lookup/MetaInfServicesTest.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/lookup/MetaInfServicesTest.java,v retrieving revision 1.4 diff -u -r1.4 MetaInfServicesTest.java --- core/test/unit/src/org/netbeans/core/lookup/MetaInfServicesTest.java 23 Aug 2002 01:41:57 -0000 1.4 +++ core/test/unit/src/org/netbeans/core/lookup/MetaInfServicesTest.java 16 Oct 2002 04:50:08 -0000 @@ -17,7 +17,6 @@ import junit.textui.TestRunner; import org.netbeans.core.NbTopManager; import org.netbeans.core.modules.*; -import org.openide.TopManager; import org.openide.util.*; import java.io.File; import java.util.*; @@ -54,7 +53,6 @@ //Thread.dumpStack(); clearWorkDir(); // Load Plain. - TopManager.getDefault(); // Make a couple of modules. mgr = NbTopManager.get().getModuleSystem().getManager(); try { @@ -119,7 +117,8 @@ */ public void testEverything() throws Exception { twiddle(m1, TWIDDLE_ENABLE); - Class xface = TopManager.getDefault().systemClassLoader().loadClass("org.foo.Interface"); + ClassLoader systemClassLoader = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); + Class xface = systemClassLoader.loadClass("org.foo.Interface"); Lookup.Result r = Lookup.getDefault().lookup(new Lookup.Template(xface)); List instances = new ArrayList(r.allInstances()); // Expect to get Impl1 from first JAR. @@ -155,7 +154,8 @@ // not really important: assertTrue(!l.gotSomething()); instances = new ArrayList(r.allInstances()); assertEquals(0, instances.size()); - Class xface2 = TopManager.getDefault().systemClassLoader().loadClass("org.foo.Interface"); + systemClassLoader = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); + Class xface2 = systemClassLoader.loadClass("org.foo.Interface"); assertTrue(xface != xface2); Lookup.Result r2 = Lookup.getDefault().lookup(new Lookup.Template(xface2)); instances = new ArrayList(r2.allInstances()); cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data Index: core/test/unit/src/org/netbeans/core/lookup/data/install-manifest-service.mf =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/lookup/data/install-manifest-service.mf,v retrieving revision 1.1 diff -u -r1.1 install-manifest-service.mf --- core/test/unit/src/org/netbeans/core/lookup/data/install-manifest-service.mf 14 Aug 2002 18:38:12 -0000 1.1 +++ core/test/unit/src/org/netbeans/core/lookup/data/install-manifest-service.mf 16 Oct 2002 04:50:08 -0000 @@ -1,7 +1,7 @@ Manifest-Version: 1.0 OpenIDE-Module: ims OpenIDE-Module-Name: Install Manifest Service Section -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.2 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 Name: ims/Foo.class OpenIDE-Module-Class: Service Index: core/test/unit/src/org/netbeans/core/lookup/data/services-jar-1.mf =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/lookup/data/services-jar-1.mf,v retrieving revision 1.2 diff -u -r1.2 services-jar-1.mf --- core/test/unit/src/org/netbeans/core/lookup/data/services-jar-1.mf 5 Feb 2002 12:34:30 -0000 1.2 +++ core/test/unit/src/org/netbeans/core/lookup/data/services-jar-1.mf 16 Oct 2002 04:50:08 -0000 @@ -1,5 +1,5 @@ Manifest-Version: 1.0 OpenIDE-Module: org.foo OpenIDE-Module-Name: Interface & Impl #1 -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.2 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 Index: core/test/unit/src/org/netbeans/core/lookup/data/services-jar-2.mf =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/lookup/data/services-jar-2.mf,v retrieving revision 1.2 diff -u -r1.2 services-jar-2.mf --- core/test/unit/src/org/netbeans/core/lookup/data/services-jar-2.mf 5 Feb 2002 12:34:30 -0000 1.2 +++ core/test/unit/src/org/netbeans/core/lookup/data/services-jar-2.mf 16 Oct 2002 04:50:08 -0000 @@ -2,5 +2,5 @@ OpenIDE-Module: org.bar OpenIDE-Module-Name: Impl #2 OpenIDE-Module-Module-Dependencies: org.foo -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.2 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 Index: core/test/unit/src/org/netbeans/core/lookup/data/test1.mf =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/lookup/data/test1.mf,v retrieving revision 1.2 diff -u -r1.2 test1.mf --- core/test/unit/src/org/netbeans/core/lookup/data/test1.mf 23 Jan 2002 19:51:47 -0000 1.2 +++ core/test/unit/src/org/netbeans/core/lookup/data/test1.mf 16 Oct 2002 04:50:08 -0000 @@ -2,5 +2,5 @@ OpenIDE-Module: test1 OpenIDE-Module-Layer: test1/layer-with-ido.xml OpenIDE-Module-Name: IDOM test1 -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.2 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 Index: core/test/unit/src/org/netbeans/core/lookup/data/test2.mf =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/lookup/data/test2.mf,v retrieving revision 1.2 diff -u -r1.2 test2.mf --- core/test/unit/src/org/netbeans/core/lookup/data/test2.mf 23 Jan 2002 19:51:47 -0000 1.2 +++ core/test/unit/src/org/netbeans/core/lookup/data/test2.mf 16 Oct 2002 04:50:08 -0000 @@ -2,5 +2,5 @@ OpenIDE-Module: test2 OpenIDE-Module-Layer: test2/layer-with-settings.xml OpenIDE-Module-Name: IDOM test2 -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.2 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/install-manifest-service cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/install-manifest-service/ims cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-1 cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-1/META-INF cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-1/META-INF/services cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-1/org cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-1/org/foo cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-1/org/foo/impl cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-2 cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-2/META-INF cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-2/META-INF/services cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-2/org cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/services-jar-2/org/bar cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/test1-src cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/test1-src/test1 cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/test2-src cvs server: Diffing core/test/unit/src/org/netbeans/core/lookup/data/test2-src/test2 cvs server: Diffing core/test/unit/src/org/netbeans/core/modules Index: core/test/unit/src/org/netbeans/core/modules/ModuleManagerTest.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/ModuleManagerTest.java,v retrieving revision 1.22 diff -u -r1.22 ModuleManagerTest.java --- core/test/unit/src/org/netbeans/core/modules/ModuleManagerTest.java 8 Oct 2002 20:18:40 -0000 1.22 +++ core/test/unit/src/org/netbeans/core/modules/ModuleManagerTest.java 16 Oct 2002 04:50:08 -0000 @@ -62,7 +62,7 @@ protected void setUp() throws Exception { super.setUp(); System.setProperty("org.openide.major.version", "IDE/1"); - System.setProperty("org.openide.specification.version", "3.12"); + System.setProperty("org.openide.specification.version", "3.14"); } /** Load simple-module and depends-on-simple-module. Index: core/test/unit/src/org/netbeans/core/modules/NbInstallerTest2.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/NbInstallerTest2.java,v retrieving revision 1.2 diff -u -r1.2 NbInstallerTest2.java --- core/test/unit/src/org/netbeans/core/modules/NbInstallerTest2.java 20 Aug 2002 19:51:05 -0000 1.2 +++ core/test/unit/src/org/netbeans/core/modules/NbInstallerTest2.java 16 Oct 2002 04:50:08 -0000 @@ -18,8 +18,8 @@ import java.util.Locale; import org.netbeans.junit.*; import junit.textui.TestRunner; -import org.openide.TopManager; import org.openide.filesystems.Repository; +import org.netbeans.core.NbTopManager; /** Test the NetBeans module installer implementation. * Broken into pieces to ensure each runs in its own VM. @@ -35,9 +35,15 @@ TestRunner.run(new NbTestSuite(NbInstallerTest2.class)); } + protected void setUp() throws Exception { + super.setUp(); + System.setProperty("org.netbeans.core.modules.NbInstaller.NO_COMPAT_AUTO_DEPS_JH", "true"); + System.setProperty("org.netbeans.core.modules.NbInstaller.NO_COMPAT_AUTO_DEPS_DEPRECATED", "true"); + } + /** Test #21173/#23595: overriding layers by localization. */ public void testLocLayerOverrides() throws Exception { - TopManager.getDefault(); // init module system + NbTopManager.get(); // init module system final FakeEvents ev = new FakeEvents(); ModuleInstaller installer = new NbInstaller(ev); ModuleManager mgr = new ModuleManager(installer, ev); Index: core/test/unit/src/org/netbeans/core/modules/NbInstallerTest3.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/NbInstallerTest3.java,v retrieving revision 1.2 diff -u -r1.2 NbInstallerTest3.java --- core/test/unit/src/org/netbeans/core/modules/NbInstallerTest3.java 20 Aug 2002 19:51:05 -0000 1.2 +++ core/test/unit/src/org/netbeans/core/modules/NbInstallerTest3.java 16 Oct 2002 04:50:08 -0000 @@ -17,8 +17,8 @@ import java.util.Collections; import org.netbeans.junit.*; import junit.textui.TestRunner; -import org.openide.TopManager; import org.openide.util.NbBundle; +import org.netbeans.core.NbTopManager; /** Test the NetBeans module installer implementation. * Broken into pieces to ensure each runs in its own VM. @@ -36,7 +36,7 @@ /** Test #21173/#23595: overriding layers by branding. */ public void testBrandingLayerOverrides() throws Exception { - TopManager.getDefault(); // init module system + NbTopManager.get(); // init module system final FakeEvents ev = new FakeEvents(); ModuleInstaller installer = new NbInstaller(ev); ModuleManager mgr = new ModuleManager(installer, ev); Index: core/test/unit/src/org/netbeans/core/modules/NbInstallerTest4.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/NbInstallerTest4.java,v retrieving revision 1.4 diff -u -r1.4 NbInstallerTest4.java --- core/test/unit/src/org/netbeans/core/modules/NbInstallerTest4.java 8 Oct 2002 20:18:41 -0000 1.4 +++ core/test/unit/src/org/netbeans/core/modules/NbInstallerTest4.java 16 Oct 2002 04:50:08 -0000 @@ -17,7 +17,7 @@ import java.util.*; import org.netbeans.junit.*; import junit.textui.TestRunner; -import org.openide.TopManager; +import org.netbeans.core.NbTopManager; import org.openide.filesystems.Repository; /** Test the NetBeans module installer implementation. @@ -52,7 +52,7 @@ * Version 1: all modules loaded together. */ public void testDependencyLayerOverrides1() throws Exception { - TopManager.getDefault(); // init module system + NbTopManager.get(); // init module system final FakeEvents ev = new FakeEvents(); NbInstaller installer = new NbInstaller(ev); ModuleManager mgr = new ModuleManager(installer, ev); Index: core/test/unit/src/org/netbeans/core/modules/NbInstallerTest5.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/NbInstallerTest5.java,v retrieving revision 1.3 diff -u -r1.3 NbInstallerTest5.java --- core/test/unit/src/org/netbeans/core/modules/NbInstallerTest5.java 8 Oct 2002 20:18:41 -0000 1.3 +++ core/test/unit/src/org/netbeans/core/modules/NbInstallerTest5.java 16 Oct 2002 04:50:08 -0000 @@ -17,8 +17,8 @@ import java.util.Collections; import org.netbeans.junit.*; import junit.textui.TestRunner; -import org.openide.TopManager; import org.openide.filesystems.Repository; +import org.netbeans.core.NbTopManager; /** Test the NetBeans module installer implementation. * Broken into pieces to ensure each runs in its own VM. @@ -40,7 +40,9 @@ * Exercises different logic in XMLFileSystem as well as ModuleLayeredFileSystem. */ public void testDependencyLayerOverrides2() throws Exception { - TopManager.getDefault(); // init module system + NbTopManager.get(); // init module system + System.err.println("Module Info->"+org.openide.util.Lookup.getDefault() + .lookup(org.openide.modules.ModuleInfo.class)); // TEMP final FakeEvents ev = new FakeEvents(); NbInstaller installer = new NbInstaller(ev); ModuleManager mgr = new ModuleManager(installer, ev); @@ -49,6 +51,7 @@ try { Module m1 = mgr.create(new File(jars, "base-layer-mod.jar"), null, false, false, false); Module m2 = mgr.create(new File(jars, "override-layer-mod.jar"), null, false, false, false); + assertEquals(Collections.EMPTY_SET, m2.getProblems()); assertEquals(null, slurp("foo/file1.txt")); assertEquals(null, slurp("foo/file3.txt")); Index: core/test/unit/src/org/netbeans/core/modules/NbInstallerTest6.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/NbInstallerTest6.java,v retrieving revision 1.1 diff -u -r1.1 NbInstallerTest6.java --- core/test/unit/src/org/netbeans/core/modules/NbInstallerTest6.java 29 May 2002 19:31:45 -0000 1.1 +++ core/test/unit/src/org/netbeans/core/modules/NbInstallerTest6.java 16 Oct 2002 04:50:08 -0000 @@ -20,8 +20,8 @@ import org.netbeans.core.NbTopManager; import org.netbeans.core.Plain; import org.netbeans.core.projects.SessionManager; -import org.openide.TopManager; import org.openide.filesystems.FileSystem; +import org.openide.filesystems.Repository; /** Test the NetBeans module installer implementation. * Broken into pieces to ensure each runs in its own VM. @@ -77,7 +77,6 @@ public void testInstallMaskUser() throws Exception { try { // Ought to load these modules: - TopManager.getDefault(); ModuleManager mgr = NbTopManager.get().getModuleSystem().getManager(); mgr.mutexPrivileged().enterReadAccess(); try { @@ -138,7 +137,7 @@ } protected ModuleSystem createModuleSystem() throws IOException { String userDir = System.getProperty("modules.dir"); // NOI18N - FileSystem fs = getRepository().getDefaultFileSystem(); + FileSystem fs = Repository.getDefault().getDefaultFileSystem(); return new ModuleSystem(fs, new File(home, "modules"), new File(user, "modules")); } } Index: core/test/unit/src/org/netbeans/core/modules/NbInstallerTest7.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/NbInstallerTest7.java,v retrieving revision 1.1 diff -u -r1.1 NbInstallerTest7.java --- core/test/unit/src/org/netbeans/core/modules/NbInstallerTest7.java 8 Oct 2002 20:18:42 -0000 1.1 +++ core/test/unit/src/org/netbeans/core/modules/NbInstallerTest7.java 16 Oct 2002 04:50:08 -0000 @@ -20,7 +20,6 @@ import org.netbeans.core.NbTopManager; import org.netbeans.core.Plain; import org.netbeans.core.projects.SessionManager; -import org.openide.TopManager; import org.openide.filesystems.FileSystem; /** Test the NetBeans module installer implementation. @@ -48,6 +47,9 @@ protected void setUp() throws Exception { super.setUp(); System.setProperty("netbeans.suppress.sysprop.warning", "true"); + System.setProperty("org.netbeans.core.modules.NbInstaller.NO_COMPAT_AUTO_DEPS_JH", "true"); + System.setProperty("org.netbeans.core.modules.NbInstaller.NO_COMPAT_AUTO_DEPS_DEPRECATED", "true"); + // leave NO_COMPAT_AUTO_TRANSITIVE_DEPS=false clearWorkDir(); File workdir = getWorkDir(); File modules = new File(workdir, "modules"); @@ -71,7 +73,6 @@ */ public void testInstallMaskUser() throws Exception { // Ought to load these modules: - TopManager.getDefault(); ModuleManager mgr = NbTopManager.get().getModuleSystem().getManager(); mgr.mutexPrivileged().enterReadAccess(); try { @@ -81,15 +82,19 @@ assertNotNull(usesandexportsapi); Module usesapidirectly = mgr.get("usesapidirectly"); assertNotNull(usesapidirectly); + assertEquals("uses-api-directly.jar can be enabled", Collections.EMPTY_SET, usesapidirectly.getProblems()); assertTrue(usesapidirectly.isEnabled()); Module usesapitransitively = mgr.get("usesapitrans"); assertNotNull(usesapitransitively); + assertEquals("uses-api-transitively.jar can be enabled", Collections.EMPTY_SET, usesapitransitively.getProblems()); assertTrue(usesapitransitively.isEnabled()); Module usesapidirectlyold = mgr.get("usesapidirectlyold"); assertNotNull(usesapidirectlyold); + assertEquals("uses-api-directly-old.jar can be enabled", Collections.EMPTY_SET, usesapidirectlyold.getProblems()); assertTrue(usesapidirectlyold.isEnabled()); Module usesapitransitivelyold = mgr.get("usesapitransold"); assertNotNull(usesapitransitivelyold); + assertEquals("uses-api-transitively-old.jar can be enabled", Collections.EMPTY_SET, usesapitransitivelyold.getProblems()); assertTrue(usesapitransitivelyold.isEnabled()); usesapidirectly.getClassLoader().loadClass("usesapitrans.UsesDirectAPI").newInstance(); usesapidirectly.getClassLoader().loadClass("usesapitrans.UsesIndirectAPI").newInstance(); Index: core/test/unit/src/org/netbeans/core/modules/SetupHid.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/SetupHid.java,v retrieving revision 1.7 diff -u -r1.7 SetupHid.java --- core/test/unit/src/org/netbeans/core/modules/SetupHid.java 15 Sep 2002 16:45:33 -0000 1.7 +++ core/test/unit/src/org/netbeans/core/modules/SetupHid.java 16 Oct 2002 04:50:08 -0000 @@ -18,9 +18,9 @@ import java.io.*; import java.util.*; import java.beans.*; -import org.openide.TopManager; import org.openide.filesystems.*; import org.openide.filesystems.FileSystem; // override java.io.FileSystem +import org.netbeans.core.NbTopManager; /** Some infrastructure for module system tests. * @author Jesse Glick @@ -85,7 +85,7 @@ } protected static String slurp(String path) throws IOException { - TopManager.getDefault(); // #26451 + NbTopManager.get(); // #26451 FileObject fo = Repository.getDefault().getDefaultFileSystem().findResource(path); if (fo == null) return null; InputStream is = fo.getInputStream(); cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars Index: core/test/unit/src/org/netbeans/core/modules/jars/base-layer-mod.mf =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/jars/base-layer-mod.mf,v retrieving revision 1.1 diff -u -r1.1 base-layer-mod.mf --- core/test/unit/src/org/netbeans/core/modules/jars/base-layer-mod.mf 24 May 2002 18:26:34 -0000 1.1 +++ core/test/unit/src/org/netbeans/core/modules/jars/base-layer-mod.mf 16 Oct 2002 04:50:08 -0000 @@ -2,5 +2,5 @@ OpenIDE-Module: base.layer OpenIDE-Module-Layer: baselayer/layer.xml OpenIDE-Module-Name: Base Layer Module -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 Index: core/test/unit/src/org/netbeans/core/modules/jars/override-layer-mod.mf =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/jars/override-layer-mod.mf,v retrieving revision 1.1 diff -u -r1.1 override-layer-mod.mf --- core/test/unit/src/org/netbeans/core/modules/jars/override-layer-mod.mf 24 May 2002 18:26:34 -0000 1.1 +++ core/test/unit/src/org/netbeans/core/modules/jars/override-layer-mod.mf 16 Oct 2002 04:50:08 -0000 @@ -3,5 +3,5 @@ OpenIDE-Module-Layer: overridelayer/layer.xml OpenIDE-Module-Name: Override Layer Module OpenIDE-Module-Module-Dependencies: base.layer -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 Index: core/test/unit/src/org/netbeans/core/modules/jars/uses-and-exports-api.mf =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/modules/jars/uses-and-exports-api.mf,v retrieving revision 1.1 diff -u -r1.1 uses-and-exports-api.mf --- core/test/unit/src/org/netbeans/core/modules/jars/uses-and-exports-api.mf 8 Oct 2002 20:18:45 -0000 1.1 +++ core/test/unit/src/org/netbeans/core/modules/jars/uses-and-exports-api.mf 16 Oct 2002 04:50:08 -0000 @@ -2,5 +2,5 @@ OpenIDE-Module: usesandexportsapi OpenIDE-Module-Module-Dependencies: org.netbeans.modules.foo > 1.0 OpenIDE-Module-Public-Packages: usesapi.* -OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.12 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/base-layer-mod cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/base-layer-mod/baselayer cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/cyclic-1 cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/cyclic-1/org cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/cyclic-1/org/foo cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/cyclic-2 cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/cyclic-2/org cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/cyclic-2/org/bar cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/dep-on-dep-on-simple cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/dep-on-dep-on-simple/org cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/dep-on-dep-on-simple/org/baz cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/depends-on-cyclic-1 cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/depends-on-cyclic-1/org cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/depends-on-cyclic-1/org/baz cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/depends-on-library-src cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/depends-on-library-src/org cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/depends-on-library-src/org/dol cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/depends-on-simple-module cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/depends-on-simple-module/org cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/depends-on-simple-module/org/bar cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/exposes-api cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/exposes-api/org cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/exposes-api/org/netbeans cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/exposes-api/org/netbeans/api cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/exposes-api/org/netbeans/api/foo cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/exposes-api/org/netbeans/modules cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/exposes-api/org/netbeans/modules/foo cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/library-src cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/library-src/pkg cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/library-src/pkg/subpkg cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/localized-manifest cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/localized-manifest/locmani cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/override-layer-mod cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/override-layer-mod/overridelayer cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/patch cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/patch/pkg cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/patch/pkg/subpkg cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/patchable cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/patchable/pkg cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/patchable/pkg/subpkg cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/prov-foo cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/prov-foo/org cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/prov-foo/org/prov_foo cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/simple-module cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/simple-module/org cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/simple-module/org/foo cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/uses-api cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/uses-api/usesapi cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/uses-api-transitively cvs server: Diffing core/test/unit/src/org/netbeans/core/modules/jars/uses-api-transitively/usesapitrans cvs server: Diffing core/test/unit/src/org/netbeans/core/projects cvs server: Diffing core/test/unit/src/org/netbeans/core/projects/cache cvs server: Diffing core/test/unit/src/org/netbeans/core/projects/cache/data cvs server: Diffing core/test/unit/src/org/netbeans/core/projects/data Index: core/test/unit/src/org/netbeans/core/projects/data/sfs-attr-test.mf =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/projects/data/sfs-attr-test.mf,v retrieving revision 1.1 diff -u -r1.1 sfs-attr-test.mf --- core/test/unit/src/org/netbeans/core/projects/data/sfs-attr-test.mf 28 Feb 2002 12:40:58 -0000 1.1 +++ core/test/unit/src/org/netbeans/core/projects/data/sfs-attr-test.mf 16 Oct 2002 04:50:09 -0000 @@ -1,5 +1,5 @@ Manifest-Version: 1.0 OpenIDE-Module: sfs_attr_test OpenIDE-Module-Layer: sfs_attr_test/layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.4 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 cvs server: Diffing core/test/unit/src/org/netbeans/core/projects/data/sfs-attr-test cvs server: Diffing core/test/unit/src/org/netbeans/core/projects/data/sfs-attr-test/sfs_attr_test cvs server: Diffing core/test/unit/src/org/netbeans/core/windows Index: core/test/unit/src/org/netbeans/core/windows/BugFixTests.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/windows/BugFixTests.java,v retrieving revision 1.9 diff -u -r1.9 BugFixTests.java --- core/test/unit/src/org/netbeans/core/windows/BugFixTests.java 22 Mar 2002 18:59:43 -0000 1.9 +++ core/test/unit/src/org/netbeans/core/windows/BugFixTests.java 16 Oct 2002 04:50:09 -0000 @@ -17,7 +17,6 @@ import org.netbeans.junit.*; import org.openide.windows.*; -import org.openide.TopManager; import javax.swing.SwingUtilities; import org.netbeans.core.windows.frames.WindowTypesManager; @@ -80,7 +79,7 @@ EventQueue.invokeLater(new Runnable () { public void run () { try { - WindowManager wm = TopManager.getDefault().getWindowManager(); + WindowManager wm = WindowManager.getDefault(); Workspace editing = wm.findWorkspace("Editing"); Workspace running = wm.findWorkspace("Visual"); editing.activate(); @@ -92,7 +91,7 @@ System.out.println("Test 15299 passed."); } catch (Exception exc) { System.out.println("Test 15299 failed."); - TopManager.getDefault().getErrorManager().notify( + ErrorManager.getDefault().notify( ErrorManager.INFORMATIONAL, exc ); fail(exc.toString()); @@ -126,7 +125,7 @@ CountNotifyComp innerPane = new CountNotifyComp(); DialogDescriptor dd = new DialogDescriptor(innerPane, "Test"); dd.setModal(false); - Dialog dialog = TopManager.getDefault().createDialog(dd); + Dialog dialog = org.openide.DialogDisplayer.getDefault().createDialog(dd); dialog.show(); // set some properties, shouldn't result in remove/addNotify dd.setMessage(innerPane); @@ -151,7 +150,7 @@ SwingUtilities.invokeLater(new Runnable() { public void run () { try { - WindowManager wm = TopManager.getDefault().getWindowManager(); + WindowManager wm = WindowManager.getDefault(); Workspace editing = wm.findWorkspace("Editing"); Workspace running = wm.createWorkspace("testworkspace"); running.activate(); @@ -195,7 +194,7 @@ public void testBugfix_14585() { System.out.println("Bugfix test 14585 started."); - Workspace workspace = TopManager.getDefault().getWindowManager().getCurrentWorkspace(); + Workspace workspace = WindowManager.getDefault().getCurrentWorkspace(); //opens the global property window TopComponent c = org.netbeans.core.NbNodeOperation.Sheet.getDefault (); @@ -265,7 +264,7 @@ /** Issue 20318 - checks if multiple setRelativeBounds calls on different * frame types doesn't corrupt bounds */ public void testBugfix_20318 () throws Exception { - WindowManager wm = TopManager.getDefault().getWindowManager(); + WindowManager wm = WindowManager.getDefault(); Workspace editing = wm.findWorkspace("Editing"); ModeImpl mode = (ModeImpl)editing.createMode("TestMode20318", "Test Mode 20318", null); mode.setFrameType(WindowTypesManager.TOP_FRAME); cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/data cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/layers Index: core/test/unit/src/org/netbeans/core/windows/layers/ModeDataTest.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/core/windows/layers/ModeDataTest.java,v retrieving revision 1.8 diff -u -r1.8 ModeDataTest.java --- core/test/unit/src/org/netbeans/core/windows/layers/ModeDataTest.java 3 Jul 2002 15:46:05 -0000 1.8 +++ core/test/unit/src/org/netbeans/core/windows/layers/ModeDataTest.java 16 Oct 2002 04:50:09 -0000 @@ -194,7 +194,7 @@ public void testExplorerWrite () throws Exception { log("Simple write test, writes content of explorer mode."); - Workspace w = TopManager.getDefault().getWindowManager().findWorkspace("Editing"); + Workspace w = WindowManager.getDefault().findWorkspace("Editing"); ModeImpl mi = (ModeImpl) w.findMode("properties"); if (mi == null) { fail ("Mode properties doesn't exist."); cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/layers/data cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/layers/data/Windows cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/layers/data/Windows/Components cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/layers/data/Windows/WindowManager cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/layers/data/Windows/WindowManager/Editing cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/layers/data/Windows/WindowManager/Editing/badtestmode cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/layers/data/Windows/WindowManager/Editing/testmode cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/layers/data/Windows/WindowManager/TestWorkspace cvs server: Diffing core/test/unit/src/org/netbeans/core/windows/layers/data/Windows/WindowManager/TestWorkspace/testmode cvs server: Diffing core/test/unit/src/org/netbeans/data cvs server: Diffing core/ui Index: core/ui/manifest.mf =================================================================== RCS file: /cvs/core/ui/manifest.mf,v retrieving revision 1.4 diff -u -r1.4 manifest.mf --- core/ui/manifest.mf 2 Aug 2002 18:50:54 -0000 1.4 +++ core/ui/manifest.mf 16 Oct 2002 04:50:09 -0000 @@ -2,7 +2,7 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/core/ui/resources/Bundle.properties OpenIDE-Module-Specification-Version: 1.1 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.core.windows/1 > 1.0 OpenIDE-Module-Layer: org/netbeans/core/ui/resources/layer.xml cvs server: Diffing core/ui/src cvs server: Diffing core/ui/src/org cvs server: Diffing core/ui/src/org/netbeans cvs server: Diffing core/ui/src/org/netbeans/core cvs server: Diffing core/ui/src/org/netbeans/core/ui cvs server: Diffing core/ui/src/org/netbeans/core/ui/resources Index: core/ui/src/org/netbeans/core/ui/resources/layer.xml =================================================================== RCS file: /cvs/core/ui/src/org/netbeans/core/ui/resources/layer.xml,v retrieving revision 1.24 diff -u -r1.24 layer.xml --- core/ui/src/org/netbeans/core/ui/resources/layer.xml 29 Sep 2002 14:47:35 -0000 1.24 +++ core/ui/src/org/netbeans/core/ui/resources/layer.xml 16 Oct 2002 04:50:09 -0000 @@ -514,10 +514,6 @@ - - cvs server: Diffing core/ui/src/org/netbeans/core/ui/resources/components cvs server: Diffing core/ui/src/org/netbeans/core/ui/resources/windowmanager cvs server: Diffing core/ui/src/org/netbeans/core/ui/resources/windowmanager/Editing cvs server: Diffing core/ui/src/org/netbeans/core/ui/resources/windowmanager/Editing/explorer cvs server: Diffing core/ui/src/org/netbeans/core/ui/resources/windowmanager/Editing/output cvs server: Diffing core/ui/src/org/netbeans/core/ui/resources/windowmanager/Editing/properties cvs server: Diffing core/windows Index: core/windows/manifest.mf =================================================================== RCS file: /cvs/core/windows/manifest.mf,v retrieving revision 1.3 diff -u -r1.3 manifest.mf --- core/windows/manifest.mf 2 Aug 2002 18:50:55 -0000 1.3 +++ core/windows/manifest.mf 16 Oct 2002 04:50:09 -0000 @@ -2,7 +2,7 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/core/windows/resources/Bundle.properties OpenIDE-Module-Specification-Version: 1.1 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.3 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.core/1 > 1.0 OpenIDE-Module-Layer: org/netbeans/core/windows/resources/layer.xml cvs server: Diffing core/windows/src cvs server: Diffing core/windows/src/META-INF cvs server: Diffing core/windows/src/META-INF/services cvs server: core/windows/src/META-INF/services/org.openide.TopManager$NodeOperation was removed, no comparison available cvs server: core/windows/src/META-INF/services/org.openide.nodes.NodeOperation is a new entry, no comparison available cvs server: Diffing core/windows/src/org cvs server: Diffing core/windows/src/org/netbeans cvs server: Diffing core/windows/src/org/netbeans/core cvs server: Diffing core/windows/src/org/netbeans/core/windows cvs server: Diffing core/windows/src/org/netbeans/core/windows/resources cvs server: Diffing core/www cvs server: Diffing core/www/plans cvs server: Diffing core/www/platform cvs server: Diffing core/www/platform/images cvs server: Diffing core/www/proposals cvs server: Diffing core/www/proposals/db cvs server: Diffing core/www/proposals/dependencies cvs server: Diffing core/www/qa cvs server: Diffing core/www/qa/reports cvs server: Diffing core/www/qa/testspecs cvs server: Diffing core/www/qa/testspecs/nb34 cvs server: Diffing core/www/qa/testspecs/nb40 cvs server: Diffing core/www/qa/testspecs/xml cvs server: Diffing core/www/tutorial cvs server: Diffing core/www/windowsystem cvs server: Diffing debuggercore Index: debuggercore/build.xml =================================================================== RCS file: /cvs/debuggercore/build.xml,v retrieving revision 1.31 diff -u -r1.31 build.xml --- debuggercore/build.xml 12 Sep 2002 11:02:38 -0000 1.31 +++ debuggercore/build.xml 16 Oct 2002 04:50:10 -0000 @@ -44,9 +44,9 @@ - - - + + + Index: debuggercore/manifest.mf =================================================================== RCS file: /cvs/debuggercore/manifest.mf,v retrieving revision 1.51 diff -u -r1.51 manifest.mf --- debuggercore/manifest.mf 18 Sep 2002 11:33:10 -0000 1.51 +++ debuggercore/manifest.mf 16 Oct 2002 04:50:10 -0000 @@ -2,8 +2,10 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/debugger/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/debugger/multisession/EnterpriseModule.class OpenIDE-Module-Layer: org/netbeans/modules/debugger/resources/mf-layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.24 -OpenIDE-Module-Specification-Version: 2.4 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-Specification-Version: 2.5 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ Name: org/netbeans/modules/debugger/support/nodes/DebuggerNode.class cvs server: Diffing debuggercore/api cvs server: Diffing debuggercore/api/examples cvs server: Diffing debuggercore/api/examples/delegatingview cvs server: Diffing debuggercore/api/examples/delegatingview/org cvs server: Diffing debuggercore/api/examples/delegatingview/org/netbeans cvs server: Diffing debuggercore/api/examples/delegatingview/org/netbeans/modules cvs server: Diffing debuggercore/api/examples/delegatingview/org/netbeans/modules/debugger cvs server: Diffing debuggercore/api/examples/delegatingview/org/netbeans/modules/debugger/delegatingview cvs server: Diffing debuggercore/api/examples/importdebug cvs server: Diffing debuggercore/api/examples/importdebug/org cvs server: Diffing debuggercore/api/examples/importdebug/org/netbeans cvs server: Diffing debuggercore/api/examples/importdebug/org/netbeans/modules cvs server: Diffing debuggercore/api/examples/importdebug/org/netbeans/modules/debugger cvs server: Diffing debuggercore/api/examples/importdebug/org/netbeans/modules/debugger/importd cvs server: Diffing debuggercore/api/examples/importdebugII cvs server: Diffing debuggercore/api/examples/importdebugII/org cvs server: Diffing debuggercore/api/examples/importdebugII/org/netbeans cvs server: Diffing debuggercore/api/examples/importdebugII/org/netbeans/modules cvs server: Diffing debuggercore/api/examples/importdebugII/org/netbeans/modules/debugger cvs server: Diffing debuggercore/api/examples/importdebugII/org/netbeans/modules/debugger/importd2 cvs server: Diffing debuggercore/src cvs server: Diffing debuggercore/src/META-INF cvs server: Diffing debuggercore/src/META-INF/netbeans cvs server: Diffing debuggercore/src/org cvs server: Diffing debuggercore/src/org/netbeans cvs server: Diffing debuggercore/src/org/netbeans/modules cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/delegator cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/multisession cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources/actions cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources/allInOneView cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources/breakpointsView cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources/callStackView cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources/classesView cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources/editor cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources/localsView cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources/sessionsView cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources/threadsView cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/resources/watchesView cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/support cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/support/actions cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/support/java cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/support/java/nodes cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/support/nodes cvs server: Diffing debuggercore/src/org/netbeans/modules/debugger/support/util cvs server: Diffing debuggercore/www cvs server: Diffing debuggercore/www/dev cvs server: Diffing debuggercore/www/dev/bugreports cvs server: Diffing debuggercore/www/docs cvs server: Diffing debuggercore/www/docs/HOWTOs cvs server: Diffing debuggercore/www/docs/HOWTOs/images cvs server: Diffing debuggercore/www/docs/Troubleshooting cvs server: Diffing debuggercore/www/docs/images cvs server: Diffing debuggercore/www/javadoc cvs server: Diffing debuggercore/www/javadoc/index-files cvs server: Diffing debuggercore/www/javadoc/org cvs server: Diffing debuggercore/www/javadoc/org/netbeans cvs server: Diffing debuggercore/www/javadoc/org/netbeans/modules cvs server: Diffing debuggercore/www/javadoc/org/netbeans/modules/debugger cvs server: Diffing debuggercore/www/javadoc/org/netbeans/modules/debugger/class-use cvs server: Diffing debuggercore/www/nb34 cvs server: Diffing debuggercore/www/nb34/hotswap cvs server: Diffing debuggercore/www/nb34/hotswap/design cvs server: Diffing debuggercore/www/pending cvs server: Diffing debuggercore/www/plans cvs server: Diffing debuggerjpda Index: debuggerjpda/build.xml =================================================================== RCS file: /cvs/debuggerjpda/build.xml,v retrieving revision 1.24 diff -u -r1.24 build.xml --- debuggerjpda/build.xml 22 May 2002 18:01:36 -0000 1.24 +++ debuggerjpda/build.xml 16 Oct 2002 04:50:10 -0000 @@ -62,9 +62,9 @@ - - - + + + Index: debuggerjpda/manifest.mf =================================================================== RCS file: /cvs/debuggerjpda/manifest.mf,v retrieving revision 1.43 diff -u -r1.43 manifest.mf --- debuggerjpda/manifest.mf 18 Sep 2002 11:40:23 -0000 1.43 +++ debuggerjpda/manifest.mf 16 Oct 2002 04:50:10 -0000 @@ -2,9 +2,10 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/debugger/jpda/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/debugger/jpda/JPDADebuggerModule.class OpenIDE-Module-Layer: org/netbeans/modules/debugger/jpda/resources/mf-layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.26 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.debugger.core/3 > 2.3 -OpenIDE-Module-Specification-Version: 1.12 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.debugger.core/3 > 2.3, org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-Specification-Version: 1.13 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Package-Dependencies: com.sun.jdi[VirtualMachineManager] cvs server: Diffing debuggerjpda/src cvs server: Diffing debuggerjpda/src/org cvs server: Diffing debuggerjpda/src/org/netbeans cvs server: Diffing debuggerjpda/src/org/netbeans/modules cvs server: Diffing debuggerjpda/src/org/netbeans/modules/debugger cvs server: Diffing debuggerjpda/src/org/netbeans/modules/debugger/jpda cvs server: Diffing debuggerjpda/src/org/netbeans/modules/debugger/jpda/evaluator cvs server: Diffing debuggerjpda/src/org/netbeans/modules/debugger/jpda/resources cvs server: Diffing debuggerjpda/src/org/netbeans/modules/debugger/jpda/util cvs server: Diffing debuggerjpda/test cvs server: Diffing debuggerjpda/test/unit cvs server: Diffing debuggerjpda/test/unit/apps cvs server: Diffing debuggerjpda/test/unit/apps/breakpoints cvs server: Diffing debuggerjpda/test/unit/apps/breakpoints/clazz cvs server: Diffing debuggerjpda/test/unit/apps/breakpoints/conditional cvs server: Diffing debuggerjpda/test/unit/apps/breakpoints/disabled cvs server: Diffing debuggerjpda/test/unit/apps/breakpoints/exception cvs server: Diffing debuggerjpda/test/unit/apps/breakpoints/line cvs server: Diffing debuggerjpda/test/unit/apps/breakpoints/method cvs server: Diffing debuggerjpda/test/unit/apps/breakpoints/thread cvs server: Diffing debuggerjpda/test/unit/apps/breakpoints/variable cvs server: Diffing debuggerjpda/test/unit/apps/bugs cvs server: Diffing debuggerjpda/test/unit/apps/parser cvs server: Diffing debuggerjpda/test/unit/apps/watches cvs server: Diffing debuggerjpda/test/unit/src cvs server: Diffing debuggerjpda/test/unit/src/org cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/Util cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/basic cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints/clazz cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints/conditional cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints/disabled cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints/exception cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints/hidden cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints/line cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints/method cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints/suspending cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints/thread cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/breakpoints/variable cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/bugs cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/parser cvs server: Diffing debuggerjpda/test/unit/src/org/netbeans/test/debugger/watches cvs server: Diffing debuggerjpda/www cvs server: Diffing diff Index: diff/build.xml =================================================================== RCS file: /cvs/diff/build.xml,v retrieving revision 1.14 diff -u -r1.14 build.xml --- diff/build.xml 7 Oct 2002 15:18:51 -0000 1.14 +++ diff/build.xml 16 Oct 2002 04:50:12 -0000 @@ -37,9 +37,8 @@ - - - + + Index: diff/manifest.mf =================================================================== RCS file: /cvs/diff/manifest.mf,v retrieving revision 1.12 diff -u -r1.12 manifest.mf --- diff/manifest.mf 2 Aug 2002 18:50:57 -0000 1.12 +++ diff/manifest.mf 16 Oct 2002 04:50:12 -0000 @@ -1,10 +1,11 @@ OpenIDE-Module: org.netbeans.modules.diff/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/diff/Bundle.properties -OpenIDE-Module-Specification-Version: 1.5 +OpenIDE-Module-Specification-Version: 1.6 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/diff/mf-layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.editor/1 > 1.7 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.editor/1 > 1.7, org.openide.deprecated > 1.0 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Package-Dependencies: org.apache.regexp[RE] Name: org/netbeans/modules/diff/DiffAction.class cvs server: Diffing diff/api cvs server: Diffing diff/api/doc cvs server: Diffing diff/api/doc/changes cvs server: Diffing diff/api/doc/openide cvs server: Diffing diff/src cvs server: Diffing diff/src/org cvs server: Diffing diff/src/org/netbeans cvs server: Diffing diff/src/org/netbeans/api cvs server: Diffing diff/src/org/netbeans/api/diff cvs server: Diffing diff/src/org/netbeans/modules cvs server: Diffing diff/src/org/netbeans/modules/diff cvs server: Diffing diff/src/org/netbeans/modules/diff/builtin cvs server: Diffing diff/src/org/netbeans/modules/diff/builtin/provider cvs server: Diffing diff/src/org/netbeans/modules/diff/builtin/provider/io cvs server: Diffing diff/src/org/netbeans/modules/diff/builtin/visualizer cvs server: Diffing diff/src/org/netbeans/modules/diff/cmdline cvs server: Diffing diff/src/org/netbeans/modules/merge cvs server: Diffing diff/src/org/netbeans/modules/merge/builtin cvs server: Diffing diff/src/org/netbeans/modules/merge/builtin/visualizer cvs server: Diffing diff/src/org/netbeans/spi cvs server: Diffing diff/src/org/netbeans/spi/diff cvs server: Diffing diff/www cvs server: Diffing diff/www/doc cvs server: Diffing diff/www/plans cvs server: Diffing diff/www/qa cvs server: Diffing diff/www/qa/testspecs cvs server: Diffing diff/www/qa/testspecs/nb34 cvs server: Diffing diff/www/uispec cvs server: Diffing editor Index: editor/build.xml =================================================================== RCS file: /cvs/editor/build.xml,v retrieving revision 1.28 diff -u -r1.28 build.xml --- editor/build.xml 12 Sep 2002 11:02:40 -0000 1.28 +++ editor/build.xml 16 Oct 2002 04:50:12 -0000 @@ -30,9 +30,9 @@ - - - + + + Index: editor/manifest.mf =================================================================== RCS file: /cvs/editor/manifest.mf,v retrieving revision 1.46 diff -u -r1.46 manifest.mf --- editor/manifest.mf 9 Sep 2002 15:46:18 -0000 1.46 +++ editor/manifest.mf 16 Oct 2002 04:50:12 -0000 @@ -1,11 +1,12 @@ OpenIDE-Module: org.netbeans.modules.editor/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/editor/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/editor/EditorModule.class -OpenIDE-Module-Specification-Version: 1.11 +OpenIDE-Module-Specification-Version: 1.12 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/editor/resources/layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.2 -OpenIDE-Module-Module-Dependencies: org.netbeans.core/1 > 1.0 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.netbeans.core/1 > 1.0, org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager Class-Path: ext/nb-editor.jar Name: org/netbeans/modules/editor/java/JCUpdateAction.class cvs server: Diffing editor/demosrc cvs server: Diffing editor/demosrc/base cvs server: Diffing editor/demosrc/base/org cvs server: Diffing editor/demosrc/base/org/netbeans cvs server: Diffing editor/demosrc/base/org/netbeans/editor cvs server: Diffing editor/demosrc/base/org/netbeans/editor/example cvs server: Diffing editor/demosrc/base/org/netbeans/editor/example/res cvs server: Diffing editor/demosrc/properties-addon cvs server: Diffing editor/demosrc/properties-addon/org cvs server: Diffing editor/demosrc/properties-addon/org/netbeans cvs server: Diffing editor/demosrc/properties-addon/org/netbeans/editor cvs server: Diffing editor/demosrc/properties-addon/org/netbeans/editor/example cvs server: Diffing editor/demosrc/properties-addon/org/netbeans/editor/example/res cvs server: Diffing editor/libsrc cvs server: Diffing editor/libsrc/org cvs server: Diffing editor/libsrc/org/netbeans cvs server: Diffing editor/libsrc/org/netbeans/editor cvs server: Diffing editor/libsrc/org/netbeans/editor/ext cvs server: Diffing editor/libsrc/org/netbeans/editor/ext/html cvs server: Diffing editor/libsrc/org/netbeans/editor/ext/html/dtd cvs server: Diffing editor/libsrc/org/netbeans/editor/ext/java cvs server: Diffing editor/libsrc/org/netbeans/editor/ext/plain cvs server: Diffing editor/libsrc/org/netbeans/editor/resources cvs server: Diffing editor/release cvs server: Diffing editor/release/system cvs server: Diffing editor/release/system/ParserDB cvs server: Diffing editor/src cvs server: Diffing editor/src/org cvs server: Diffing editor/src/org/netbeans cvs server: Diffing editor/src/org/netbeans/modules cvs server: Diffing editor/src/org/netbeans/modules/editor cvs server: Diffing editor/src/org/netbeans/modules/editor/html cvs server: Diffing editor/src/org/netbeans/modules/editor/java cvs server: Diffing editor/src/org/netbeans/modules/editor/options cvs server: Diffing editor/src/org/netbeans/modules/editor/plain cvs server: Diffing editor/src/org/netbeans/modules/editor/resources cvs server: Diffing editor/src/org/netbeans/modules/editor/resources/AnnotationTypes cvs server: Diffing editor/src/org/netbeans/modules/editor/resources/DTDs cvs server: Diffing editor/src/org/netbeans/modules/editor/resources/DTDs/3_2 cvs server: Diffing editor/src/org/netbeans/modules/editor/resources/DTDs/4_0 cvs server: Diffing editor/src/org/netbeans/modules/editor/resources/DTDs/4_01 cvs server: Diffing editor/src/org/netbeans/modules/editor/resources/DTDs/Options cvs server: Diffing editor/src/org/netbeans/modules/editor/resources/XMLs cvs server: Diffing editor/test cvs server: Diffing editor/test/perf cvs server: Diffing editor/test/perf/src cvs server: Diffing editor/test/perf/src/org cvs server: Diffing editor/test/perf/src/org/netbeans cvs server: Diffing editor/test/perf/src/org/netbeans/modules cvs server: Diffing editor/test/perf/src/org/netbeans/modules/editor cvs server: Diffing editor/test/perf/src/org/netbeans/modules/editor/data cvs server: Diffing editor/test/qa-functional cvs server: Diffing editor/test/qa-functional/src cvs server: Diffing editor/test/qa-functional/src/org cvs server: Diffing editor/test/qa-functional/src/org/netbeans cvs server: Diffing editor/test/qa-functional/src/org/netbeans/jellytools cvs server: Diffing editor/test/qa-functional/src/org/netbeans/jellytools/modules cvs server: Diffing editor/test/qa-functional/src/org/netbeans/jellytools/modules/editor cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/app cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/app/core cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/app/gui cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/app/gui/data cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/app/tests cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/app/tests/data cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/app/tests/data/goldenfiles cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/app/tests/data/goldenfiles/AppTestPerformer cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/app/util cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/completion cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/completion/data cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/completion/data/goldenfiles cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/completion/data/goldenfiles/CompletionTestPerformer cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/completion/data/testfiles cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/completion/data/testfiles/CompletionTestPerformer cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/indentation cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/indentation/programmatic cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/indentation/programmatic/data cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/indentation/programmatic/data/goldenfiles cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/indentation/programmatic/data/goldenfiles/IndentCorePerformer cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/indentation/programmatic/data/testfiles cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/indentation/programmatic/data/testfiles/IndentCorePerformer cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/suites cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/suites/abbrevs cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/suites/abbrevs/data cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/suites/abbrevs/data/goldenfiles cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/suites/abbrevs/data/goldenfiles/AbbreviationsAddRemovePerformer cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/suites/abbrevs/data/goldenfiles/JavaAbbreviationsTestPerformer cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/suites/abbrevs/data/testfiles cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/suites/abbrevs/data/testfiles/AbbreviationsAddRemovePerformer cvs server: Diffing editor/test/qa-functional/src/org/netbeans/test/editor/suites/abbrevs/data/testfiles/JavaAbbreviationsTest cvs server: Diffing editor/www cvs server: Diffing editor/www/doc cvs server: Diffing editor/www/doc/CustomizeEditor cvs server: Diffing editor/www/doc/KeyboardIssues cvs server: Diffing editor/www/doc/Proposals cvs server: Diffing editor/www/doc/Proposals/Annotations cvs server: Diffing editor/www/doc/Proposals/Annotations/images cvs server: Diffing editor/www/doc/Proposals/Annotations/src cvs server: Diffing editor/www/doc/Proposals/CodeFolding cvs server: Diffing editor/www/doc/Proposals/Completion cvs server: Diffing editor/www/doc/Proposals/Indentation cvs server: Diffing editor/www/doc/Proposals/Lexer cvs server: Diffing editor/www/doc/Proposals/Lexer/design cvs server: Diffing editor/www/doc/Proposals/Lexer/src cvs server: Diffing editor/www/doc/Proposals/Toolbar cvs server: Diffing editor/www/doc/Proposals/Toolbar/images cvs server: Diffing editor/www/doc/Proposals/Tooltip cvs server: Diffing editor/www/doc/UserView cvs server: Diffing editor/www/doc/UserView/images cvs server: Diffing editor/www/images cvs server: Diffing editor/www/plans cvs server: Diffing editor/www/qa cvs server: Diffing editor/www/qa/testspecs cvs server: Diffing editor/www/qa/testspecs/nb34 cvs server: Diffing extbrowser Index: extbrowser/build.xml =================================================================== RCS file: /cvs/extbrowser/build.xml,v retrieving revision 1.24 diff -u -r1.24 build.xml --- extbrowser/build.xml 12 Sep 2002 11:02:41 -0000 1.24 +++ extbrowser/build.xml 16 Oct 2002 04:50:14 -0000 @@ -29,9 +29,8 @@ - - - + + Index: extbrowser/manifest.mf =================================================================== RCS file: /cvs/extbrowser/manifest.mf,v retrieving revision 1.16 diff -u -r1.16 manifest.mf --- extbrowser/manifest.mf 4 Oct 2002 13:42:50 -0000 1.16 +++ extbrowser/manifest.mf 16 Oct 2002 04:50:14 -0000 @@ -1,7 +1,9 @@ OpenIDE-Module: org.netbeans.modules.extbrowser/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/extbrowser/Bundle.properties OpenIDE-Module-Layer: org/netbeans/modules/extbrowser/resources/layer.xml -OpenIDE-Module-Specification-Version: 0.6 +OpenIDE-Module-Specification-Version: 0.7 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-Module-Dependencies: org.openide.deprecated > 1.0 cvs server: Diffing extbrowser/release cvs server: Diffing extbrowser/release/modules cvs server: Diffing extbrowser/release/modules/bin cvs server: Diffing extbrowser/release/sources cvs server: Diffing extbrowser/src cvs server: Diffing extbrowser/src/org cvs server: Diffing extbrowser/src/org/netbeans cvs server: Diffing extbrowser/src/org/netbeans/modules cvs server: Diffing extbrowser/src/org/netbeans/modules/extbrowser cvs server: Diffing extbrowser/src/org/netbeans/modules/extbrowser/resources cvs server: Diffing extbrowser/src/org/netbeans/modules/webclient cvs server: Diffing extbrowser/src/org/netbeans/modules/webclient/resources cvs server: Diffing extbrowser/test cvs server: Diffing extbrowser/test/unit cvs server: Diffing extbrowser/test/unit/src cvs server: Diffing extbrowser/test/unit/src/org cvs server: Diffing extbrowser/test/unit/src/org/netbeans cvs server: Diffing extbrowser/test/unit/src/org/netbeans/modules cvs server: Diffing extbrowser/test/unit/src/org/netbeans/modules/extbrowser cvs server: Diffing extbrowser/test/unit/src/org/netbeans/modules/extbrowser/data cvs server: Diffing extbrowser/webclient cvs server: Diffing extbrowser/www cvs server: Diffing extbrowser/www/doc cvs server: Diffing extbrowser/www/plans cvs server: Diffing form Index: form/build.xml =================================================================== RCS file: /cvs/form/build.xml,v retrieving revision 1.37 diff -u -r1.37 build.xml --- form/build.xml 12 Sep 2002 11:02:43 -0000 1.37 +++ form/build.xml 16 Oct 2002 04:50:14 -0000 @@ -31,9 +31,9 @@ - - - + + + Index: form/manifest.mf =================================================================== RCS file: /cvs/form/manifest.mf,v retrieving revision 1.50 diff -u -r1.50 manifest.mf --- form/manifest.mf 2 Aug 2002 18:50:59 -0000 1.50 +++ form/manifest.mf 16 Oct 2002 04:50:14 -0000 @@ -1,10 +1,11 @@ OpenIDE-Module: org.netbeans.modules.form/2 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/form/Bundle2.properties -OpenIDE-Module-Specification-Version: 1.9 +OpenIDE-Module-Specification-Version: 1.10 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Install: org/netbeans/modules/form/FormEditorModule.class -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.5 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1, org.netbeans.core/1 > 1.0 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1, org.netbeans.core/1 > 1.0, org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Layer: org/netbeans/modules/form/resources/layer.xml Class-Path: ext/AbsoluteLayout.jar cvs server: Diffing form/release cvs server: Diffing form/release/modules cvs server: Diffing form/release/modules/ext cvs server: Diffing form/release/sources cvs server: Diffing form/release/sources/org cvs server: Diffing form/release/sources/org/netbeans cvs server: Diffing form/release/sources/org/netbeans/lib cvs server: Diffing form/release/sources/org/netbeans/lib/awtextra cvs server: Diffing form/src cvs server: Diffing form/src/org cvs server: Diffing form/src/org/netbeans cvs server: Diffing form/src/org/netbeans/modules cvs server: Diffing form/src/org/netbeans/modules/form cvs server: Diffing form/src/org/netbeans/modules/form/actions cvs server: Diffing form/src/org/netbeans/modules/form/codestructure cvs server: Diffing form/src/org/netbeans/modules/form/editors cvs server: Diffing form/src/org/netbeans/modules/form/editors2 cvs server: Diffing form/src/org/netbeans/modules/form/fakepeer cvs server: Diffing form/src/org/netbeans/modules/form/forminfo cvs server: Diffing form/src/org/netbeans/modules/form/layoutsupport cvs server: Diffing form/src/org/netbeans/modules/form/layoutsupport/delegates cvs server: Diffing form/src/org/netbeans/modules/form/layoutsupport/resources cvs server: Diffing form/src/org/netbeans/modules/form/palette cvs server: Diffing form/src/org/netbeans/modules/form/resources cvs server: Diffing form/src/org/netbeans/modules/form/resources/components cvs server: Diffing form/src/org/netbeans/modules/form/resources/palette cvs server: Diffing form/src/org/netbeans/modules/form/resources/templates cvs server: Diffing form/src/org/netbeans/modules/form/resources/templates/AWTForms cvs server: Diffing form/src/org/netbeans/modules/form/resources/templates/Dialogs cvs server: Diffing form/src/org/netbeans/modules/form/resources/templates/SwingForms cvs server: Diffing form/src/org/netbeans/modules/form/resources/windowmanager cvs server: Diffing form/src/org/netbeans/modules/form/resources/windowmanager/Debugging cvs server: Diffing form/src/org/netbeans/modules/form/resources/windowmanager/Debugging/Form cvs server: Diffing form/src/org/netbeans/modules/form/resources/windowmanager/Editing cvs server: Diffing form/src/org/netbeans/modules/form/resources/windowmanager/Editing/Form cvs server: Diffing form/src/org/netbeans/modules/form/resources/windowmanager/Visual cvs server: Diffing form/src/org/netbeans/modules/form/resources/windowmanager/Visual/Form cvs server: Diffing form/src/org/netbeans/modules/form/resources/windowmanager/Visual/explorer cvs server: Diffing form/src/org/netbeans/modules/form/resources/windowmanager/Visual/output cvs server: Diffing form/src/org/netbeans/modules/form/resources/windowmanager/Visual/properties cvs server: Diffing form/src/org/netbeans/modules/form/util cvs server: Diffing form/test cvs server: Diffing form/test/qa-functional cvs server: Diffing form/test/qa-functional/src cvs server: Diffing form/test/qa-functional/src/data cvs server: Diffing form/test/qa-functional/src/formUtilities cvs server: Diffing form/test/qa-functional/src/org cvs server: Diffing form/test/qa-functional/src/org/netbeans cvs server: Diffing form/test/qa-functional/src/org/netbeans/qa cvs server: Diffing form/test/qa-functional/src/org/netbeans/qa/form cvs server: Diffing form/test/qa-functional/src/org/netbeans/qa/form/compatibility cvs server: Diffing form/test/qa-functional/src/org/netbeans/qa/form/undoredo cvs server: Diffing form/test/qa-functional/src/org/netbeans/qa/form/visualDevelopment cvs server: Diffing form/test/qa-functional/src/org/netbeans/qa/form/visualDevelopment/data cvs server: Diffing form/test/qa-functional/src/org/netbeans/qa/form/visualDevelopment/data/goldenfiles cvs server: Diffing form/test/qa-functional/src/org/netbeans/qa/form/visualDevelopment/data/goldenfiles/AddComponents_AWT cvs server: Diffing form/test/qa-functional/src/org/netbeans/qa/form/visualDevelopment/data/goldenfiles/AddComponents_SWING cvs server: Diffing form/test/qa-functional/src/undoredo cvs server: Diffing form/www cvs server: Diffing form/www/doc cvs server: Diffing form/www/doc/ComponentPalette cvs server: Diffing form/www/doc/UserView cvs server: Diffing form/www/doc/UserView/images cvs server: Diffing form/www/doc/design cvs server: Diffing form/www/doc/design/nb34 cvs server: Diffing form/www/doc/extending cvs server: Diffing form/www/plans cvs server: Diffing form/www/qa cvs server: Diffing form/www/qa/testspecs cvs server: Diffing form/www/qa/testspecs/nb34 cvs server: Diffing form/www/qa/testspecs/nb34/codeGeneration cvs server: Diffing form/www/qa/testspecs/nb34/componentInspector cvs server: Diffing form/www/qa/testspecs/nb34/componentPalette cvs server: Diffing form/www/qa/testspecs/nb34/formFileCompatibility cvs server: Diffing form/www/qa/testspecs/nb34/propertyEditors cvs server: Diffing form/www/qa/testspecs/nb34/visualDevelopment cvs server: Diffing form/www/qa/testspecs/nb34/window_configurable cvs server: Diffing html Index: html/build.xml =================================================================== RCS file: /cvs/html/build.xml,v retrieving revision 1.21 diff -u -r1.21 build.xml --- html/build.xml 22 May 2002 18:01:37 -0000 1.21 +++ html/build.xml 16 Oct 2002 04:50:16 -0000 @@ -28,9 +28,8 @@ - - - + + Index: html/manifest.mf =================================================================== RCS file: /cvs/html/manifest.mf,v retrieving revision 1.37 diff -u -r1.37 manifest.mf --- html/manifest.mf 2 Aug 2002 18:50:59 -0000 1.37 +++ html/manifest.mf 16 Oct 2002 04:50:16 -0000 @@ -1,8 +1,10 @@ OpenIDE-Module: org.netbeans.modules.html/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/html/Bundle.properties OpenIDE-Module-Layer: org/netbeans/modules/html/mf-layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.3 -OpenIDE-Module-Specification-Version: 1.10 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-Specification-Version: 1.11 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ Name: org/netbeans/modules/html/HtmlLoader.class cvs server: Diffing html/src cvs server: Diffing html/src/org cvs server: Diffing html/src/org/netbeans cvs server: Diffing html/src/org/netbeans/modules cvs server: Diffing html/src/org/netbeans/modules/html cvs server: Diffing html/src/org/netbeans/modules/html/templates cvs server: Diffing html/test cvs server: Diffing html/test/unit cvs server: Diffing html/test/unit/src cvs server: Diffing html/test/unit/src/org cvs server: Diffing html/test/unit/src/org/netbeans cvs server: Diffing html/test/unit/src/org/netbeans/modules cvs server: Diffing html/test/unit/src/org/netbeans/modules/html cvs server: Diffing html/www cvs server: Diffing html/www/doc cvs server: Diffing httpserver Index: httpserver/build.xml =================================================================== RCS file: /cvs/httpserver/build.xml,v retrieving revision 1.30 diff -u -r1.30 build.xml --- httpserver/build.xml 12 Sep 2002 11:02:44 -0000 1.30 +++ httpserver/build.xml 16 Oct 2002 04:50:16 -0000 @@ -27,9 +27,8 @@ - - - + + Index: httpserver/manifest.mf =================================================================== RCS file: /cvs/httpserver/manifest.mf,v retrieving revision 1.39 diff -u -r1.39 manifest.mf --- httpserver/manifest.mf 2 Aug 2002 18:50:59 -0000 1.39 +++ httpserver/manifest.mf 16 Oct 2002 04:50:16 -0000 @@ -2,11 +2,12 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/httpserver/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/httpserver/HttpServerModule.class OpenIDE-Module-Layer: org/netbeans/modules/httpserver/layer.xml -OpenIDE-Module-Specification-Version: 1.10 +OpenIDE-Module-Specification-Version: 1.11 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Provides: org.openide.util.HttpServer$Impl -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.servletapi/1 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.servletapi/1, org.openide.deprecated > 1.0 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Package-Dependencies: [org.apache.tomcat.core.Context] Class-Path: ext/webserver.jar cvs server: Diffing httpserver/external cvs server: Diffing httpserver/httpserver4 cvs server: Diffing httpserver/httpserver4/conf cvs server: Diffing httpserver/httpserver4/src cvs server: Diffing httpserver/httpserver4/src/org cvs server: Diffing httpserver/httpserver4/src/org/netbeans cvs server: Diffing httpserver/httpserver4/src/org/netbeans/modules cvs server: Diffing httpserver/httpserver4/src/org/netbeans/modules/httpserver cvs server: Diffing httpserver/servletapi cvs server: Diffing httpserver/servletapi/src cvs server: Diffing httpserver/servletapi/src/org cvs server: Diffing httpserver/servletapi/src/org/netbeans cvs server: Diffing httpserver/servletapi/src/org/netbeans/modules cvs server: Diffing httpserver/servletapi/src/org/netbeans/modules/servletapi cvs server: Diffing httpserver/src cvs server: Diffing httpserver/src/org cvs server: Diffing httpserver/src/org/netbeans cvs server: Diffing httpserver/src/org/netbeans/modules cvs server: Diffing httpserver/src/org/netbeans/modules/httpserver cvs server: Diffing httpserver/test cvs server: Diffing httpserver/test/unit cvs server: Diffing httpserver/test/unit/src cvs server: Diffing httpserver/test/unit/src/META-INF cvs server: Diffing httpserver/test/unit/src/org cvs server: Diffing httpserver/test/unit/src/org/netbeans cvs server: Diffing httpserver/test/unit/src/org/netbeans/modules cvs server: Diffing httpserver/test/unit/src/org/netbeans/modules/httpserver cvs server: Diffing httpserver/test/unit/src/org/netbeans/modules/servlettest cvs server: Diffing httpserver/test/unit/testfs cvs server: Diffing httpserver/test/unit/testfs/org cvs server: Diffing httpserver/test/unit/testfs/org/netbeans cvs server: Diffing httpserver/test/unit/testfs/org/netbeans/test cvs server: Diffing httpserver/test/unit/testfs/org/netbeans/test/httpserver cvs server: Diffing httpserver/test/unit/testfs/org/netbeans/test/httpserver/dir with spaces cvs server: Diffing httpserver/www cvs server: Diffing httpserver/www/doc cvs server: Diffing httpserver/www/plans cvs server: Diffing i18n Index: i18n/build.xml =================================================================== RCS file: /cvs/i18n/build.xml,v retrieving revision 1.38 diff -u -r1.38 build.xml --- i18n/build.xml 12 Sep 2002 11:02:50 -0000 1.38 +++ i18n/build.xml 16 Oct 2002 04:50:16 -0000 @@ -29,9 +29,9 @@ - - - + + + @@ -43,9 +43,8 @@ - - - + + Index: i18n/manifest-form.mf =================================================================== RCS file: /cvs/i18n/manifest-form.mf,v retrieving revision 1.13 diff -u -r1.13 manifest-form.mf --- i18n/manifest-form.mf 2 Aug 2002 18:51:00 -0000 1.13 +++ i18n/manifest-form.mf 16 Oct 2002 04:50:16 -0000 @@ -1,11 +1,13 @@ OpenIDE-Module: org.netbeans.modules.i18n.form/2 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/i18n/form/Bundle.properties -OpenIDE-Module-Specification-Version: 1.10 +OpenIDE-Module-Specification-Version: 1.11 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/i18n/form/I18nFormLayer.xml OpenIDE-Module-Install: org/netbeans/modules/i18n/form/I18nFormCrossModule.class -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.3 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.modules.i18n/1 > 1.9, - org.netbeans.modules.form/2 > 1.5 + org.netbeans.modules.form/2 > 1.5, + org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager Index: i18n/manifest.mf =================================================================== RCS file: /cvs/i18n/manifest.mf,v retrieving revision 1.47 diff -u -r1.47 manifest.mf --- i18n/manifest.mf 2 Aug 2002 18:51:00 -0000 1.47 +++ i18n/manifest.mf 16 Oct 2002 04:50:16 -0000 @@ -1,10 +1,12 @@ OpenIDE-Module: org.netbeans.modules.i18n/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/i18n/Bundle.properties -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.24 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.modules.properties/1, - org.netbeans.core/1 > 1.0 -OpenIDE-Module-Specification-Version: 1.11 + org.netbeans.core/1 > 1.0, + org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-Specification-Version: 1.12 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/i18n/Layer.xml OpenIDE-Module-Package-Dependencies: org.apache.regexp[RE] cvs server: Diffing i18n/src cvs server: Diffing i18n/src/META-INF cvs server: Diffing i18n/src/META-INF/netbeans cvs server: Diffing i18n/src/org cvs server: Diffing i18n/src/org/netbeans cvs server: Diffing i18n/src/org/netbeans/modules cvs server: Diffing i18n/src/org/netbeans/modules/i18n cvs server: Diffing i18n/src/org/netbeans/modules/i18n/form cvs server: Diffing i18n/src/org/netbeans/modules/i18n/java cvs server: Diffing i18n/src/org/netbeans/modules/i18n/jsp cvs server: Diffing i18n/src/org/netbeans/modules/i18n/wizard cvs server: Diffing i18n/test cvs server: Diffing i18n/test/qa-functional cvs server: Diffing i18n/test/qa-functional/src cvs server: Diffing i18n/test/qa-functional/src/jemmyI18NWizard cvs server: Diffing i18n/test/qa-functional/src/jemmyI18NWizard/data cvs server: Diffing i18n/test/qa-functional/src/jemmyI18NWizard/data/goldenfiles cvs server: Diffing i18n/test/qa-functional/src/jemmyI18NWizard/data/goldenfiles/BasicTest cvs server: Diffing i18n/test/qa-functional/src/jemmyI18NWizard/wizardSupport cvs server: Diffing i18n/www cvs server: Diffing i18n/www/doc cvs server: Diffing i18n/www/doc/faq cvs server: Diffing i18n/www/doc/screenshots cvs server: Diffing i18n/www/doc/screenshots/release31 cvs server: Diffing i18n/www/doc/screenshots/release32 cvs server: Diffing i18n/www/plans cvs server: Diffing i18n/www/proposals cvs server: Diffing i18n/www/proposals/options_customizer cvs server: Diffing i18n/www/qa cvs server: Diffing i18n/www/qa/testspecs cvs server: Diffing i18n/www/qa/testspecs/nb34 cvs server: Diffing image Index: image/build.xml =================================================================== RCS file: /cvs/image/build.xml,v retrieving revision 1.22 diff -u -r1.22 build.xml --- image/build.xml 22 May 2002 18:01:39 -0000 1.22 +++ image/build.xml 16 Oct 2002 04:50:16 -0000 @@ -27,9 +27,8 @@ - - - + + Index: image/manifest.mf =================================================================== RCS file: /cvs/image/manifest.mf,v retrieving revision 1.32 diff -u -r1.32 manifest.mf --- image/manifest.mf 7 Aug 2002 11:33:32 -0000 1.32 +++ image/manifest.mf 16 Oct 2002 04:50:16 -0000 @@ -1,7 +1,9 @@ OpenIDE-Module: org.netbeans.modules.image/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/image/Bundle.properties -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.24 -OpenIDE-Module-Specification-Version: 1.9 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-Specification-Version: 1.10 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/image/Layer.xml cvs server: Diffing image/src cvs server: Diffing image/src/META-INF cvs server: Diffing image/src/META-INF/netbeans cvs server: Diffing image/src/org cvs server: Diffing image/src/org/netbeans cvs server: Diffing image/src/org/netbeans/modules cvs server: Diffing image/src/org/netbeans/modules/image cvs server: Diffing image/www cvs server: Diffing image/www/doc cvs server: Diffing image/www/doc/screenshots cvs server: Diffing image/www/doc/screenshots/release32 cvs server: Diffing image/www/plans cvs server: Diffing image/www/qa cvs server: Diffing image/www/qa/testspecs cvs server: Diffing image/www/qa/testspecs/nb34 cvs server: Diffing j2eeserver Index: j2eeserver/build.xml =================================================================== RCS file: /cvs/j2eeserver/build.xml,v retrieving revision 1.19 diff -u -r1.19 build.xml --- j2eeserver/build.xml 12 Sep 2002 11:02:51 -0000 1.19 +++ j2eeserver/build.xml 16 Oct 2002 04:50:16 -0000 @@ -163,9 +163,9 @@ - - - + + + + Index: jarpackager/manifest.mf =================================================================== RCS file: /cvs/jarpackager/manifest.mf,v retrieving revision 1.51 diff -u -r1.51 manifest.mf --- jarpackager/manifest.mf 2 Aug 2002 18:51:01 -0000 1.51 +++ jarpackager/manifest.mf 16 Oct 2002 04:50:17 -0000 @@ -1,8 +1,10 @@ OpenIDE-Module: org.netbeans.modules.jarpackager/2 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/jarpackager/Bundle.properties -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.5 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Package-Dependencies: org.apache.regexp[RE] -OpenIDE-Module-Specification-Version: 1.11 +OpenIDE-Module-Specification-Version: 1.12 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/jarpackager/resources/mf-layer.xml cvs server: Diffing jarpackager/newapis cvs server: Diffing jarpackager/newapis/javadoc cvs server: Diffing jarpackager/newapis/javadoc/org cvs server: Diffing jarpackager/newapis/javadoc/org/netbeans cvs server: Diffing jarpackager/newapis/javadoc/org/netbeans/modules cvs server: Diffing jarpackager/newapis/javadoc/org/netbeans/modules/jarpackager cvs server: Diffing jarpackager/newapis/javadoc/org/netbeans/modules/jarpackager/api cvs server: Diffing jarpackager/src cvs server: Diffing jarpackager/src/org cvs server: Diffing jarpackager/src/org/netbeans cvs server: Diffing jarpackager/src/org/netbeans/modules cvs server: Diffing jarpackager/src/org/netbeans/modules/jarpackager cvs server: Diffing jarpackager/src/org/netbeans/modules/jarpackager/actions cvs server: Diffing jarpackager/src/org/netbeans/modules/jarpackager/api cvs server: Diffing jarpackager/src/org/netbeans/modules/jarpackager/filesystem cvs server: Diffing jarpackager/src/org/netbeans/modules/jarpackager/options cvs server: Diffing jarpackager/src/org/netbeans/modules/jarpackager/resources cvs server: Diffing jarpackager/src/org/netbeans/modules/jarpackager/resources/templates cvs server: Diffing jarpackager/src/org/netbeans/modules/jarpackager/util cvs server: Diffing jarpackager/src/org/netbeans/modules/jarpackager/wizard cvs server: Diffing jarpackager/test cvs server: Diffing jarpackager/test/qa-functional cvs server: Diffing jarpackager/test/qa-functional/src cvs server: Diffing jarpackager/test/qa-functional/src/data cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/AWTForms cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/AntProjects cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/Beans cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/Classes cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/J2EE cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/JSP cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/JSP/WEB-INF cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/Other cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/RMI cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/RMISockets cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/SampleForms cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/SwingForms cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/WebServices cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/XML cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/application/dbpackage cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/autotests cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/autotests/Test15 cvs server: Diffing jarpackager/test/qa-functional/src/data/scratchpad/qa/autotests/Test32 cvs server: Diffing jarpackager/test/qa-functional/src/qa cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test1 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test10 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test11 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test12 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test13 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test14 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test15 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test2 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test22 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test23 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test24 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test25 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test26 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test27 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test28 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test29 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test3 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test30 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test31 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test32 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test4 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test5 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test6 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test7 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test8 cvs server: Diffing jarpackager/test/qa-functional/src/qa/Test9 cvs server: Diffing jarpackager/testbase cvs server: Diffing jarpackager/testbase/files cvs server: Diffing jarpackager/testbase/files/subdir cvs server: Diffing jarpackager/testbase/scripts cvs server: Diffing jarpackager/tojar cvs server: Diffing jarpackager/tojar/org cvs server: Diffing jarpackager/tojar/org/netbeans cvs server: Diffing jarpackager/tojar/org/netbeans/modules cvs server: Diffing jarpackager/tojar/org/netbeans/modules/jarpackager cvs server: Diffing jarpackager/tojar/org/netbeans/modules/jarpackager/toinstall cvs server: Diffing jarpackager/tojar/org/netbeans/modules/jarpackager/toinstall/templates.jar cvs server: Diffing jarpackager/tojar/org/netbeans/modules/jarpackager/toinstall/templates.jar/Other cvs server: Diffing jarpackager/www cvs server: Diffing jarpackager/www/doc cvs server: Diffing jarpackager/www/images cvs server: Diffing jarpackager/www/plans cvs server: Diffing jarpackager/www/qa cvs server: Diffing jarpackager/www/qa/testspecs cvs server: Diffing jarpackager/www/qa/testspecs/nb34 cvs server: Diffing jarpackager/www/qa/testspecs/nb34/images cvs server: Diffing java Index: java/build.xml =================================================================== RCS file: /cvs/java/build.xml,v retrieving revision 1.44 diff -u -r1.44 build.xml --- java/build.xml 12 Sep 2002 11:02:52 -0000 1.44 +++ java/build.xml 16 Oct 2002 04:50:18 -0000 @@ -42,6 +42,8 @@ + + @@ -93,11 +95,11 @@ - + - + - + Index: java/manifest.mf =================================================================== RCS file: /cvs/java/manifest.mf,v retrieving revision 1.62 diff -u -r1.62 manifest.mf --- java/manifest.mf 12 Sep 2002 11:02:52 -0000 1.62 +++ java/manifest.mf 16 Oct 2002 04:50:18 -0000 @@ -3,7 +3,8 @@ OpenIDE-Module-Install: org/netbeans/modules/java/JavaModule.class OpenIDE-Module-Layer: org/netbeans/modules/java/resources/mf-layer.xml OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.12 -OpenIDE-Module-Module-Dependencies: org.netbeans.api.java/1,org.netbeans.modules.classfile/1 +OpenIDE-Module-Module-Dependencies: org.netbeans.api.java/1,org.netbeans.modules.classfile/1, org.openide.src > 1.0, org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Specification-Version: 1.12 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Package-Dependencies: [org.netbeans.modules.java.gj.JavaCompilerType], [org.netbeans.lib.javac.Main], org.apache.regexp[RE], [com.sun.tools.javamake.Main] cvs server: Diffing java/api cvs server: Diffing java/api/doc cvs server: Diffing java/api/doc/changes cvs server: Diffing java/api/doc/doc-files cvs server: Diffing java/api/doc/external cvs server: Diffing java/api/doc/external/jdk cvs server: Diffing java/api/doc/external/openide cvs server: Diffing java/api/doc/org cvs server: Diffing java/api/doc/org/netbeans cvs server: Diffing java/api/doc/org/netbeans/api cvs server: Diffing java/api/doc/org/netbeans/api/java cvs server: Diffing java/api/doc/org/netbeans/api/java/classpath cvs server: Diffing java/api/src cvs server: Diffing java/api/src/org cvs server: Diffing java/api/src/org/netbeans cvs server: Diffing java/api/src/org/netbeans/api cvs server: Diffing java/api/src/org/netbeans/api/java cvs server: Diffing java/api/src/org/netbeans/api/java/classpath cvs server: Diffing java/external cvs server: Diffing java/src cvs server: Diffing java/src/org cvs server: Diffing java/src/org/netbeans cvs server: Diffing java/src/org/netbeans/api cvs server: Diffing java/src/org/netbeans/api/java cvs server: Diffing java/src/org/netbeans/api/java/comparators cvs server: Diffing java/src/org/netbeans/modules cvs server: Diffing java/src/org/netbeans/modules/java cvs server: Diffing java/src/org/netbeans/modules/java/codegen cvs server: Diffing java/src/org/netbeans/modules/java/codesync cvs server: Diffing java/src/org/netbeans/modules/java/environment cvs server: Diffing java/src/org/netbeans/modules/java/imptool cvs server: Diffing java/src/org/netbeans/modules/java/model cvs server: Diffing java/src/org/netbeans/modules/java/parser cvs server: Diffing java/src/org/netbeans/modules/java/resources Index: java/src/org/netbeans/modules/java/resources/mf-layer.xml =================================================================== RCS file: /cvs/java/src/org/netbeans/modules/java/resources/mf-layer.xml,v retrieving revision 1.32 diff -u -r1.32 mf-layer.xml --- java/src/org/netbeans/modules/java/resources/mf-layer.xml 5 Jun 2002 12:02:10 -0000 1.32 +++ java/src/org/netbeans/modules/java/resources/mf-layer.xml 16 Oct 2002 04:50:18 -0000 @@ -238,7 +238,7 @@ + urlvalue="nbresloc:/org/openide/src/resources/class.gif"/> Index: javacvs/manifest.mf =================================================================== RCS file: /cvs/javacvs/manifest.mf,v retrieving revision 1.23 diff -u -r1.23 manifest.mf --- javacvs/manifest.mf 2 Aug 2002 18:51:02 -0000 1.23 +++ javacvs/manifest.mf 16 Oct 2002 04:50:25 -0000 @@ -4,7 +4,8 @@ OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/cvsclient/layer.xml OpenIDE-Module-Install: org/netbeans/modules/cvsclient/JavaCvsModuleInstall.class -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.5 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.vcscore/1,org.netbeans.modules.diff/1 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.vcscore/1,org.netbeans.modules.diff/1, org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager Class-Path: ext/cvslib.jar cvs server: Diffing javacvs/changelog cvs server: Diffing javacvs/changelog/src cvs server: Diffing javacvs/changelog/src/org cvs server: Diffing javacvs/changelog/src/org/netbeans cvs server: Diffing javacvs/changelog/src/org/netbeans/modules cvs server: Diffing javacvs/changelog/src/org/netbeans/modules/changelog cvs server: Diffing javacvs/changelog/src/org/netbeans/modules/changelog/html cvs server: Diffing javacvs/changelog/src/org/netbeans/modules/changelog/resources cvs server: Diffing javacvs/changelog/src/org/netbeans/modules/changelog/settings cvs server: Diffing javacvs/changelog/src/org/netbeans/modules/changelog/wizard cvs server: Diffing javacvs/libsrc cvs server: Diffing javacvs/libsrc/org cvs server: Diffing javacvs/libsrc/org/netbeans cvs server: Diffing javacvs/libsrc/org/netbeans/lib cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/admin cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/add cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/annotate cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/checkout cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/commit cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/diff cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/edit cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/editors cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/export cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/history cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/importcmd cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/log cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/remove cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/status cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/tag cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/unedit cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/update cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/watch cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/command/watchers cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/commandLine cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/commandLine/command cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/connection cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/event cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/file cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/request cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/response cvs server: Diffing javacvs/libsrc/org/netbeans/lib/cvsclient/util cvs server: Diffing javacvs/src cvs server: Diffing javacvs/src/org cvs server: Diffing javacvs/src/org/netbeans cvs server: Diffing javacvs/src/org/netbeans/modules cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/actions cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/caching cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/add cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/annotate cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/checkout cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/commit cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/diff cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/grouping cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/log cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/remove cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/status cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/tag cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/commands/update cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/customizer cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/editors cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/login cvs server: Diffing javacvs/src/org/netbeans/modules/cvsclient/versioning cvs server: Diffing javacvs/src/org/netbeans/modules/javacvs cvs server: Diffing javacvs/src/org/netbeans/modules/javacvs/caching cvs server: Diffing javacvs/src/org/netbeans/modules/javacvs/commands cvs server: Diffing javacvs/src/org/netbeans/modules/javacvs/customizers cvs server: Diffing javacvs/src/org/netbeans/modules/javacvs/editors cvs server: Diffing javacvs/src/org/netbeans/modules/javacvs/events cvs server: Diffing javacvs/src/org/netbeans/modules/javacvs/passwd cvs server: Diffing javacvs/src/org/netbeans/modules/javacvs/resources cvs server: Diffing javacvs/src/org/netbeans/modules/javacvs/util cvs server: Diffing javacvs/test cvs server: Diffing javacvs/test/qa-functional cvs server: Diffing javacvs/test/qa-functional/src cvs server: Diffing javacvs/test/qa-functional/src/validation cvs server: Diffing javacvs/www cvs server: Diffing javacvs/www/changelog cvs server: Diffing javacvs/www/doc cvs server: Diffing javacvs/www/library cvs server: Diffing javacvs/www/plans cvs server: Diffing javacvs/www/qa cvs server: Diffing javacvs/www/qa/testspecs cvs server: Diffing javacvs/www/qa/testspecs/nb34 cvs server: Diffing javacvs/www/qa/testspecs/nb34/dwnlds cvs server: Diffing javacvs/www/qa/testspecs/nb34/pic cvs server: Diffing javadoc Index: javadoc/build.xml =================================================================== RCS file: /cvs/javadoc/build.xml,v retrieving revision 1.29 diff -u -r1.29 build.xml --- javadoc/build.xml 24 Sep 2002 14:40:16 -0000 1.29 +++ javadoc/build.xml 16 Oct 2002 04:50:27 -0000 @@ -27,9 +27,9 @@ - - - + + + Index: javadoc/manifest.mf =================================================================== RCS file: /cvs/javadoc/manifest.mf,v retrieving revision 1.52 diff -u -r1.52 manifest.mf --- javadoc/manifest.mf 24 Sep 2002 14:40:17 -0000 1.52 +++ javadoc/manifest.mf 16 Oct 2002 04:50:27 -0000 @@ -2,11 +2,12 @@ OpenIDE-Module: org.netbeans.modules.javadoc/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/javadoc/Bundle.properties OpenIDE-Module-Layer: org/netbeans/modules/javadoc/resources/mf-layer.xml -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1 > 1.7 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1 > 1.7, org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Package-Dependencies: org.apache.regexp[RE] -OpenIDE-Module-Specification-Version: 1.9 +OpenIDE-Module-Specification-Version: 1.10 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.12 Name: org/netbeans/modules/javadoc/GenerateDocAction.class OpenIDE-Module-Class: Action cvs server: Diffing javadoc/httpfs cvs server: Diffing javadoc/src cvs server: Diffing javadoc/src/org cvs server: Diffing javadoc/src/org/netbeans cvs server: Diffing javadoc/src/org/netbeans/modules cvs server: Diffing javadoc/src/org/netbeans/modules/javadoc cvs server: Diffing javadoc/src/org/netbeans/modules/javadoc/comments cvs server: Diffing javadoc/src/org/netbeans/modules/javadoc/comments/resources cvs server: Diffing javadoc/src/org/netbeans/modules/javadoc/httpfs cvs server: Diffing javadoc/src/org/netbeans/modules/javadoc/httpfs/resources cvs server: Diffing javadoc/src/org/netbeans/modules/javadoc/resources cvs server: Diffing javadoc/src/org/netbeans/modules/javadoc/search cvs server: Diffing javadoc/src/org/netbeans/modules/javadoc/search/environment cvs server: Diffing javadoc/src/org/netbeans/modules/javadoc/settings cvs server: Diffing javadoc/www cvs server: Diffing javadoc/www/DeveloperView cvs server: Diffing javadoc/www/DeveloperView/Images cvs server: Diffing javadoc/www/Images cvs server: Diffing javadoc/www/Proposals cvs server: Diffing javadoc/www/Proposals/images cvs server: Diffing javadoc/www/Requirements cvs server: Diffing javadoc/www/Test cvs server: Diffing javadoc/www/UserView cvs server: Diffing javadoc/www/UserView/Images cvs server: Diffing javadoc/www/plans cvs server: Diffing javadoc/www/qa cvs server: Diffing javadoc/www/qa/testspecs cvs server: Diffing javadoc/www/qa/testspecs/nb34 cvs server: Diffing jndi Index: jndi/build.xml =================================================================== RCS file: /cvs/jndi/build.xml,v retrieving revision 1.33 diff -u -r1.33 build.xml --- jndi/build.xml 12 Sep 2002 11:03:16 -0000 1.33 +++ jndi/build.xml 16 Oct 2002 04:50:28 -0000 @@ -36,10 +36,8 @@ - - - - + + Index: jndi/manifest.mf =================================================================== RCS file: /cvs/jndi/manifest.mf,v retrieving revision 1.43 diff -u -r1.43 manifest.mf --- jndi/manifest.mf 2 Aug 2002 18:51:03 -0000 1.43 +++ jndi/manifest.mf 16 Oct 2002 04:50:28 -0000 @@ -1,10 +1,11 @@ OpenIDE-Module: org.netbeans.modules.jndi/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/jndi/Bundle.properties OpenIDE-Module-Layer: org/netbeans/modules/jndi/resources/mf-layer.xml -OpenIDE-Module-Specification-Version: 1.6 +OpenIDE-Module-Specification-Version: 1.7 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.3 +OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help, org.openide.TopManager +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.openide.deprecated > 1.0 OpenIDE-Module-Package-Dependencies: javax.naming[Context] Class-Path: docs/jndi.jar cvs server: Diffing jndi/doc cvs server: Diffing jndi/javahelp cvs server: Diffing jndi/javahelp/org cvs server: Diffing jndi/javahelp/org/netbeans cvs server: Diffing jndi/javahelp/org/netbeans/modules cvs server: Diffing jndi/javahelp/org/netbeans/modules/jndi cvs server: Diffing jndi/javahelp/org/netbeans/modules/jndi/docs cvs server: Diffing jndi/javahelp/org/netbeans/modules/jndi/docs/concepts cvs server: Diffing jndi/javahelp/org/netbeans/modules/jndi/docs/images cvs server: Diffing jndi/javahelp/org/netbeans/modules/jndi/docs/jndibrowser cvs server: Diffing jndi/javahelp/org/netbeans/modules/jndi/docs/settings cvs server: Diffing jndi/src cvs server: Diffing jndi/src/org cvs server: Diffing jndi/src/org/netbeans cvs server: Diffing jndi/src/org/netbeans/modules cvs server: Diffing jndi/src/org/netbeans/modules/jndi cvs server: Diffing jndi/src/org/netbeans/modules/jndi/gui cvs server: Diffing jndi/src/org/netbeans/modules/jndi/resources cvs server: Diffing jndi/src/org/netbeans/modules/jndi/resources/providers cvs server: Diffing jndi/src/org/netbeans/modules/jndi/settings cvs server: Diffing jndi/src/org/netbeans/modules/jndi/spi cvs server: Diffing jndi/src/org/netbeans/modules/jndi/utils cvs server: Diffing jndi/test cvs server: Diffing jndi/test/qa-functional cvs server: Diffing jndi/test/qa-functional/src cvs server: Diffing jndi/test/qa-functional/src/a11y cvs server: Diffing jndi/test/qa-functional/src/a11y/data cvs server: Diffing jndi/test/qa-functional/src/a11y/data/goldenfiles cvs server: Diffing jndi/test/qa-functional/src/a11y/data/goldenfiles/Main cvs server: Diffing jndi/test/qa-functional/src/basic cvs server: Diffing jndi/test/qa-functional/src/basic/JNDITest cvs server: Diffing jndi/test/qa-functional/src/basic/JNDITest/data cvs server: Diffing jndi/test/qa-functional/src/basic/JNDITest/data/goldenfiles cvs server: Diffing jndi/test/qa-functional/src/basic/JNDITest/data/goldenfiles/JNDITest cvs server: Diffing jndi/test/qa-functional/src/gui cvs server: Diffing jndi/test/qa-functional/src/gui/RefFSTest cvs server: Diffing jndi/test/qa-functional/src/gui/RefFSTest/data cvs server: Diffing jndi/test/qa-functional/src/gui/RefFSTest/data/goldenfiles cvs server: Diffing jndi/test/qa-functional/src/gui/RefFSTest/data/goldenfiles/RefFSTest cvs server: Diffing jndi/test/qa-functional/src/org cvs server: Diffing jndi/test/qa-functional/src/org/netbeans cvs server: Diffing jndi/test/qa-functional/src/org/netbeans/jellytools cvs server: Diffing jndi/test/qa-functional/src/org/netbeans/jellytools/modules cvs server: Diffing jndi/test/qa-functional/src/org/netbeans/jellytools/modules/jndi cvs server: Diffing jndi/test/qa-functional/src/org/netbeans/jellytools/modules/jndi/actions cvs server: Diffing jndi/test/qa-functional/src/org/netbeans/jellytools/modules/jndi/nodes cvs server: Diffing jndi/test/qa-functional/src/providers cvs server: Diffing jndi/test/qa-functional/src/providers/CNSTest cvs server: Diffing jndi/test/qa-functional/src/providers/CNSTest/CNSBinding cvs server: Diffing jndi/test/qa-functional/src/providers/CNSTest/data cvs server: Diffing jndi/test/qa-functional/src/providers/CNSTest/data/goldenfiles cvs server: Diffing jndi/test/qa-functional/src/providers/CNSTest/data/goldenfiles/CNSTest cvs server: Diffing jndi/test/qa-functional/src/providers/LDAPTest cvs server: Diffing jndi/test/qa-functional/src/providers/LDAPTest/data cvs server: Diffing jndi/test/qa-functional/src/providers/LDAPTest/data/goldenfiles cvs server: Diffing jndi/test/qa-functional/src/providers/LDAPTest/data/goldenfiles/LDAPTest cvs server: Diffing jndi/test/qa-functional/src/providers/NISTest cvs server: Diffing jndi/test/qa-functional/src/providers/NISTest/data cvs server: Diffing jndi/test/qa-functional/src/providers/NISTest/data/goldenfiles cvs server: Diffing jndi/test/qa-functional/src/providers/NISTest/data/goldenfiles/NISTest cvs server: Diffing jndi/test/qa-functional/src/providers/RefFSTest cvs server: Diffing jndi/test/qa-functional/src/providers/RefFSTest/data cvs server: Diffing jndi/test/qa-functional/src/providers/RefFSTest/data/goldenfiles cvs server: Diffing jndi/test/qa-functional/src/providers/RefFSTest/data/goldenfiles/RefFSTest cvs server: Diffing jndi/test/qa-functional/src/providers/RegistryTest cvs server: Diffing jndi/test/qa-functional/src/providers/RegistryTest/data cvs server: Diffing jndi/test/qa-functional/src/providers/RegistryTest/data/goldenfiles cvs server: Diffing jndi/test/qa-functional/src/providers/RegistryTest/data/goldenfiles/RegistryTest cvs server: Diffing jndi/test/qa-functional/src/suite cvs server: Diffing jndi/test/site-specific cvs server: Diffing jndi/tojar cvs server: Diffing jndi/tojar/org cvs server: Diffing jndi/tojar/org/netbeans cvs server: Diffing jndi/tojar/org/netbeans/modules cvs server: Diffing jndi/tojar/org/netbeans/modules/jndi cvs server: Diffing jndi/tojar/org/netbeans/modules/jndi/templates cvs server: Diffing jndi/tojar/org/netbeans/modules/jndi/templates/impls.jar cvs server: Diffing jndi/www cvs server: Diffing jndi/www/doc cvs server: Diffing jndi/www/images cvs server: Diffing jndi/www/qa cvs server: Diffing jndi/www/qa/testspecs cvs server: Diffing jndi/www/qa/testspecs/nb34 cvs server: Diffing junit Index: junit/build.xml =================================================================== RCS file: /cvs/junit/build.xml,v retrieving revision 1.18 diff -u -r1.18 build.xml --- junit/build.xml 12 Sep 2002 11:03:17 -0000 1.18 +++ junit/build.xml 16 Oct 2002 04:50:29 -0000 @@ -92,6 +92,9 @@ + + + cvs server: Diffing junit/external cvs server: Diffing junit/javahelp cvs server: Diffing junit/javahelp/org cvs server: Diffing junit/javahelp/org/netbeans cvs server: Diffing junit/javahelp/org/netbeans/modules cvs server: Diffing junit/javahelp/org/netbeans/modules/junit cvs server: Diffing junit/javahelp/org/netbeans/modules/junit/docs cvs server: Diffing junit/javahelp/org/netbeans/modules/junit/docs/images cvs server: Diffing junit/parserdb cvs server: Diffing junit/src cvs server: Diffing junit/src/org cvs server: Diffing junit/src/org/netbeans cvs server: Diffing junit/src/org/netbeans/junit Index: junit/src/org/netbeans/junit/NbTestRunner.java =================================================================== RCS file: /cvs/junit/src/org/netbeans/junit/NbTestRunner.java,v retrieving revision 1.1 diff -u -r1.1 NbTestRunner.java --- junit/src/org/netbeans/junit/NbTestRunner.java 19 Jul 2002 14:43:46 -0000 1.1 +++ junit/src/org/netbeans/junit/NbTestRunner.java 16 Oct 2002 04:50:29 -0000 @@ -18,13 +18,14 @@ package org.netbeans.junit; -import org.openide.TopManager; - import junit.framework.*; import junit.runner.*; import java.util.*; import java.io.*; +import java.security.*; + +import org.openide.execution.NbClassLoader; /** * @@ -146,7 +147,7 @@ public Class load(String suiteClassName) throws ClassNotFoundException { Class clazz; if (null != System.getProperty("netbeans.home")) { - clazz = TopManager.getDefault().currentClassLoader().loadClass(suiteClassName); + clazz = new NbLoader().loadClass(suiteClassName); } else { clazz = Class.forName(suiteClassName); @@ -313,4 +314,22 @@ println("\tErrors: " + result.errorCount()); println("\tElapsed time: " + elapsedTimeAsString(time)); } + + /** Adaptation of old org.netbeans.core.ClassLoaderSupport (= currentClassLoader). + * @deprecated this will be broken by Projects, Classpath API + */ + public static class NbLoader extends NbClassLoader { + public NbLoader() { + setDefaultPermissions(getAllPermissions()); + } + private static PermissionCollection allPermission; + static synchronized PermissionCollection getAllPermissions() { + if (allPermission == null) { + allPermission = new Permissions(); + allPermission.add(new AllPermission()); + } + return allPermission; + } + } + } cvs server: Diffing junit/src/org/netbeans/junit/diff cvs server: Diffing junit/src/org/netbeans/modules cvs server: Diffing junit/src/org/netbeans/modules/junit cvs server: Diffing junit/src/org/netbeans/modules/junit/resources cvs server: Diffing junit/src/org/netbeans/modules/junit/resources/templates cvs server: Diffing junit/test cvs server: Diffing junit/test/function cvs server: Diffing junit/test/function/lib cvs server: Diffing junit/test/function/src cvs server: Diffing junit/test/function/src/org cvs server: Diffing junit/test/function/src/org/netbeans cvs server: Diffing junit/test/function/src/org/netbeans/modules cvs server: Diffing junit/test/function/src/org/netbeans/modules/junit cvs server: Diffing junit/www cvs server: Diffing junit/www/Images cvs server: Diffing junit/www/download cvs server: Diffing junit/www/nbjunit-javadoc cvs server: Diffing junit/www/nbjunit-javadoc/org cvs server: Diffing junit/www/nbjunit-javadoc/org/netbeans cvs server: Diffing junit/www/nbjunit-javadoc/org/netbeans/junit cvs server: Diffing junit/www/nbjunit-javadoc/org/netbeans/junit/diff cvs server: Diffing libs cvs server: Diffing libs/external cvs server: Diffing libs/jaxp cvs server: Diffing libs/jaxp/src cvs server: Diffing libs/jaxp/src/org cvs server: Diffing libs/jaxp/src/org/netbeans cvs server: Diffing libs/jaxp/src/org/netbeans/libs cvs server: Diffing libs/jaxp/src/org/netbeans/libs/jaxp cvs server: Diffing libs/www cvs server: Diffing libs/www/plans cvs server: Diffing libs/www/template cvs server: Diffing libs/xalan cvs server: Diffing libs/xalan/src cvs server: Diffing libs/xalan/src/org cvs server: Diffing libs/xalan/src/org/netbeans cvs server: Diffing libs/xalan/src/org/netbeans/libs cvs server: Diffing libs/xalan/src/org/netbeans/libs/xalan cvs server: Diffing libs/xerces cvs server: Diffing libs/xerces/src cvs server: Diffing libs/xerces/src/org cvs server: Diffing libs/xerces/src/org/netbeans cvs server: Diffing libs/xerces/src/org/netbeans/libs cvs server: Diffing libs/xerces/src/org/netbeans/libs/xerces cvs server: Diffing nbbuild Index: nbbuild/build.properties =================================================================== RCS file: /cvs/nbbuild/build.properties,v retrieving revision 1.41 diff -u -r1.41 build.properties --- nbbuild/build.properties 11 Oct 2002 09:02:58 -0000 1.41 +++ nbbuild/build.properties 16 Oct 2002 04:50:30 -0000 @@ -35,8 +35,11 @@ # root of the source tree, separated by commas. moduleconfig=stable +# XXX remove */deprecated when autoupdate no longer requires them config.fixedmodules.platform=core, \ openide, \ + openide/deprecated, \ + core/deprecated, \ core/ui, \ core/windows config.modules.platform=autoupdate, \ @@ -44,6 +47,9 @@ config.fixedmodules.superslim=core, \ openide, \ + openide/deprecated, \ + core/deprecated, \ + java/srcmodel, \ core/javahelp, \ core/compiler, \ core/execution, \ Index: nbbuild/build.xml =================================================================== RCS file: /cvs/nbbuild/build.xml,v retrieving revision 1.243 diff -u -r1.243 build.xml --- nbbuild/build.xml 8 Oct 2002 05:44:01 -0000 1.243 +++ nbbuild/build.xml 16 Oct 2002 04:50:30 -0000 @@ -133,15 +133,27 @@ - + + + + + + + + + + + + + - + - + @@ -171,7 +183,7 @@ - + @@ -179,7 +191,7 @@ - + @@ -188,23 +200,23 @@ - + - + - + - + - + @@ -216,7 +228,7 @@ - + @@ -224,11 +236,11 @@ - + - + @@ -237,15 +249,15 @@ - + - + - + @@ -254,7 +266,7 @@ - + @@ -262,11 +274,11 @@ - + - + @@ -274,7 +286,7 @@ - + @@ -286,7 +298,7 @@ - + @@ -294,7 +306,7 @@ - + @@ -302,11 +314,11 @@ - + - + @@ -314,7 +326,7 @@ - + @@ -332,7 +344,7 @@ - + @@ -376,15 +388,15 @@ - + - + - + @@ -392,7 +404,7 @@ - + @@ -401,7 +413,7 @@ - + @@ -421,7 +433,7 @@ - + @@ -429,7 +441,7 @@ - + @@ -445,7 +457,7 @@ - + @@ -457,17 +469,17 @@ - + - + - + @@ -478,11 +490,11 @@ - + - + @@ -494,15 +506,15 @@ - + - + - + @@ -546,7 +558,7 @@ - + @@ -576,22 +588,22 @@ - + - + - + - + @@ -601,17 +613,17 @@ - + - + - + cvs server: Diffing nbbuild/antsrc cvs server: Diffing nbbuild/antsrc/org cvs server: Diffing nbbuild/antsrc/org/netbeans cvs server: Diffing nbbuild/antsrc/org/netbeans/nbbuild Index: nbbuild/antsrc/org/netbeans/nbbuild/MakeParserDB.java =================================================================== RCS file: /cvs/nbbuild/antsrc/org/netbeans/nbbuild/MakeParserDB.java,v retrieving revision 1.3 diff -u -r1.3 MakeParserDB.java --- nbbuild/antsrc/org/netbeans/nbbuild/MakeParserDB.java 12 Sep 2002 16:29:16 -0000 1.3 +++ nbbuild/antsrc/org/netbeans/nbbuild/MakeParserDB.java 16 Oct 2002 04:50:30 -0000 @@ -92,8 +92,12 @@ "core/netbeans/lib/core.jar", "classfile/netbeans/modules/autoload/classfile.jar", "java/api/netbeans/modules/autoload/java-api.jar", + "java/srcmodel/netbeans/modules/autoload/java-src-model.jar", "java/netbeans/modules/java.jar", "editor/netbeans/modules/editor.jar", + // XXX delete these when java + editor no longer use TopManager! + "openide/deprecated/netbeans/modules/autoload/openide-deprecated.jar", + "core/deprecated/netbeans/modules/autoload/core-deprecated.jar", }; URL[] urls = new URL[cp.length]; for (int i = 0; i < cp.length; i++) { cvs server: Diffing nbbuild/dummy cvs server: Diffing nbbuild/external cvs server: Diffing nbbuild/misc cvs server: Diffing nbbuild/misc/bugcompare cvs server: Diffing nbbuild/plans cvs server: Diffing nbbuild/www cvs server: Diffing nbbuild/www/nbantext-javadoc cvs server: Diffing nbbuild/www/nbantext-javadoc/org cvs server: Diffing nbbuild/www/nbantext-javadoc/org/netbeans cvs server: Diffing nbbuild/www/nbantext-javadoc/org/netbeans/nbbuild cvs server: Diffing nbbuild/www/plans cvs server: Diffing nbbuild/www/proposals cvs server: Diffing nbbuild/www/proposals/scrambler cvs server: Diffing openide Index: openide/build.xml =================================================================== RCS file: /cvs/openide/build.xml,v retrieving revision 1.118 diff -u -r1.118 build.xml --- openide/build.xml 14 Oct 2002 15:27:49 -0000 1.118 +++ openide/build.xml 16 Oct 2002 04:50:30 -0000 @@ -605,7 +605,7 @@ - @@ -639,23 +639,19 @@ + packages="org.openide.explorer:org.openide.explorer.propertysheet:org.openide.explorer.propertysheet.editors:org.openide.explorer.view"/> - - Index: openide/manifest.mf =================================================================== RCS file: /cvs/openide/manifest.mf,v retrieving revision 1.29 diff -u -r1.29 manifest.mf --- openide/manifest.mf 12 Sep 2002 11:04:00 -0000 1.29 +++ openide/manifest.mf 16 Oct 2002 04:50:30 -0000 @@ -25,9 +25,6 @@ Name: /org/openide/compiler/ Package-Title: org.openide.compiler -Name: /org/openide/debugger/ -Package-Title: org.openide.debugger - Name: /org/openide/execution/ Package-Title: org.openide.execution @@ -43,6 +40,9 @@ Name: /org/openide/explorer/view/ Package-Title: org.openide.explorer.view +Name: /org/openide/filesystems/ +Package-Title: org.openide.filesystems + Name: /org/openide/loaders/ Package-Title: org.openide.loaders @@ -51,12 +51,6 @@ Name: /org/openide/options/ Package-Title: org.openide.options - -Name: /org/openide/src/ -Package-Title: org.openide.src - -Name: /org/openide/src/nodes/ -Package-Title: org.openide.src.nodes Name: /org/openide/text/ Package-Title: org.openide.text Index: openide/openide-spec-vers.properties =================================================================== RCS file: /cvs/openide/openide-spec-vers.properties,v retrieving revision 1.76 diff -u -r1.76 openide-spec-vers.properties --- openide/openide-spec-vers.properties 11 Oct 2002 17:49:29 -0000 1.76 +++ openide/openide-spec-vers.properties 16 Oct 2002 04:50:30 -0000 @@ -5,4 +5,4 @@ # Must always be numeric (numbers separated by '.', e.g. 1.11.3). # See http://openide.netbeans.org/versioning-policy.html for more. -org.openide.specification.version=3.13 +org.openide.specification.version=3.14 cvs server: Diffing openide/api cvs server: Diffing openide/api/doc Index: openide/api/doc/ToDo.txt =================================================================== RCS file: /cvs/openide/api/doc/ToDo.txt,v retrieving revision 1.87 diff -u -r1.87 ToDo.txt --- openide/api/doc/ToDo.txt 15 Apr 2002 15:15:54 -0000 1.87 +++ openide/api/doc/ToDo.txt 16 Oct 2002 04:50:31 -0000 @@ -5,7 +5,6 @@ * FAQs Write pending items. -High-visibility: getting an Element from a Node. Update stuff that is now crusty, such as manifest parsing, etc. * Prose APIs @@ -25,16 +24,8 @@ possibly "hind API" (i.e. used by core implementation to register itself with the Open APIs). -** Cookies for elements -Should generally pick up those of the source file (i.e. holder of -SourceCookie). I.e. the std Editor gives a node selection acc. to the -element the cursor is on, so many actions will require all of these -elements to have the same cookies (at least) as the data object. - * JavaDoc -#3936. - ** Xlinks [important] MORE TO PROSE!!! @@ -45,48 +36,33 @@ IndentEngine DefaultPrintable TreeView D&D support, AutoScrollJList...check all of explorer.view -DebuggerType (also Debugger) [maybe javadoc only] EditorSupport.Editor.updateName AttributedCharacters, DefaultPrintable JavaDoc and related. PositionRef, PositionBounds -ClassElement.Finder -new Identifier, Type, MethodParameter, ElementFormat.sourceFormat MultiFileSystem FileUtil.create{Folder,Data} XMLDataObject -{Build,Compile,Save,Execute,Open}ProjectAction HttpServer.getResourceRoot NodePropertyEditor & NodeCustomizer; also PropertyDetails.nodes WizardDescriptor.titleFormat, WizardDescriptor.Panel.helpCtx DialogDescriptor's actionListener's -FileSystemCapability (incl. {Jar,Local}FileSystem const.) DataFolder.Index(DataFolder,Node) -InstanceDataObject.{create,remove} by Class InstanceDataObject.find OpenSupport.openCloneableTopComponent HttpServer.allowAccess window system [prose done, pending Javadoc] -ClassChildren categories, protected members -FilterFactory new DataObjectFilter(Class[]) datatransfer [prose done, pending Javadoc] -ClassElementFilter sorting -SourceCookie.Editor.findElement (mention easy implementation) -Element.markCurrent -SourceElement.runAtomic{,AsUser} -ExecSupport.entry EditAction MultiDataObject.registerEntry BeanNode.getBean ProcessExecutor.TAG_* DocumentLine.Set DataNode.createActions -Places.Nodes.{services,project} CleanAction, CleanAllAction ExternalCompiler.ErrorExpression: POSIX, not Perl5 DataObject.PROP_PRIMARY_FILE -ProjectSensitiveAction EditorCookie: openedPanes has no propchglist, use TC.Reg instead FileObject.lock -- should provide no message, or a user-friendly localized one DataObject.setValid(false) [& maybe mention in DataSystems] @@ -96,7 +72,6 @@ expl: pending D&D, node visualizers win: pending new support editor: pending review, new supports -java: pending javadoc support, lazy idents misc: in progress ** Javadoc Warnings @@ -111,15 +86,11 @@ ** Children.Keys For all subclasses intended to be themselves subclassable, mention what the convention for keys used by that class -is. E.g. SourceChildren should say what it uses, etc. +is. ** NotifyDescriptor Explain how to make a dialog with conditionally enabled OK button. -** ClassElement.add(MethodElement) etc. -Make very clear that this will create a copy of the added element, if -the added element is a memory impl. - ** missing @serial field What to do?! @@ -152,46 +123,6 @@ mentioned in the NotSerExc uses page. Probably ditto for subclasses of Error/RuntimeException. -*** doc for overriding/implementing method -Should be possible to only write components which change from the -parent's docs. E.g., if you have an interface specifying: - -/** Get a foo. - * (long description...) - * @return the foo - * @throws IOException if that failed - */ - -it should be possible to write an implementing method so: - -/** - * @return the same foo as {@link #getFooToo} returns - */ - -and have JavaDoc just display (w/o warnings): - -public Foo getFoo() throws IOException --------------------------------------- -Get a foo. -_Returns_ the same foo as _getFooToo(boolean)_ returns -_Throws_ IOException if that failed -_Specified By_ _getFoo()_ in _FooGetter_ - -I.e., summary lines (but not the body), and descriptions of -parameters, return value, and throws would be copied from the -superclass unless otherwise specified. But this would only be done if -you provided a /** ... */ JD comment, even if empty; otherwise there -would be no text generated at all, except the signature and -specified-by, as currently done. - -Alt., if a method overrides that in a superclass or implemented -inetrface, and does not provide a JavaDoc comment, remove it from the -main list of methods; leave it in the "inherited" block in small -print, with a note "(overridden)". - -*** Javadoc intro sentence -Should also be terminated by '?', '!', etc., acc. to locale. - *** Inner class references in @see/@link Do not seem to resolve properly. E.g. from one inner class having access to another, the unqualified name does not always seem to be @@ -200,12 +131,6 @@ *** method summary lines Surely "final" is as useful to know right off as "abstract", "protected", etc.? - -*** spaces in anchors -Really, really annoying for a variety of reasons, not least of which -is that many web browsers will ignore everything after the -space. Should at least be option to generate both spaceful and -spaceless anchors, and always link to the spaceless ones. * Write Index: openide/api/doc/overview.html =================================================================== RCS file: /cvs/openide/api/doc/overview.html,v retrieving revision 1.47 diff -u -r1.47 overview.html --- openide/api/doc/overview.html 12 Sep 2002 22:12:05 -0000 1.47 +++ openide/api/doc/overview.html 16 Oct 2002 04:50:31 -0000 @@ -100,18 +100,10 @@ classloader issues), or allows a custom execution engine (say for profiling) to be integrated. -
  • The Debugger API -specifies how a Java debugger should interact with the IDE. It may be used to create a -module implementing a custom debugger, or to interact with the default system debugger. -
  • The Editor API provides access to the basic functionality of the Editor and its support for different content types; and the ability to insert custom editors conforming to the Swing Editor Kit conventions. - -
  • The Java Hierarchy API -encapsulates the result of either parsing Java source documents, or introspecting on Java -classes - a structured representation of the Java class objects and their members.
  • Utility Classes providing support functionality for the primary cvs server: Diffing openide/api/doc/changes Index: openide/api/doc/changes/apichanges.xml =================================================================== RCS file: /cvs/openide/api/doc/changes/apichanges.xml,v retrieving revision 1.100 diff -u -r1.100 apichanges.xml --- openide/api/doc/changes/apichanges.xml 11 Oct 2002 17:49:31 -0000 1.100 +++ openide/api/doc/changes/apichanges.xml 16 Oct 2002 04:50:31 -0000 @@ -629,7 +629,115 @@ - + + + API separation, phase I + + + + +

    + The deprecated classes continue to be available in the module + org.openide.deprecated which you may depend on it you + cannot remove uses of the deprecated APIs. In order for + TopManager.getDefault() to work, you must also require the + token org.openide.TopManager, which is provided by an + unspecified module. The deprecated API module and its implementation + module are autoloads, meaning they will not be loaded unless some + module still requires them. +

    +

    + Similarly, the Java Hierarchy API was moved to the module + org.openide.src which you should depend on in order to use + this API. +

    +

    + For compatibility, the above three dependencies are added to your module + automatically in case it either requests no specific API + version at all, or requests an API version prior to 3.14. Modules + requesting APIs 3.14 or higher must declare these dependencies + explicitly if they in fact need them. +

    +
    + +

    + Many classes were moved to a separate module, + openide-deprecated.jar, not available to modules by + default. Uses of these classes in modules should be cleaned up whenever + possible. +

    +

    + Additionally, the entire contents of org.openide.src.* and + org.openide.src.nodes.*, as well as + org.openide.cookies.SourceCookie and some associated + property editors, were moved to a separate module. +

    +

    + The most common apparent symptom for module authors will be the absence + of TopManager. Most methods in this class have been + replaced by newer utility classes in a straightforward manner. See the + Upgrade Guide. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + Target name of a template wizard may not be set @@ -891,11 +999,18 @@ The whole org.openide.explorer.propertysheet.editors package is deprecated +

    The entire org.openide.explorer.propertysheet.editors package is generally deprecated and no longer included in Javadoc. +

    +

    + As of 3.14, this package is again included in the Javadoc, though only + only a few interfaces remain, and of these several are in fact + deprecated, and the rest will probably be deprecated at some point. +

    @@ -4200,6 +4315,13 @@ archive contains fake superclasses for some classes; the fake superclasses will be inserted into the inheritance tree at runtime and include methods and interfaces which are not available in source code. +

    +

    + In some cases, old modules (as determined by their declared dependency on + the Open APIs specification version, if any) are also given automatic + dependencies on newly split-off API modules. When building from source, + you will need to change your classpath, but precompiled JARs should run + as before.

    cvs server: Diffing openide/api/doc/org cvs server: Diffing openide/api/doc/org/openide Index: openide/api/doc/org/openide/package.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/package.html,v retrieving revision 1.4 diff -u -r1.4 package.html --- openide/api/doc/org/openide/package.html 21 Dec 2000 11:53:50 -0000 1.4 +++ openide/api/doc/org/openide/package.html 16 Oct 2002 04:50:31 -0000 @@ -7,36 +7,20 @@ - http://www.sun.com/ - - The Original Code is NetBeans. The Initial Developer of the Original - - Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun + - Code is Sun Microsystems, Inc. Portions Copyright 1997-2002 Sun - Microsystems, Inc. All Rights Reserved. --> -Jumping-off points for all the rest of the IDE's functionality. +Miscellaneous general classes. -

    The +

    See -TopManager +DialogDisplayer -documentation should be consulted for a start on how to access any -part of the IDE; it provides all of the standard system objects, and -can be used to perform a few top-level actions like exiting, showing -dialogs, etc. - -

    TopManager.getDefault().getPlaces() - -may be used to get a list of interesting locations (nodes and folders -in the IDE). - -

    The superclass - -ServiceType - -is the basis of the - -Services API. +and referenced classes for displaying dialogs. cvs server: Diffing openide/api/doc/org/openide/actions cvs server: Diffing openide/api/doc/org/openide/actions/doc-files Index: openide/api/doc/org/openide/actions/doc-files/api.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/actions/doc-files/api.html,v retrieving revision 1.32 diff -u -r1.32 api.html --- openide/api/doc/org/openide/actions/doc-files/api.html 17 Jul 2002 10:47:12 -0000 1.32 +++ openide/api/doc/org/openide/actions/doc-files/api.html 16 Oct 2002 04:50:31 -0000 @@ -596,11 +596,7 @@ is used by the IDE to construct the menu bar for the Main Window. By default it looks for the proper contents of these menus -in the folder given by - -Places.Folders.menus(), - -corresponding to the Menu folder in the system file +in the Menu folder in the system file system. To add menu items to the Main Window, for example:

    @@ -689,11 +685,7 @@
     to it, you must have a system action with a toolbar presenter
     (which most do by default); simply add an
     InstanceDataObject providing this action to the
    -Data subfolder of
    -
    -Places.Folders.toolbars()
    -
    -which on the system filesystem is the folder Toolbars/,
    +Data subfolder of the folder Toolbars/ in the system filesystem,
     
     ensure the folder ordering is correct, and you should
     have a button for your action appear on that toolbar (remember to
    @@ -808,11 +800,7 @@
     
     

    Actions pool

    -The folder obtained by - -Places.Folders.actions() - -(folder Actions/) +The Actions/ folder in the system filesystem contains a list of standard actions, as instances in the same style as is used for menus and toolbars. The contents of this pool are not used directly by the IDE, other than appearing under Session @@ -835,7 +823,7 @@ Such instances will be used to create the -global keymap.

    +global keymap (accessible by searching Lookup for Keymap).

    cvs server: Diffing openide/api/doc/org/openide/awt cvs server: Diffing openide/api/doc/org/openide/compiler cvs server: Diffing openide/api/doc/org/openide/compiler/doc-files cvs server: Diffing openide/api/doc/org/openide/cookies Index: openide/api/doc/org/openide/cookies/package.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/cookies/package.html,v retrieving revision 1.6 diff -u -r1.6 package.html --- openide/api/doc/org/openide/cookies/package.html 21 Dec 2000 11:53:52 -0000 1.6 +++ openide/api/doc/org/openide/cookies/package.html 16 Oct 2002 04:50:31 -0000 @@ -33,19 +33,17 @@

    For example, the -execution cookie, - -arguments cookie, +execution cookie and -debugger cookie +arguments cookie specify various ways in which an IDE object (e.g. a compiled class) may be invoked; a reasonable implementation for all three may be created using an -execution support, +execution support, which may be attached to an appropriate data object or node. cvs server: Diffing openide/api/doc/org/openide/debugger cvs server: openide/api/doc/org/openide/debugger/package.html was removed, no comparison available cvs server: Diffing openide/api/doc/org/openide/debugger/doc-files cvs server: openide/api/doc/org/openide/debugger/doc-files/api.html was removed, no comparison available cvs server: Diffing openide/api/doc/org/openide/doc-files Index: openide/api/doc/org/openide/doc-files/faq.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/doc-files/faq.html,v retrieving revision 1.34 diff -u -r1.34 faq.html --- openide/api/doc/org/openide/doc-files/faq.html 6 Sep 2002 20:45:07 -0000 1.34 +++ openide/api/doc/org/openide/doc-files/faq.html 16 Oct 2002 04:50:31 -0000 @@ -267,39 +267,7 @@ Q: How do I find a Java class by name in the Repository? What about the source file (or *.class file) it came from? -

    A: Use - -ClassElement.forName(String). - -This will give you the class element, if one can be found by that -name. - -

    You can try to look for the file it came from, too. However, be -aware that elements do not need to come from any physical source: -e.g. ClassElement.forName("java.util.Vector") will -probably give you an element that is not based on any file, but -rather the live Vector class in the Java VM. With that -caveat: - -

    -ClassElement ce = ClassElement.forName (myClassName);
    -if (ce != null) {
    -    SourceElement se = ce.getSource ();
    -    if (se != null) {
    -        DataObject dob = (DataObject) se.getCookie (DataObject.class);
    -        if (dob != null) {
    -            FileObject fo = dob.getPrimaryFile ();
    -            // check if desired that fo.getExt ().equals ("java"), etc.
    -        } else {
    -            // didn't specify where it came from
    -        }
    -    } else {
    -        // no containing source, probably a class found only in the VM
    -    }
    -} else {
    -    // not found at all
    -}
    -
    +

    A: Use the Classpath API, documented separately from the Open APIs.

    Windows & dialogs

    @@ -324,7 +292,7 @@

    You can also use -TopManager.notify(NotifyDescriptor) +DialogDisplayer.notify(NotifyDescriptor) to show dialogs that interact well with the IDE's window system, and have a number of bits of prebuilt UI. You can use various @@ -389,7 +357,7 @@

    A: This is possible using code such as:

    -DataLoader loader = TopManager.getDefault ().getLoaderPool ().firstProducerOf (SomeDataObject.class);
    +DataLoader loader = ((DataLoaderPool)Lookup.getDefault().lookup(DataLoaderPool.class)).firstProducerOf(SomeDataObject.class);
     if (loader != null) {
         SystemAction[] actions = loader.getActions ();
         SystemAction[] newactions = new SystemAction[actions.length + 2];
    @@ -649,7 +617,7 @@
     
     

    A: No, the -TopManager.getGlobalKeymap() +global keymap (get Keymap from Lookup) is a master keymap for the whole IDE, and like all keymaps accepts only one action per binding. If you want multiple actions to be @@ -680,11 +648,14 @@ and use this keystroke to rebind - so user customizations will remain intact. +

    A future version of the APIs will permit more flexibility in binding +keys differently according to their context. +

    Launch internal web browser?

    Just call -TopManager.showUrl(URL) +HtmlBrowser.URLDisplayer.showURL(URL) to open the IDE's default web browser (internal or external) on some page. If you want to make a menu item to do this, just create a Index: openide/api/doc/org/openide/doc-files/services-api.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/doc-files/services-api.html,v retrieving revision 1.27 diff -u -r1.27 services-api.html --- openide/api/doc/org/openide/doc-files/services-api.html 29 Jul 2002 15:13:56 -0000 1.27 +++ openide/api/doc/org/openide/doc-files/services-api.html 16 Oct 2002 04:50:31 -0000 @@ -30,9 +30,7 @@

    The standard subclasses are -CompilerType, - -DebuggerType, +CompilerType and @@ -100,7 +98,7 @@ introduced to provide for consistent configuration and management of a few very common types of objects that modules can install and users can configure. -

    Presently there are several varieties of services in the IDE - compiler types, debugger types, +

    Presently there are several varieties of services in the IDE - compiler types, executors, script types, and perhaps search types. (It is possible for a module to add more to this list.) Each variety serves quite a different function in the IDE - the only reason they are grouped together as services is that they @@ -156,13 +154,6 @@ Compiler API. -

  • DebuggerType - -is used for objects which know how to invoke the IDE debugger correctly according to the type of file, e.g. default debugging, -JPDA debugging, or applet debugging. Details are in the - -Debugger API. -
  • ScriptType permits scripting languages to be plugged in. @@ -291,13 +282,6 @@ and a default instance of the service type will be created and made available to the user. However it is much preferable to register them via lookup. - -

    Normally the manifest section specifies the service type class, and the default constructor is called to make the default instance. However, you may instead specify a serialized instance in the manifest section, according to the JavaBeans specification, and this preconfigured instance will be installed instead (possibly adding multiple predefined entries to a @@ -311,9 +295,7 @@

    Finding Services

    -Services may be found using the registry (available via - -TopManager.getServices()), +Services may be found using the registry (available via lookup), by using the calls @@ -321,17 +303,9 @@ (to find an instance by display name), or -ServiceType.Registry.find(Class) - -(to find the default instance of the specified class). - -Available services can also be listed using - -ServiceType.Registry.services(); +directly looking up an instance in Lookup by its class. -or more commonly, restricted to some superclass (typically a variety) using - -ServiceType.Registry.services(Class). +Available services can also be listed using lookup.

    You may also create handles using @@ -344,16 +318,6 @@ Whenever service types are to be stored, it is desirable to use a handle instead of the actual instance. -

    Varieties of service generally have their own convenience accessors, such as - -Executor.executors() - -or - -Executor.find(String), - -which just delegate to the more general methods in the service registry. -

    Finally, the IDE implementation includes standard property editors for ServiceType as well as some standard varieties, which displays a dialog listing all registered services of that variety, permitting the user to select one, as well as configure the details of the service instance with a property sheet. Although these property editors are a convenient way to @@ -367,9 +331,9 @@ Most data objects which wish to have one or more varieties of service associated with them persistently will use standard service supports which are cookie supports available in the APIs. The two existing supports are -ExecSupport +ExecutionSupport -(for both Executor and DebuggerType associations) and +(for Executor associations) and CompilerSupport @@ -377,18 +341,18 @@ delegating the requested operation to the associated service instance, which is stored persistently in the extended attributes of the data object's primary file, and which may be accessed via e.g. -ExecSupport.getExecutor(MultiDataObject.Entry) +ExecutionSupport.getExecutor(MultiDataObject.Entry) and -ExecSupport.setExecutor(...). +ExecutionSupport.setExecutor(...).

    Note that data object templates often come with appropriate service instances preconfigured on them, which will be automatically applied to objects created from these templates. When no specific association has been made for a particular file (either because the template did not specify one, or because the file in question was created outside the IDE and "discovered" by it), the support will use a default instance as specified by e.g. -ExecSupport.defaultExecutor(); +ExecutionSupport.defaultExecutor(); the default implementation will look for the default instance of the default service type for the appropriate variety, but often data objects (or whatever code is creating a support) will use a customized subclass of the support that overrides this @@ -416,7 +380,7 @@

    Service supports will also typically provide methods, e.g. -ExecSupport.addProperties(Sheet.Set), +ExecutionSupport.addProperties(Sheet.Set), to add one or more properties to a property set permitting the user to configure the desired service instance on the represented file. Data objects generally use these methods to build their nodes' property sheets. @@ -435,7 +399,7 @@

  • Defining the proper abstract methods, or other behavior hooks, in the variety's superclass - i.e. providing an API. This API can be present in a module, and other modules may implement it, if desired. -
  • Writing supports in the style of ExecSupport to associate the services to files. +
  • Writing supports in the style of ExecutionSupport to associate the services to files.
  • Ensuring that data objects which can take advantage of the variety are aware of it and use the correct support. @@ -543,10 +507,8 @@

    Since reflection is used to create the new instance, just as in the realm of JavaBeans, the class must be loadable from your module or -otherwise from within the IDE (technically, via - -TopManager.currentClassLoader); - +otherwise from within the IDE (technically, via the classloader found +by querying Lookup for ClassLoader); public; and have a public no-argument constructor. This form is often used for singleton classes such as system actions: there is no need to specify any parameters to the constructor, any instance Index: openide/api/doc/org/openide/doc-files/threading.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/doc-files/threading.html,v retrieving revision 1.18 diff -u -r1.18 threading.html --- openide/api/doc/org/openide/doc-files/threading.html 15 Apr 2002 15:24:37 -0000 1.18 +++ openide/api/doc/org/openide/doc-files/threading.html 16 Oct 2002 04:50:32 -0000 @@ -158,22 +158,6 @@ folder with many files in it is expanded for the first time, and objects appear as they are available. -

  • Java Hierarchy element implementations may block for a while -when accessing elements below the level of - -SourceElement, - -while waiting to parse the source object. For this reason, - -SourceElement.prepare() - -and related calls is available to permit the parsing to be done - -asynchronously; - -upon completion of the parse, accesses to subelements should be -fast. -
  • CloneableEditorSupport.prepareDocument() may be used to load a text document @@ -438,14 +422,6 @@ API users can at least be assured that compilation levels will be run in the proper order. -

    Note that the Debugger API is technically completely thread-safe; -this is possible since there is no implementation to speak of in -it! In practice, a debugger would generally be an external process, -which means it would use the execution engine to manage its -progress; it is completely up to the debugger implementation to be -thread-safe and responsive, as there is no special engine for it to -use. -

    Tasks

    For explicit control over the performance of miscellaneous @@ -494,19 +470,19 @@ API). Most code to really handle modules is present in the private implementation, and thus has no documented model. -
    TopManager and Places +
    DialogDisplayer
    Generally thread-safe; -TopManager.notify(...) +DialogDisplayer.notify(...) and similar calls (customize and select nodes) use the event queue in GUI mode, however, and is assumed to block (so do not hold any locks when you call it). -TopManager.notifyException(...) +
    ErrorManager.notify(...) -is thread-safe. +
    Thread-safe.
    Filesystems @@ -546,7 +522,7 @@ InstantiateAction); create a modal dialog and block on it (or whatever -TopManager.notify and similar do; e.g. +DialogDisplayer.notify and similar do; e.g. CustomizeAction); @@ -571,11 +547,6 @@
    As for Compiler. -
    Debugger - -
    Unspecified in the APIs (no implementation) - assumed -thread-safe. -
    Editor
    Mostly thread-safe. Text documents should be locked using @@ -583,11 +554,6 @@ also be run as a task. Contains a default editor pane implementation which is displayed in the event queue, though document-related operations are still thread-safe. - -
    Java Hierarchy - -
    Thread-safe. Parsing may be run as a task. Element nodes are -subject to the same threading model as any other nodes.
    Utility Classes Index: openide/api/doc/org/openide/doc-files/tips.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/doc-files/tips.html,v retrieving revision 1.31 diff -u -r1.31 tips.html --- openide/api/doc/org/openide/doc-files/tips.html 15 Apr 2002 15:24:37 -0000 1.31 +++ openide/api/doc/org/openide/doc-files/tips.html 16 Oct 2002 04:50:32 -0000 @@ -437,7 +437,7 @@
  • Nodes can generally be easily tested by creating a new instance of the node, and then calling -TopManager.NodeOperation.explore(Node). +NodeOperation.explore(Node). Especially useful is to call this on a newly created @@ -454,9 +454,9 @@
  • For testing editor kits (in the Editor API), try registering an editor kit for the desired content type which, when clone() is called, does not create a new instance of -its own class but rather uses the +its own class but rather uses -TopManager.currentClassLoader() +NbClassLoader to load the "real" editor kit to use, which could then be code in the Repository - so the normal edit-compile-test cycle could be @@ -480,7 +480,7 @@ quick change and recompile. For NodeActions (including CookieActions), you may want to use -TopManager.NodeOperation.select(...) +NodeOperation.select(...) to permit you to select test nodes to run the action on. Index: openide/api/doc/org/openide/doc-files/typical-uses.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/doc-files/typical-uses.html,v retrieving revision 1.10 diff -u -r1.10 typical-uses.html --- openide/api/doc/org/openide/doc-files/typical-uses.html 15 Apr 2002 15:24:37 -0000 1.10 +++ openide/api/doc/org/openide/doc-files/typical-uses.html 16 Oct 2002 04:50:32 -0000 @@ -54,7 +54,7 @@ DataObject type), Actions, Nodes, Editor, Interpreter -
    JNDI or other hierarchies
    Nodes, Places, data-transfer +
    JNDI or other hierarchies
    Nodes, data-transfer
    Custom compiler
    Compiler, Actions Index: openide/api/doc/org/openide/doc-files/upgrade.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/doc-files/upgrade.html,v retrieving revision 1.37 diff -u -r1.37 upgrade.html --- openide/api/doc/org/openide/doc-files/upgrade.html 8 Oct 2002 20:18:59 -0000 1.37 +++ openide/api/doc/org/openide/doc-files/upgrade.html 16 Oct 2002 04:50:32 -0000 @@ -36,6 +36,7 @@
    • Notable Incompatibilities
    • Desirable Changes in Modules @@ -201,6 +202,153 @@

      Check for changes here which might cause problems for your module if left uncorrected.

      + +

      Open APIs Separation and Deprecation

      + +

      Many classes in the Open APIs have been deprecated and moved to a +separate module, openide-deprecated.jar. The Java +Hierarchy API and a few associated classes were moved also to +java-src-model.jar. The core implementations of +deprecated APIs were moved to core-deprecated.jar.

      + +

      Module developers who did not use any of the deprecated API classes +to begin with, or who are able and willing to clean up their modules +to not use them, should request:

      + +
      +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14
      +
      + +

      Otherwise they may compile against +openide-deprecated.jar for the time being and +declare:

      + +
      +OpenIDE-Module-Module-Dependencies: org.openide.deprecated
      +OpenIDE-Module-Requires: org.openide.TopManager
      +
      + +

      Modules which wish to use the Java Hierarchy API may compile +against java-src-model.jar and declare:

      + +
      +OpenIDE-Module-Module-Dependencies: org.openide.src
      +
      + +

      For compatibility, modules with no IDE/1 dependency, +or a dependency older than 3.14, will be automatically given the three +dependencies above at runtime. The three new modules are autoloads, so +they will only be loaded if at least one module requests them +(explicitly or implicitly).

      + +

      See the Open APIs Changes List for a complete list of classes and +packages which were deprecated. The ones which were most commonly used +are:

      + +
      + +
      org.openide.TopManager + +
      + +

      All methods from this class are deprecated. Most of the getter +methods can be replaced by using +Lookup.getDefault().lookup(InterfaceClass.class).

      + +

      Most utility methods, such as showing a URL, displaying status +text, etc., have been replaced by separate utility classes with +similar semantics, all of which have a getDefault() +method:

      + +
        +
      • org.openide.DialogManager
      • +
      • org.openide.LifecycleManager
      • +
      • org.openide.awt.HtmlBrowser.URLDisplayer
      • +
      • org.openide.awt.StatusDisplayer
      • +
      • org.openide.loaders.RepositoryNodeFactory
      • +
      • org.openide.nodes.NodeOperation
      • +
      • org.openide.windows.IOProvider
      • +
      + +

      Showing help should be done using the JavaHelp API module.

      + +

      systemClassLoader() should be replaced with lookup on +ClassLoader.class. currentClassLoader has no +undeprecated equivalent, since it misuses the Java classpath; for now, +use NbClassLoader (you may wish to add +AllPermissions to a subclass in some cases).

      + +

      Forcible initialization of the NetBeans core using +TopManager.getDefault() (in standalone applications, +tests, and scripts) can in some cases be deleted, since many services +are now available standalone. If it is necessary to force modules to +be loaded, ask lookup for ModuleInfo.class to scan for +and install modules, as well as performing other unspecified +initialization activities in the core.

      + +
      org.openide.Places + +
      + +

      Everything here is deprecated. To find folders, find them by file +path on the system filesystem: +Repository.getDefault().getDefaultFileSystem(). Most +nodes are no longer made available to modules, as they are details of +the GUI implementation, but see RepositoryNodeFactory for +repository().

      + +
      org.openide.debugger.* and related cookies, actions, +and org.openide.loaders.ExecSupport + +
      + +

      The Debugger API is deprecated, as it never really exposed the +actual power of the debuggercore module. As of this +writing, a full replacement is still pending. ExecSupport +may be replaced by org.openide.loaders.ExecutionSupport +which provides just the ability to select an Executor, +without referring to debugger types.

      + +
      org.openide.cookies.ElementCookie and +org.openide.loaders.DataObjectFilter + +
      + +

      Ancient APIs used only by the old Object Browser. Should be +replaced by the Looks API when available.

      + +
      org.openide.cookies.ProjectCookie and related actions + +
      + +

      Will be obsoleted by the new projects system.

      + +
      Many classes in +org.openide.explorer.propertysheet.editors.*, and +org.openide.loaders.ExtensionListEditor + +
      + +

      These property editor implementations are obsolete. Simply declare +your properties to be of the correct type, and often a suitable editor +will be found automatically. For cases where more control is needed, +hints may be passed to the property editor implementation; see the +Explorer API.

      + +
      org.openide.options.ControlPanel, several classes in +org.openide.modules.*, and +org.openide.actions.HelpAction + +
      + +

      Various classes which have not been used in the APIs or core for +some time and can be considered obsolete.

      + +
      + +

      For more details, see + +issue #19443.

      Indirect dependencies do not count for a module's "effective classpath"

      Index: openide/api/doc/org/openide/doc-files/xray.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/doc-files/xray.html,v retrieving revision 1.26 diff -u -r1.26 xray.html --- openide/api/doc/org/openide/doc-files/xray.html 6 Aug 2002 17:12:31 -0000 1.26 +++ openide/api/doc/org/openide/doc-files/xray.html 16 Oct 2002 04:50:33 -0000 @@ -87,11 +87,7 @@ of the Templates subdirectory of the -system filesystem, - -which may be obtained easily via - -Places.Folders.templates(). +system filesystem. It specially looks for @@ -164,7 +160,7 @@ by the data object). The selector is invoked on the Repository, -filtered +filtered to only display directories. @@ -243,7 +239,7 @@ details of constructing the Editor window, loading the document, and many other things. -(TopManager.setStatusText(...) +(StatusDisplayer.setStatusText(...) can handle the message - this is done automatically by DataEditorSupport in @@ -296,12 +292,12 @@ them. A regular Java source file (as determined by the Java Source module) has a node containing the structure of its source-code -elements +elements within it, e.g. the top-level class, its methods, etc. - these subnodes are generally created using -SourceChildren. +SourceChildren. A form node then adds an extra subhierarchy corresponding to the AWT component structure of the form - all of these subnodes are @@ -436,7 +432,7 @@

      The -Java Hierarchy API +Java Hierarchy API could also be used to perform these modifications, but that would have the disadvantage that if the user was actively editing "inert" @@ -658,7 +654,7 @@ the proper main function, say). This cookie is implemented by -ExecSupport, +ExecutionSupport, which permits the user to choose from among standard @@ -666,7 +662,7 @@ installed in the system - it may be used to -add node properties +add node properties to the data object's node representing the current choice (there is a standard property editor which lists the choices in a @@ -684,7 +680,7 @@ (corresponding to external and internal execution, resp.). The user of this tutorial did not specify which to use, so one is already selected as the default, probably ProcessExecutor. Now -the ExecSupport when asked to run the frame, calls +the ExecutionSupport when asked to run the frame, calls Executor.execute(ExecInfo); @@ -756,6 +752,9 @@ track the state of threads, and more. All of this can be done in an easy and intuitive graphical user interface. +

      Warning: much of the following section is obsolete due to changes + in the Debugger API.

      +

      Preliminary Setup :

        @@ -768,7 +767,7 @@
        This is also available as a popup menu under the -Repository node, +Repository node, either as an explicit action, or as a @@ -776,7 +775,7 @@ filesystem -installed +installed into the system appears as a potential addition. Selecting one causes a new instance to be constructed and @@ -841,13 +840,13 @@ to make the -ToggleBreakpointAction +ToggleBreakpointAction do the right thing. It must find where the user currently has the cursor positioned in the document (as usual, the Swing Document interface is used for this), then both -adds +adds a breakpoint to the current debugger implementation, and @@ -877,42 +876,42 @@
        The -GoAction +GoAction does not do much itself. Basically, it makes sure the selected node is debuggable by looking for a -DebuggerCookie; +DebuggerCookie; spawns a new thread (since the debugging should be started as soon as possible, but may take a while to "warm up"); automatically compiles the file in the same way as mentioned above for execution; and finally hands off the real work to -DebuggerCookie.debug(...). +DebuggerCookie.debug(...).

        Normally this cookie will be implemented by an -ExecSupport +ExecutionSupport (a very useful cookie support to use!), which gets the correct -DebuggerType +DebuggerType describing how to launch the process in the debugger, which in turn gets the -system debugger, +system debugger, then goes ahead and -starts it. +starts it.

        It is up to the installed Debugger module to determine exactly what to do during debugging, provided it implements the basic -Debugger +Debugger interface to permit itself to be controlled in a few ways by other components @@ -933,7 +932,7 @@
        Breakpoints and watches are specified in general terms by the -Debugger API; +Debugger API; however the debugger module is providing nodes to represent them visually to the user (and present an alternative way of organizing @@ -960,7 +959,7 @@
        When the debugger halts at a breakpoint, it -notifies +notifies the system of this, and also finds the Java source file where the breakpoint was set - for example, using @@ -1000,7 +999,7 @@
        All of these actions simply invoke the proper method on the -Debugger +Debugger interface, the implementation of which controls the JDK debugger agent (in this case). @@ -1077,11 +1076,11 @@ is provided: here, the current value of a watch is accessible to the system (as well as the node representative) via -Watch.getAsText(), +Watch.getAsText(), and standard Java property changes are fired on -Watch.PROP_AS_TEXT +Watch.PROP_AS_TEXT whenever this text changes. @@ -1106,11 +1105,11 @@
        Both -Breakpoint +Breakpoint and -Watch +Watch are serializable, and the set of them is stored using serialization while the IDE is shut down (the IDE core handles this @@ -1124,7 +1123,7 @@
        Again, this action just calls -Debugger.finishDebugger() +Debugger.finishDebugger() and the debugger implementation handles the details of stopping the process, cleaning up the "current line" marks in the Editor window, cvs server: Diffing openide/api/doc/org/openide/execution cvs server: Diffing openide/api/doc/org/openide/execution/doc-files Index: openide/api/doc/org/openide/execution/doc-files/api.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/execution/doc-files/api.html,v retrieving revision 1.20 diff -u -r1.20 api.html --- openide/api/doc/org/openide/execution/doc-files/api.html 15 Apr 2002 15:24:39 -0000 1.20 +++ openide/api/doc/org/openide/execution/doc-files/api.html 16 Oct 2002 04:50:33 -0000 @@ -113,7 +113,7 @@

      • The preferred approach, though, is to use -ExecSupport.getExecutor(...), +ExecutionSupport.getExecutor(...), which permits data loaders to specify a particular executor to use on a class (actually, the data object containing it). For example, a data @@ -138,7 +138,7 @@ Note that -ExecSupport.getArguments(MultiDataObject.Entry) +ExecutionSupport.getArguments(MultiDataObject.Entry) may be used to get default arguments for the class, which the user may set appropriately. @@ -661,14 +661,10 @@
      • You may use -TopManager.getIO(String) +IOProvider.getIO(String,boolean) to create an Output Window tab with a specified name and return its -InputOutput representative. Or, use - -TopManager.getIO(String,false) - -to try to reuse an existing tab of the same name, if there is one. +InputOutput representative. Or, try to reuse an existing tab of the same name, if there is one.
      • If @@ -714,7 +710,7 @@ using dynamic scope. (You may obtain the ExecutionEngine via -TopManager.getDefault().getExecutionEngine().) +ExecutionEngine.getDefault().) The supplied Runnable is run asynchronously in its own thread and thread group, i.e. well-isolated @@ -793,15 +789,10 @@ creates a special classloader that is aware of an InputOutput obtained as above. Normally NbClassLoader is just used to load classes from the -Repository, and is used e.g. by - -TopManager.currentClassLoader() - -(which also refreshes the classloader as needed). This constructor, +Repository. This constructor, however, is "magic" in that it will still load classes from the Repository (always giving preference to its parent - -TopManager.systemClassLoader()), +class loader), but I/O calls quasi-lexically contained in such classes (i.e. made directly by such a class, or by other invoked code when such a class @@ -834,7 +825,7 @@ restricted from security-sensitive calls (but do not count on it). Such code can still call -TopManager.exit() +LifecycleManager.exit() to explicitly exit the IDE. cvs server: Diffing openide/api/doc/org/openide/explorer cvs server: Diffing openide/api/doc/org/openide/explorer/doc-files Index: openide/api/doc/org/openide/explorer/doc-files/api.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/explorer/doc-files/api.html,v retrieving revision 1.28 diff -u -r1.28 api.html --- openide/api/doc/org/openide/explorer/doc-files/api.html 6 Aug 2002 17:12:34 -0000 1.28 +++ openide/api/doc/org/openide/explorer/doc-files/api.html 16 Oct 2002 04:50:33 -0000 @@ -136,7 +136,7 @@ Probably the easiest way to pop up an Explorer window is just to call -TopManager.NodeOperation.explore(...). +NodeOperation.explore(...). This will simply show a node and its subtree (if any) in a new window using the normal tree-style Explorer view. It does not permit any @@ -476,7 +476,7 @@ p.setValue("files", Boolean.FALSE); // passing the custom property value here s.get (Sheet.PROPERTIES).put(p); } catch (Exception ex) { - TopManager.getDefault().getErrorManager ().notify (ex); + ErrorManager.getDefault().notify(ex); } return s; } cvs server: Diffing openide/api/doc/org/openide/explorer/propertysheet cvs server: Diffing openide/api/doc/org/openide/explorer/view cvs server: Diffing openide/api/doc/org/openide/filesystems cvs server: Diffing openide/api/doc/org/openide/filesystems/doc-files Index: openide/api/doc/org/openide/filesystems/doc-files/api.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/filesystems/doc-files/api.html,v retrieving revision 1.48 diff -u -r1.48 api.html --- openide/api/doc/org/openide/filesystems/doc-files/api.html 31 May 2002 15:15:34 -0000 1.48 +++ openide/api/doc/org/openide/filesystems/doc-files/api.html 16 Oct 2002 04:50:33 -0000 @@ -143,7 +143,7 @@ Explorer), but if that is necessary it is not difficult:
        -Repository repo=TopManager.getDefault().getRepository();
        +Repository repo=Repository.getDefault();
         LocalFileSystem fs=new LocalFileSystem();
         fs.setRootDirectory(new File("c:\\some directory\\"));
         repo.addFileSystem(fs);
        @@ -284,7 +284,7 @@
         
         
         URL url=file.getURL ();
        -TopManager.getDefault().showUrl(url);
        +HtmlBrowser.URLDisplayer.getDefault().showURL(url);
         

        Creating, deleting, and renaming files and folders

        @@ -739,7 +739,7 @@ attributes - for example, the arguments for a file to be executed are stored by -ExecSupport +ExecutionSupport in the file's attributes. So for writable filesystems, these attributes should generally be supported; normally the For data objects which ought to have a different representation -in the Object Browser (or others users of - -DataObjectFilter) - -than in the Explorer, you should - -provide - -an implementation of - -ElementCookie, - -whose alternate node may also usefully provide - -filtering support. - -In this case, the normal node delegate is not used. -

        System loaders

        The IDE installs a few extra "hidden" loaders into the loader pool, as @@ -838,24 +819,20 @@ method, which will be invoked as from the Java launcher. So, the standard support -ExecSupport +ExecutionSupport performs this scanning for the main method, construction of the proper execution engine, and so on. It also happens to implement -ArgumentsCookie - -and - -DebuggerCookie, +ArgumentsCookie, -since these cookies are also appropriate under the same +since this cookie is also appropriate under the same conditions. So, whatever data loader is responsible for creating data objects corresponding to compiled class files makes sure that any class files with a main have this support associated with them, passing in the relevant file entry in the -constructor. +constructor. The node delegates for these classes will also implicitly contain the same cookies, of course, so the user is able to invoke the Execute cvs server: Diffing openide/api/doc/org/openide/modules cvs server: Diffing openide/api/doc/org/openide/modules/doc-files Index: openide/api/doc/org/openide/modules/doc-files/api.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/modules/doc-files/api.html,v retrieving revision 1.78 diff -u -r1.78 api.html --- openide/api/doc/org/openide/modules/doc-files/api.html 6 Sep 2002 20:45:08 -0000 1.78 +++ openide/api/doc/org/openide/modules/doc-files/api.html 16 Oct 2002 04:50:34 -0000 @@ -59,7 +59,6 @@
      • Action
      • Option
      • Data loader -
      • Debugger
      • Service
      • Filesystem
      • Node @@ -359,9 +358,9 @@ restored (); } - public void restored() { - FileUtil.setMIMEType("test", "text/x-clipboard-content-test"); - } + // Nothing special required here. + // public void restored() { + // } // Do not need to do anything special on uninstall. // Tools action will be removed automatically. @@ -376,34 +375,6 @@ }
      • -Some common things that module main classes tend to do: - -
          - -
        1. Install - -editor kits. - - - - - -
        2. Install a - -class element finder - -into the system. - -
        -
  • The installed handler may do more or less what it @@ -413,8 +384,8 @@ during earlier phases of IDE initialization. Therefore, it should not use presentation-oriented features of the IDE, such as the Explorer or Window System APIs. However, the other APIs are -acceptable to use in restored, including the -TopManager's dialog notification methods. +acceptable to use in restored, including +DialogDisplayer.

    The @@ -1221,22 +1192,6 @@ tags; the ordering hints will simply be ignored unless and until the other module is installed, at which time they will take effect. -

    Debugger

    - -The class Debugger installs a new - -system debugger, - -replacing the previous one. Refer to the - -Debugger API - -for details on how to write a debugger. - -

    Installation of debuggers from manifest is now deprecated. See the -Services API -instead. -

    Service

    The class Service installs a new @@ -1548,7 +1503,7 @@
  • ServiceType.getHelpCtx() -(applies equally to executors, debugger types, and compiler types) +(applies equally to executors and compiler types) @@ -1629,9 +1584,8 @@ ExplorerPanel). -Programmatically, you may also display help by calling - -TopManager.showHelp(HelpCtx).

    +Programmatically, you may also display help by using +the JavaHelp module API.

    If you are having trouble figuring out why you are not seeing the help you expect, try running the IDE with the cvs server: Diffing openide/api/doc/org/openide/nodes cvs server: Diffing openide/api/doc/org/openide/nodes/doc-files Index: openide/api/doc/org/openide/nodes/doc-files/api.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/nodes/doc-files/api.html,v retrieving revision 1.28 diff -u -r1.28 api.html --- openide/api/doc/org/openide/nodes/doc-files/api.html 24 Apr 2002 17:37:17 -0000 1.28 +++ openide/api/doc/org/openide/nodes/doc-files/api.html 16 Oct 2002 04:50:34 -0000 @@ -1103,9 +1103,7 @@ clipboard, without needing to have CopyAction be invoked on a node, if that were the desired behavior. Then the transferable derived from NodeTransfer.createPaste -could be added directly to the system clipboard (use - -TopManager.getClipboard()), +could be added directly to the system clipboard (use lookup on Clipboard), or added as an alternate flavor to any transferable already there. @@ -1133,7 +1131,7 @@ permit any string selection in the clipboard (say, placed there by the Editor) to be pasted onto node having -ClassElement +ClassElement (from java-src-model.jar) as a cookie by way of inserting a new method with that name. Such a convertor should work with any editor, as well as with any implementation cvs server: Diffing openide/api/doc/org/openide/options cvs server: Diffing openide/api/doc/org/openide/options/doc-files cvs server: Diffing openide/api/doc/org/openide/src cvs server: openide/api/doc/org/openide/src/package.html was removed, no comparison available cvs server: Diffing openide/api/doc/org/openide/src/doc-files cvs server: openide/api/doc/org/openide/src/doc-files/api.html was removed, no comparison available cvs server: openide/api/doc/org/openide/src/doc-files/hierarchy.gif was removed, no comparison available cvs server: Diffing openide/api/doc/org/openide/src/nodes cvs server: openide/api/doc/org/openide/src/nodes/package.html was removed, no comparison available cvs server: Diffing openide/api/doc/org/openide/text cvs server: Diffing openide/api/doc/org/openide/text/doc-files Index: openide/api/doc/org/openide/text/doc-files/api.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/text/doc-files/api.html,v retrieving revision 1.44 diff -u -r1.44 api.html --- openide/api/doc/org/openide/text/doc-files/api.html 9 Aug 2002 20:25:52 -0000 1.44 +++ openide/api/doc/org/openide/text/doc-files/api.html 16 Oct 2002 04:50:34 -0000 @@ -283,8 +283,8 @@ scratch. Also, exception handling is not illustrated here.

    -FileObject fo=TopManager.getDefault().getRepository().find("my.pkg", "MyFile", "java");
    -DataObject do=TopManager.getDefault().getLoaderPool().findDataObject(fo);
    +FileObject fo = Repository.getDefault().find("my.pkg", "MyFile", "java");
    +DataObject do = DataObject.find(fo);
     EditorCookie ec=(EditorCookie)(do.getCookie(EditorCookie.class));
     StyledDocument doc=ec.openDocument();
     
    @@ -798,12 +798,6 @@ with IDE-supplied annotations, e.g. background color, gutter glyphs, or as much as feasible, and change these display markings upon request. - - cvs server: Diffing openide/api/doc/org/openide/util cvs server: Diffing openide/api/doc/org/openide/util/actions cvs server: Diffing openide/api/doc/org/openide/util/datatransfer cvs server: Diffing openide/api/doc/org/openide/util/doc-files cvs server: Diffing openide/api/doc/org/openide/util/enum cvs server: Diffing openide/api/doc/org/openide/util/io cvs server: Diffing openide/api/doc/org/openide/util/lookup cvs server: Diffing openide/api/doc/org/openide/windows cvs server: Diffing openide/api/doc/org/openide/windows/doc-files Index: openide/api/doc/org/openide/windows/doc-files/api.html =================================================================== RCS file: /cvs/openide/api/doc/org/openide/windows/doc-files/api.html,v retrieving revision 1.35 diff -u -r1.35 api.html --- openide/api/doc/org/openide/windows/doc-files/api.html 6 Aug 2002 17:12:41 -0000 1.35 +++ openide/api/doc/org/openide/windows/doc-files/api.html 16 Oct 2002 04:50:35 -0000 @@ -316,7 +316,7 @@ } private static final String WIDGET_MODE_NAME = "MyWidgets"; // NOI18N // ... -Workspace ws = TopManager.getDefault().getWindowManager().getCurrentWorkspace(); +Workspace ws = WindowManager.getDefault().getCurrentWorkspace(); Mode myMode = ws.findMode(WIDGET_MODE_NAME); if (myMode == null) { myMode = ws.createMode(WIDGET_MODE_NAME, @@ -580,7 +580,7 @@ try { toWrite = new NbMarshalledObject(state); } catch (Exception e) { - TopManager.getDefault().getErrorManager().notify(ErrorManager.WARNING, e); + ErrorManager.getDefault().notify(ErrorManager.WARNING, e); toWrite = null; } oo.writeObject(toWrite); @@ -592,7 +592,7 @@ try { state = (MySerObject)read.get(); } catch (Exception e) { - TopManager.getDefault().getErrorManager().notify(ErrorManager.WARNING, e); + ErrorManager.getDefault().notify(ErrorManager.WARNING, e); } } } @@ -690,7 +690,7 @@
  • Workspaces may be retrieved using the WindowManager, which is obtained by -TopManager.getWindowManager(). +WindowManager.getDefault(). Then the calls @@ -1545,7 +1545,7 @@ you might for example retrieve a mode as follows:

    -FileSystem sfs = TopManager.getDefault().getRepository().getDefaultFileSystem();
    +FileSystem sfs = Repository.getDefault().getDefaultFileSystem();
     // Assume these two were known somehow:
     String wsName = "Editing";
     String modeName = "editor";
    @@ -1796,7 +1796,7 @@
     

    The Output Window is organized into tabs, each of which is capable of handling both input and output. -TopManager.getIO(String) +IOProvider.getIO(String, boolean) will get the cvs server: Diffing openide/api/doc/org/openide/xml cvs server: Diffing openide/api/doc/tutorial cvs server: Diffing openide/api/doc/tutorial/chapter_0 cvs server: Diffing openide/api/doc/tutorial/chapter_1 cvs server: Diffing openide/api/doc/tutorial/chapter_2 cvs server: Diffing openide/api/doc/tutorial/chapter_3 cvs server: Diffing openide/api/doc/tutorial/chapter_4 cvs server: Diffing openide/api/doc/tutorial/chapter_5 cvs server: Diffing openide/api/doc/uml cvs server: Diffing openide/api/doc/uml/actions cvs server: Diffing openide/api/doc/uml/compiler cvs server: Diffing openide/api/doc/uml/explorer cvs server: Diffing openide/api/doc/uml/filesystems cvs server: Diffing openide/api/doc/uml/loaders cvs server: Diffing openide/api/doc/uml/modules cvs server: Diffing openide/api/doc/uml/nodes cvs server: Diffing openide/api/doc/uml/options cvs server: Diffing openide/api/doc/uml/src cvs server: openide/api/doc/uml/src/source.argo was removed, no comparison available cvs server: openide/api/doc/uml/src/source.xmi was removed, no comparison available cvs server: openide/api/doc/uml/src/source_classdiagram1.pgml was removed, no comparison available cvs server: openide/api/doc/uml/src/source_classdiagram2.pgml was removed, no comparison available cvs server: openide/api/doc/uml/src/source_usecasediagram1.pgml was removed, no comparison available cvs server: Diffing openide/api/doc/uml/windows cvs server: Diffing openide/api/examples cvs server: Diffing openide/api/examples/org cvs server: Diffing openide/api/examples/org/netbeans cvs server: Diffing openide/api/examples/org/netbeans/examples cvs server: Diffing openide/api/examples/org/netbeans/examples/modules cvs server: Diffing openide/api/examples/org/netbeans/examples/modules/audioloader cvs server: Diffing openide/api/examples/org/netbeans/examples/modules/breakpointview cvs server: Diffing openide/api/examples/org/netbeans/examples/modules/explservlet cvs server: Diffing openide/api/examples/org/netbeans/examples/modules/globalactions cvs server: Diffing openide/api/examples/org/netbeans/examples/modules/minicomposer cvs server: Diffing openide/api/examples/org/netbeans/examples/modules/objectview cvs server: Diffing openide/api/examples/org/netbeans/examples/modules/shownodeactions cvs server: Diffing openide/api/examples/org/netbeans/examples/modules/sortbysize cvs server: Diffing openide/api/examples/org/netbeans/examples/modules/testforms cvs server: Diffing openide/api/examples/org/netbeans/examples/modules/unhardcode cvs server: Diffing openide/api/examples/org/netbeans/examples/scripts cvs server: Diffing openide/compat cvs server: Diffing openide/compat/src cvs server: Diffing openide/compat/src/org cvs server: Diffing openide/compat/src/org/openide cvs server: Diffing openide/compat/src/org/openide/awt cvs server: Diffing openide/compat/src/org/openide/filesystems cvs server: Diffing openide/compat/test cvs server: Diffing openide/compat/test/unit cvs server: Diffing openide/compat/test/unit/src cvs server: Diffing openide/compat/test/unit/src/org cvs server: Diffing openide/compat/test/unit/src/org/openide cvs server: Diffing openide/compat/test/unit/src/org/openide/data cvs server: Diffing openide/compat/test/unit/src/org/openide/data/sampledir cvs server: Diffing openide/deprecated cvs server: openide/deprecated/.cvsignore is a new entry, no comparison available cvs server: openide/deprecated/build.xml is a new entry, no comparison available cvs server: openide/deprecated/manifest.mf is a new entry, no comparison available cvs server: Diffing openide/deprecated/src cvs server: Diffing openide/deprecated/src/org cvs server: Diffing openide/deprecated/src/org/openide cvs server: openide/deprecated/src/org/openide/Places.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/TopManager.java is a new entry, no comparison available cvs server: Diffing openide/deprecated/src/org/openide/actions cvs server: openide/deprecated/src/org/openide/actions/AddWatchAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/BuildProjectAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/CompileProjectAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/DebugProjectAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/DebuggerPerformer.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/ExecuteProjectAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/FinishDebuggerAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/GoAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/GoToCursorAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/HelpAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/OpenProjectAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/SaveProjectAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/StartDebuggerAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/StepOutAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/ToggleBreakpointAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/TraceIntoAction.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/actions/TraceOverAction.java is a new entry, no comparison available cvs server: Diffing openide/deprecated/src/org/openide/cookies cvs server: openide/deprecated/src/org/openide/cookies/DebuggerCookie.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/cookies/ElementCookie.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/cookies/ProjectCookie.java is a new entry, no comparison available cvs server: Diffing openide/deprecated/src/org/openide/debugger cvs server: openide/deprecated/src/org/openide/debugger/Breakpoint.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/debugger/Bundle.properties is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/debugger/Bundle_ja.properties is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/debugger/Debugger.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/debugger/DebuggerException.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/debugger/DebuggerInfo.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/debugger/DebuggerNotFoundException.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/debugger/DebuggerType.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/debugger/Watch.java is a new entry, no comparison available cvs server: Diffing openide/deprecated/src/org/openide/deprecated cvs server: openide/deprecated/src/org/openide/deprecated/Bundle.properties is a new entry, no comparison available cvs server: Diffing openide/deprecated/src/org/openide/explorer cvs server: Diffing openide/deprecated/src/org/openide/explorer/propertysheet cvs server: Diffing openide/deprecated/src/org/openide/explorer/propertysheet/editors cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/Bundle.properties is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/Bundle_ja.properties is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/ChoicePropertyEditor.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/DirectoryOnlyEditor.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/ErrorExpressionPanel.form is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/ErrorExpressionPanel.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/ExternalCompiler.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/FileEditor.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/FileOnlyEditor.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/IconEditor.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/ObjectArrayPanel.form is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/ObjectArrayPanel.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/StringArrayCustomEditor.form is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/StringArrayCustomEditor.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/StringArrayCustomizable.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/explorer/propertysheet/editors/StringArrayEditor.java is a new entry, no comparison available cvs server: Diffing openide/deprecated/src/org/openide/loaders cvs server: openide/deprecated/src/org/openide/loaders/DataObjectFilter.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/loaders/ExecSupport.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/loaders/ExtensionListEditor.java is a new entry, no comparison available cvs server: Diffing openide/deprecated/src/org/openide/modules cvs server: openide/deprecated/src/org/openide/modules/Bundle.properties is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/modules/Bundle_ja.properties is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/modules/IllegalModuleException.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/modules/ManifestSection.java is a new entry, no comparison available cvs server: openide/deprecated/src/org/openide/modules/ModuleDescription.java is a new entry, no comparison available cvs server: Diffing openide/deprecated/src/org/openide/options cvs server: openide/deprecated/src/org/openide/options/ControlPanel.java is a new entry, no comparison available cvs server: Diffing openide/deprecated/src/org/openide/util cvs server: Diffing openide/deprecated/src/org/openide/util/actions cvs server: openide/deprecated/src/org/openide/util/actions/ProjectSensitiveAction.java is a new entry, no comparison available cvs server: Diffing openide/src cvs server: Diffing openide/src/META-INF cvs server: Diffing openide/src/META-INF/netbeans cvs server: Diffing openide/src/org cvs server: Diffing openide/src/org/openide Index: openide/src/org/openide/DialogDescriptor.java =================================================================== RCS file: /cvs/openide/src/org/openide/DialogDescriptor.java,v retrieving revision 1.27 diff -u -r1.27 DialogDescriptor.java --- openide/src/org/openide/DialogDescriptor.java 15 Sep 2002 20:23:34 -0000 1.27 +++ openide/src/org/openide/DialogDescriptor.java 16 Oct 2002 04:50:37 -0000 @@ -20,7 +20,7 @@ import org.openide.util.NbBundle; /** A description of a standard dialog. - * It may be built later using {@link TopManager#createDialog} or shown with {@link TopManager#notify}. + * It may be built later using {@link DialogDisplayer#createDialog} or shown with {@link DialogDisplayer#notify}. * It extends NotifyDescriptor's capabilities by allowing specification of the * modal/nonmodal state of the dialog, button behavior and alignment, help, and * a listener on button presses. cvs server: openide/src/org/openide/DialogDisplayer.java is a new entry, no comparison available cvs server: openide/src/org/openide/LifecycleManager.java is a new entry, no comparison available Index: openide/src/org/openide/NotifyDescriptor.java =================================================================== RCS file: /cvs/openide/src/org/openide/NotifyDescriptor.java,v retrieving revision 1.36 diff -u -r1.36 NotifyDescriptor.java --- openide/src/org/openide/NotifyDescriptor.java 15 Sep 2002 20:23:35 -0000 1.36 +++ openide/src/org/openide/NotifyDescriptor.java 16 Oct 2002 04:50:37 -0000 @@ -33,18 +33,18 @@ *

     * NotifyDescriptor d =
     *     new NotifyDescriptor.Message("Hello...", NotifyDescriptor.INFORMATION_MESSAGE);
    -* TopManager.getDefault().notify(d);
    +* DialogDisplayer.getDefault().notify(d);
     * 
    * or to get a result: *
     * NotifyDescriptor d =
     *     new NotifyDescriptor.Confirmation("Really do this?!", "Dialog Title",
     *                                       NotifyDescriptor.OK_CANCEL_OPTION);
    -* if (TopManager.getDefault().notify(d) == NotifyDescriptor.OK_OPTION) {
    +* if (DialogDisplayer.getDefault().notify(d) == NotifyDescriptor.OK_OPTION) {
     *     // really do it...
     * }
     * 
    -* @see TopManager#notify +* @see DialogDisplayer#notify * @author David Peroutka, Jaroslav Tulach */ public class NotifyDescriptor extends Object { @@ -688,7 +688,7 @@ /** * Provides a description of an exception that occurred during * execution of the IDE. - * @deprecated Better to use {@link TopManager#notifyException}, or for more control various methods in {@link ErrorManager}. + * @deprecated Better to use {@link ErrorManager#notify}. */ public static final class Exception extends Confirmation { cvs server: openide/src/org/openide/Places.java was removed, no comparison available Index: openide/src/org/openide/ServiceType.java =================================================================== RCS file: /cvs/openide/src/org/openide/ServiceType.java,v retrieving revision 1.25 diff -u -r1.25 ServiceType.java --- openide/src/org/openide/ServiceType.java 14 Aug 2002 18:22:38 -0000 1.25 +++ openide/src/org/openide/ServiceType.java 16 Oct 2002 04:50:37 -0000 @@ -19,6 +19,7 @@ import java.util.Enumeration; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; /** This class represents an abstract subclass for services * (compilation, execution, debugging, etc.) that can be registered in @@ -282,15 +283,13 @@ */ public ServiceType getServiceType () { if (serviceType == null) { - TopManager tm = TopManager.getDefault (); - // the class to search for Class clazz; // the first subclass of ServiceType to search for Class serviceTypeClass; // try to find it by class try { - clazz = Class.forName (className, true, tm.systemClassLoader ()); + clazz = Class.forName (className, true, (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)); serviceTypeClass = clazz; while (serviceTypeClass.getSuperclass () != ServiceType.class) { @@ -306,8 +305,9 @@ // try to find the executor by name - Enumeration en = tm.getServices ().services (clazz); - ServiceType some = tm.getServices ().find (clazz); + ServiceType.Registry r = (ServiceType.Registry)Lookup.getDefault().lookup(ServiceType.Registry.class); + Enumeration en = r.services (clazz); + ServiceType some = r.find (clazz); while (en.hasMoreElements ()) { ServiceType t = (ServiceType)en.nextElement (); cvs server: openide/src/org/openide/TopManager.java was removed, no comparison available Index: openide/src/org/openide/WizardDescriptor.java =================================================================== RCS file: /cvs/openide/src/org/openide/WizardDescriptor.java,v retrieving revision 1.72 diff -u -r1.72 WizardDescriptor.java --- openide/src/org/openide/WizardDescriptor.java 11 Oct 2002 12:59:40 -0000 1.72 +++ openide/src/org/openide/WizardDescriptor.java 16 Oct 2002 04:50:37 -0000 @@ -47,7 +47,7 @@ * may be traversed at the proper times using the "Previous" * and "Next" buttons (or "Finish" on the last one). * @author Ian Formanek, Jaroslav Tulach -* @see TopManager#createDialog +* @see DialogDisplayer#createDialog */ public class WizardDescriptor extends DialogDescriptor { @@ -978,7 +978,7 @@ panels.previousPanel(); if (ise.getMessage() != null) { // this is only for backward compatitility - TopManager.getDefault().notify(new NotifyDescriptor.Message(ise.getMessage())); + DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(ise.getMessage())); } else { // this should be used (it checks for exception // annotations and severity) cvs server: Diffing openide/src/org/openide/actions Index: openide/src/org/openide/actions/AbstractCompileAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/AbstractCompileAction.java,v retrieving revision 1.32 diff -u -r1.32 AbstractCompileAction.java --- openide/src/org/openide/actions/AbstractCompileAction.java 16 Aug 2002 14:47:43 -0000 1.32 +++ openide/src/org/openide/actions/AbstractCompileAction.java 16 Oct 2002 04:50:37 -0000 @@ -19,7 +19,7 @@ import org.openide.loaders.DataObject; import org.openide.loaders.CompilerSupport; -import org.openide.TopManager; +import org.openide.awt.StatusDisplayer; import org.openide.compiler.CompilerJob; import org.openide.compiler.Compiler; import org.openide.compiler.CompilerTask; @@ -95,7 +95,7 @@ * @param nodes the nodes */ void compileNodes (final Node[] nodes) { - TopManager.getDefault ().setStatusText (message ()); + StatusDisplayer.getDefault().setStatusText(message()); CompilerJob job; DataObject[] objects; boolean useNodes; @@ -120,7 +120,7 @@ } finally { // #10889 // In case some RuntimeException during creation of job, // best to clear the status line since no one else will. - TopManager.getDefault ().setStatusText (""); // NOI18N + StatusDisplayer.getDefault().setStatusText(""); // NOI18N } job.setDisplayName (useNodes ? findName (nodes) : findName(objects)); cvs server: openide/src/org/openide/actions/AddWatchAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/BuildProjectAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/CompileProjectAction.java was removed, no comparison available Index: openide/src/org/openide/actions/CustomizeAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/CustomizeAction.java,v retrieving revision 1.24 diff -u -r1.24 CustomizeAction.java --- openide/src/org/openide/actions/CustomizeAction.java 16 Aug 2002 14:48:00 -0000 1.24 +++ openide/src/org/openide/actions/CustomizeAction.java 16 Oct 2002 04:50:37 -0000 @@ -19,6 +19,7 @@ import org.openide.util.actions.NodeAction; import org.openide.util.NbBundle; import org.openide.nodes.Node; +import org.openide.nodes.NodeOperation; import javax.swing.JMenuItem; import javax.swing.JDialog; @@ -29,9 +30,8 @@ import javax.swing.JPanel; /** Customize a node (rather than using its property sheet). -* @see org.openide.TopManager.NodeOperation#customize +* @see NodeOperation#customize * @author Ian Formanek, Jan Jancura -* @version 0.11, May 16, 1998 */ public class CustomizeAction extends NodeAction { /** generated Serialized Version UID */ @@ -115,7 +115,7 @@ throw new IllegalStateException(); } if (nodes.length == 1) { - org.openide.TopManager.getDefault ().getNodeOperation ().customize (nodes[0]); + NodeOperation.getDefault().customize(nodes[0]); } } } Index: openide/src/org/openide/actions/CustomizeBeanAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/CustomizeBeanAction.java,v retrieving revision 1.41 diff -u -r1.41 CustomizeBeanAction.java --- openide/src/org/openide/actions/CustomizeBeanAction.java 30 Sep 2002 12:23:06 -0000 1.41 +++ openide/src/org/openide/actions/CustomizeBeanAction.java 16 Oct 2002 04:50:37 -0000 @@ -24,6 +24,7 @@ import javax.swing.*; import org.openide.*; +import org.openide.DialogDisplayer; import org.openide.loaders.*; import org.openide.cookies.*; import org.openide.filesystems.FileObject; @@ -160,7 +161,7 @@ dd.setOptions(new Object[] { DialogDescriptor.CLOSED_OPTION }); dd.setHelpCtx( new HelpCtx( HELP_KEY_CUSTOMIZING )); - w = TopManager.getDefault ().createDialog (dd); + w = DialogDisplayer.getDefault ().createDialog (dd); } final Window window = w; @@ -230,7 +231,7 @@ ); - dialog[0] = TopManager.getDefault ().createDialog (descr); + dialog[0] = DialogDisplayer.getDefault ().createDialog (descr); // add listener to close bean window @@ -266,7 +267,6 @@ try { if (file == null) { - TopManager tm = TopManager.getDefault (); JPanel p = new JPanel(new java.awt.BorderLayout(12, 0)); JTextField tf = new JTextField (20); JLabel l = new JLabel(bundle.getString("CTL_SerializeTarget")); @@ -278,10 +278,10 @@ tf.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_SerializeTarget")); try { // selects one folder from data systems - DataFolder df = (DataFolder)tm.getNodeOperation ().select ( + DataFolder df = (DataFolder)NodeOperation.getDefault().select ( bundle.getString ("CTL_SerializeAs"), bundle.getString ("CTL_SaveIn"), - tm.getPlaces().nodes().repository(new FolderFilter()), + RepositoryNodeFactory.getDefault().repository(new FolderFilter()), new FolderAcceptor(), p )[0].getCookie(DataFolder.class); @@ -297,7 +297,9 @@ targetFS = file.getFileSystem (); } } catch (org.openide.filesystems.FileStateInvalidException e) { - TopManager.getDefault ().notify (new NotifyDescriptor.Exception (e, bundle.getString ("EXC_Serialization") + " " + name)); + // XXX I18N violation to separate strings this way - use format instead + ErrorManager.getDefault().annotate(e, bundle.getString ("EXC_Serialization") + " " + name); + ErrorManager.getDefault().notify(e); return false; } cvs server: openide/src/org/openide/actions/DebugProjectAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/DebuggerPerformer.java was removed, no comparison available cvs server: openide/src/org/openide/actions/ExecuteProjectAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/FinishDebuggerAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/GoAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/GoToCursorAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/HelpAction.java was removed, no comparison available Index: openide/src/org/openide/actions/InstantiateAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/InstantiateAction.java,v retrieving revision 1.27 diff -u -r1.27 InstantiateAction.java --- openide/src/org/openide/actions/InstantiateAction.java 16 Aug 2002 14:48:07 -0000 1.27 +++ openide/src/org/openide/actions/InstantiateAction.java 16 Oct 2002 04:50:37 -0000 @@ -74,7 +74,7 @@ /** Instantiate a template object. * Asks user for the target file's folder and creates the file. - * Then runs the node delegate's {@link TopManager.NodeOperation#customize customizer} (if there is one). + * Then runs the node delegate's {@link org.openide.nodes.NodeOperation#customize customizer} (if there is one). * Also the node's {@link Node#getDefaultAction default action}, if any, is run. * @param obj the template to use * @return set of created objects or null if user canceled the action Index: openide/src/org/openide/actions/NewAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/NewAction.java,v retrieving revision 1.37 diff -u -r1.37 NewAction.java --- openide/src/org/openide/actions/NewAction.java 16 Aug 2002 14:48:08 -0000 1.37 +++ openide/src/org/openide/actions/NewAction.java 16 Oct 2002 04:50:37 -0000 @@ -15,6 +15,7 @@ import java.awt.MenuShortcut; import javax.swing.event.*; +import org.openide.DialogDisplayer; import org.openide.util.datatransfer.NewType; import org.openide.loaders.DataObject; @@ -23,7 +24,6 @@ import org.openide.util.actions.*; import org.openide.awt.*; import org.openide.nodes.Node; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.explorer.ExplorerManager; import org.openide.util.NbBundle; @@ -72,7 +72,7 @@ } types[indx].create(); } catch (java.io.IOException e) { - TopManager.getDefault().notify(new NotifyDescriptor.Message(e.getMessage(), NotifyDescriptor.ERROR_MESSAGE)); + DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(e.getMessage(), NotifyDescriptor.ERROR_MESSAGE)); } finally { if (sel != null) { sel.select (); Index: openide/src/org/openide/actions/NewTemplateAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/NewTemplateAction.java,v retrieving revision 1.64 diff -u -r1.64 NewTemplateAction.java --- openide/src/org/openide/actions/NewTemplateAction.java 6 Sep 2002 15:34:35 -0000 1.64 +++ openide/src/org/openide/actions/NewTemplateAction.java 16 Oct 2002 04:50:38 -0000 @@ -96,13 +96,8 @@ wizard.instantiate (); } catch (IOException e) { ErrorManager em = ErrorManager.getDefault(); - Throwable e1 = em.annotate(e, "Creating from template did not succeed."); // NOI18N - em.notify(ErrorManager.INFORMATIONAL, e1); - String msg = e.getMessage(); - if ((msg == null) || msg.equals("")) { // NOI18N - msg = NbBundle.getMessage(NewTemplateAction.class, "EXC_TemplateFailed"); - } - TopManager.getDefault().notify(new NotifyDescriptor.Message(msg, NotifyDescriptor.ERROR_MESSAGE)); + em.annotate(e, NbBundle.getMessage(NewTemplateAction.class, "EXC_TemplateFailed")); + em.notify(e); } finally { if (wizard instanceof DefaultTemplateWizard) { @@ -256,12 +251,8 @@ wizard.instantiate (obj, targetFolder); } catch (IOException e) { ErrorManager em = ErrorManager.getDefault(); - Throwable e1 = em.annotate(e, "Creating from template did not succeed."); // NOI18N - em.notify(ErrorManager.INFORMATIONAL, e1); - String msg = e.getMessage(); - if ((msg == null) || msg.equals("")) // NOI18N - msg = NbBundle.getMessage(NewTemplateAction.class, "EXC_TemplateFailed"); - TopManager.getDefault().notify(new NotifyDescriptor.Message(msg, NotifyDescriptor.ERROR_MESSAGE)); + em.annotate(e, NbBundle.getMessage(NewTemplateAction.class, "EXC_TemplateFailed")); + em.notify(e); } // ok Index: openide/src/org/openide/actions/OpenLocalExplorerAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/OpenLocalExplorerAction.java,v retrieving revision 1.19 diff -u -r1.19 OpenLocalExplorerAction.java --- openide/src/org/openide/actions/OpenLocalExplorerAction.java 16 Aug 2002 14:48:13 -0000 1.19 +++ openide/src/org/openide/actions/OpenLocalExplorerAction.java 16 Oct 2002 04:50:38 -0000 @@ -7,7 +7,7 @@ * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2002 Sun * Microsystems, Inc. All Rights Reserved. */ @@ -18,13 +18,13 @@ import org.openide.util.HelpCtx; import org.openide.util.actions.NodeAction; import org.openide.nodes.Node; -import org.openide.TopManager; +import org.openide.nodes.NodeOperation; import org.openide.util.NbBundle; /** Open an Explorer window with a particular root node. * Final only for better performance. -* @see TopManager.NodeOperation#explore +* @see NodeOperation#explore * @author Ian Formanek */ public final class OpenLocalExplorerAction extends NodeAction { @@ -36,7 +36,7 @@ if ((activatedNodes != null) && (activatedNodes.length == 1) && (activatedNodes[0].isLeaf() == false) ) { - TopManager.getDefault().getNodeOperation ().explore(activatedNodes[0]); + NodeOperation.getDefault().explore(activatedNodes[0]); } } cvs server: openide/src/org/openide/actions/OpenProjectAction.java was removed, no comparison available Index: openide/src/org/openide/actions/PropertiesAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/PropertiesAction.java,v retrieving revision 1.26 diff -u -r1.26 PropertiesAction.java --- openide/src/org/openide/actions/PropertiesAction.java 16 Aug 2002 14:48:18 -0000 1.26 +++ openide/src/org/openide/actions/PropertiesAction.java 16 Oct 2002 04:50:38 -0000 @@ -7,7 +7,7 @@ * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2002 Sun * Microsystems, Inc. All Rights Reserved. */ @@ -18,6 +18,7 @@ import org.openide.util.actions.NodeAction; import org.openide.util.actions.SystemAction; import org.openide.nodes.Node; +import org.openide.nodes.NodeOperation; import org.openide.awt.Actions; import org.openide.awt.JInlineMenu; import org.openide.explorer.propertysheet.PropertySheet; @@ -28,41 +29,25 @@ /** Get properties of a node. * -* @see TopManager.NodeOperation#showProperties(Node[]) +* @see NodeOperation#showProperties(Node[]) * @author Ian Formanek, Jan Jancura */ public class PropertiesAction extends NodeAction { /** generated Serialized Version UID */ static final long serialVersionUID = 5485687384586248747L; - static ThreadLocal activated = new ThreadLocal(); - /* Actually performs action of showing properties * @param activatedNodes Array of activated nodes */ protected void performAction (Node[] activatedNodes) { - try { - Class c = Class.forName("org.openide.actions.PropertiesAction$ShowPropertiesInvoker"); - Runnable r = (Runnable)c.newInstance(); - activated.set(activatedNodes); - r.run(); - return; - } catch (Exception e) { -// e.printStackTrace(); - } catch (LinkageError e) { -// e.printStackTrace(); + if (activatedNodes == null) { + throw new IllegalStateException(); + } + if (activatedNodes.length == 1) { + NodeOperation.getDefault().showProperties(activatedNodes[0]); + } else { + NodeOperation.getDefault().showProperties(activatedNodes); } - // this will be executed only if the ide is not present - // (or something went wrong) - PropertySheet ps = new PropertySheet(); - ps.setNodes(activatedNodes); - JDialog d = new JDialog(); - d.setModal(true); - d.getContentPane().setLayout(new java.awt.BorderLayout()); - d.getContentPane().add(ps, java.awt.BorderLayout.CENTER); - d.pack(); - d.show(); - d.dispose(); } /* Manages enable - disable logic @@ -122,21 +107,4 @@ return "org/openide/resources/actions/properties.gif"; // NOI18N } - /** If the IDE is present this will perform the action. */ - static class ShowPropertiesInvoker implements Runnable { - public void run() { - Node[] activatedNodes = (Node[])activated.get(); - activated.set(null); - if (activatedNodes == null) { - throw new IllegalStateException(); - } - if (activatedNodes.length == 1) { - org.openide.TopManager.getDefault().getNodeOperation(). - showProperties(activatedNodes[0]); - } else { - org.openide.TopManager.getDefault().getNodeOperation(). - showProperties(activatedNodes); - } - } - } } Index: openide/src/org/openide/actions/RenameAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/RenameAction.java,v retrieving revision 1.24 diff -u -r1.24 RenameAction.java --- openide/src/org/openide/actions/RenameAction.java 16 Aug 2002 14:48:20 -0000 1.24 +++ openide/src/org/openide/actions/RenameAction.java 16 Oct 2002 04:50:38 -0000 @@ -13,7 +13,7 @@ package org.openide.actions; -import org.openide.TopManager; +import org.openide.DialogDisplayer; import org.openide.NotifyDescriptor; import org.openide.ErrorManager; import org.openide.util.NbBundle; @@ -68,7 +68,7 @@ NbBundle.getMessage(RenameAction.class, "CTL_RenameLabel"), NbBundle.getMessage(RenameAction.class, "CTL_RenameTitle")); dlg.setInputText(n.getName()); - if (NotifyDescriptor.OK_OPTION.equals(TopManager.getDefault().notify(dlg))) { + if (NotifyDescriptor.OK_OPTION.equals(DialogDisplayer.getDefault().notify(dlg))) { String newname = null; try { newname = dlg.getInputText(); Index: openide/src/org/openide/actions/ReorderAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/ReorderAction.java,v retrieving revision 1.18 diff -u -r1.18 ReorderAction.java --- openide/src/org/openide/actions/ReorderAction.java 22 Nov 2001 08:57:03 -0000 1.18 +++ openide/src/org/openide/actions/ReorderAction.java 16 Oct 2002 04:50:38 -0000 @@ -15,7 +15,6 @@ import java.io.IOException; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.util.actions.*; Index: openide/src/org/openide/actions/SaveAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/SaveAction.java,v retrieving revision 1.25 diff -u -r1.25 SaveAction.java --- openide/src/org/openide/actions/SaveAction.java 19 Feb 2002 14:14:32 -0000 1.25 +++ openide/src/org/openide/actions/SaveAction.java 16 Oct 2002 04:50:38 -0000 @@ -15,7 +15,7 @@ import java.io.IOException; -import org.openide.TopManager; +import org.openide.awt.StatusDisplayer; import org.openide.ErrorManager; import org.openide.util.HelpCtx; import org.openide.util.actions.CookieAction; @@ -44,7 +44,7 @@ if (sc != null) { try { sc.save(); - TopManager.getDefault().setStatusText( + StatusDisplayer.getDefault().setStatusText( NbBundle.getMessage( SaveAction.class, "MSG_saved", Index: openide/src/org/openide/actions/SaveAllAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/SaveAllAction.java,v retrieving revision 1.23 diff -u -r1.23 SaveAllAction.java --- openide/src/org/openide/actions/SaveAllAction.java 16 Aug 2002 14:48:21 -0000 1.23 +++ openide/src/org/openide/actions/SaveAllAction.java 16 Oct 2002 04:50:38 -0000 @@ -15,8 +15,8 @@ import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; +import org.openide.LifecycleManager; -import org.openide.TopManager; import org.openide.loaders.DataObject; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; @@ -26,7 +26,7 @@ /** Save all open objects. * This class is final only for performance reasons. * @see DataObject#getRegistry -* @see TopManager#saveAll +* @see LifecycleManager#saveAll * * @author Jan Jancura, Ian Formanek */ @@ -78,7 +78,7 @@ /* Saves all. */ public void performAction() { - TopManager.getDefault().saveAll(); + LifecycleManager.getDefault().saveAll(); } /* Listens to the chnages in list of modified data objects Index: openide/src/org/openide/actions/SaveAsTemplateAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/SaveAsTemplateAction.java,v retrieving revision 1.21 diff -u -r1.21 SaveAsTemplateAction.java --- openide/src/org/openide/actions/SaveAsTemplateAction.java 16 Aug 2002 14:48:22 -0000 1.21 +++ openide/src/org/openide/actions/SaveAsTemplateAction.java 16 Oct 2002 04:50:38 -0000 @@ -24,14 +24,13 @@ import org.openide.loaders.DataFolder; import org.openide.loaders.DataObject; import org.openide.loaders.DataObjectNotFoundException; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.filesystems.*; +import org.openide.nodes.NodeOperation; import org.openide.util.NbBundle; /** Saves a data object to a folder under in the * system's templates area. -* @see org.openide.Places.Folders#templates * * @author Ales Novak, Dafe Simonek */ @@ -98,13 +97,20 @@ NodeAcceptor acceptor = FolderNodeAcceptor.getInstance(); String title = NbBundle.getMessage(SaveAsTemplateAction.class, "Title_SaveAsTemplate"); String rootTitle = NbBundle.getMessage(SaveAsTemplateAction.class, "CTL_SaveAsTemplate"); - DataObject templates = - TopManager.getDefault().getPlaces().folders().templates(); + FileObject fo = Repository.getDefault().getDefaultFileSystem().findResource("Templates"); // NOI18N + if (fo == null) return; + DataObject templates; + try { + templates = DataObject.find(fo); + } catch (IOException ioe) { + ErrorManager.getDefault().notify(ioe); + return; + } Node templatesNode = templates.getNodeDelegate(); Node[] selected; // ask user: where to save the templates? try { - selected = TopManager.getDefault().getNodeOperation(). + selected = NodeOperation.getDefault(). select(title, rootTitle, templatesNode, acceptor, null); } catch (UserCancelException ex) { // user cancelled the operation cvs server: openide/src/org/openide/actions/SaveProjectAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/StartDebuggerAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/StepOutAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/ToggleBreakpointAction.java was removed, no comparison available Index: openide/src/org/openide/actions/ToolsAction.java =================================================================== RCS file: /cvs/openide/src/org/openide/actions/ToolsAction.java,v retrieving revision 1.38 diff -u -r1.38 ToolsAction.java --- openide/src/org/openide/actions/ToolsAction.java 16 Aug 2002 14:48:25 -0000 1.38 +++ openide/src/org/openide/actions/ToolsAction.java 16 Oct 2002 04:50:38 -0000 @@ -17,11 +17,12 @@ import javax.swing.*; import javax.swing.event.*; import java.util.*; +import org.openide.actions.ActionManager; -import org.openide.TopManager; import org.openide.awt.JInlineMenu; import org.openide.util.NbBundle; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.actions.*; /** A "meta-action" that displays (in a submenu) a list of enabled actions provided by modules. @@ -100,7 +101,7 @@ * @param list (can be null) */ private static List generate (boolean forMenu) { - ActionManager am = TopManager.getDefault ().getActionManager (); + ActionManager am = (ActionManager)Lookup.getDefault().lookup(ActionManager.class); SystemAction[] actions = am.getContextActions (); List list = new ArrayList( actions.length ); @@ -329,7 +330,7 @@ public static final String PROP_STATE = "actionsState"; // NOI18N public G() { - ActionManager am = TopManager.getDefault().getActionManager(); + ActionManager am = (ActionManager)Lookup.getDefault().lookup(ActionManager.class); am.addPropertyChangeListener ( this ); actionsListChanged(); } @@ -368,7 +369,7 @@ } } - ActionManager am = TopManager.getDefault ().getActionManager (); + ActionManager am = (ActionManager)Lookup.getDefault().lookup(ActionManager.class); copy = am.getContextActions (); for (int i = 0; i < copy.length; i++) { SystemAction act = copy[i]; cvs server: openide/src/org/openide/actions/TraceIntoAction.java was removed, no comparison available cvs server: openide/src/org/openide/actions/TraceOverAction.java was removed, no comparison available cvs server: Diffing openide/src/org/openide/awt Index: openide/src/org/openide/awt/Actions.java =================================================================== RCS file: /cvs/openide/src/org/openide/awt/Actions.java,v retrieving revision 1.68 diff -u -r1.68 Actions.java --- openide/src/org/openide/awt/Actions.java 15 Oct 2002 20:02:46 -0000 1.68 +++ openide/src/org/openide/awt/Actions.java 16 Oct 2002 04:50:38 -0000 @@ -16,6 +16,8 @@ import java.awt.*; import java.awt.event.*; import java.beans.*; +import java.util.Observable; +import java.util.Observer; import javax.swing.*; import javax.swing.event.*; import javax.swing.text.Keymap; @@ -33,11 +35,6 @@ */ public class Actions extends Object { - /** Top manager listener listens on TopManager.PROP_GLOBAL_KEYMAP, initialized - * lazily - */ - private static Object GLOBAL_KEYMAP; - /** Method that finds the keydescription assigned to this action. * @param action action to find key for * @return the text representing the key or null if there is no text assigned @@ -129,28 +126,19 @@ b.updateState (null); } - /** Adds a change listener to TopManager's keymap. + /** Adds a change listener to default keymap. */ - private static void addKeymapListener (PropertyChangeListener l) { - if (GLOBAL_KEYMAP == null) { - synchronized (Actions.class) { - if (GLOBAL_KEYMAP == null) { - try { - Class c = Class.forName("org.openide.awt.Actions$GlobalKeymapL"); // NOI18N - GLOBAL_KEYMAP = (PropertyChangeSupport)c.newInstance(); - } catch (Exception e) { - // any object just do not ask again - GLOBAL_KEYMAP = new Object (); - } catch (LinkageError e) { - GLOBAL_KEYMAP = new Object (); - } + private static void addKeymapListener (final PropertyChangeListener l) { + Keymap map = (Keymap)org.openide.util.Lookup.getDefault().lookup(Keymap.class); + // This is a hack. Since there is no official API for notifying changes + // from Keymap, just rely on fact that core impl is an Observable. + if (map instanceof Observable) { + Observable o = (Observable)map; + o.addObserver(new Observer() { + public void update(Observable o, Object arg) { + l.propertyChange(new PropertyChangeEvent(o, "globalKeymap", null, null)); // NOI18N } - } - } - if (GLOBAL_KEYMAP instanceof PropertyChangeSupport) { - ((PropertyChangeSupport)GLOBAL_KEYMAP).addPropertyChangeListener ( - WeakListener.propertyChange(l, GLOBAL_KEYMAP) - ); + }); } } @@ -1145,26 +1133,4 @@ } } - - /** Inner class that listens on property change of top manager and - * if PROP_GLOBAL_KEYMAP is fired, then fires to own listeners - * in AWT thread. - */ - static final class GlobalKeymapL extends PropertyChangeSupport - implements PropertyChangeListener, Runnable { - GlobalKeymapL () { - super (org.openide.TopManager.getDefault()); - org.openide.TopManager.getDefault ().addPropertyChangeListener (this); - } - - public void propertyChange(PropertyChangeEvent ev) { - if (org.openide.TopManager.PROP_GLOBAL_KEYMAP == ev.getPropertyName ()) { - Mutex.EVENT.readAccess (this); - } - } - - public void run () { - firePropertyChange (org.openide.TopManager.PROP_GLOBAL_KEYMAP, null, null); - } - } } Index: openide/src/org/openide/awt/HtmlBrowser.java =================================================================== RCS file: /cvs/openide/src/org/openide/awt/HtmlBrowser.java,v retrieving revision 1.75 diff -u -r1.75 HtmlBrowser.java --- openide/src/org/openide/awt/HtmlBrowser.java 9 Oct 2002 11:10:08 -0000 1.75 +++ openide/src/org/openide/awt/HtmlBrowser.java 16 Oct 2002 04:50:38 -0000 @@ -57,13 +57,12 @@ /** * Object that provides viewer for HTML pages. *

    If all you want to do is to show some URL in the IDE's normal way, this -* is overkill. Just use {@link TopManager#showUrl} instead. Using HtmlBrowser +* is overkill. Just use {@link HtmlBrowser.URLDisplayer#showURL} instead. Using HtmlBrowser * is appropriate mainly if you want to embed a web browser in some other GUI component * (if the user has selected an external browser, this will fall back to a simple Swing -* renderer). Similarly BrowserComponent provides a dockable window with -* the same, and Impl (coming from a Factory) is the lower-level +* renderer). Similarly Impl (coming from a Factory) is the lower-level * renderer itself (sans toolbar). -*

    Summary: for client use, try TopManager.showUrl, or for more control +*

    Summary: for client use, try URLDisplayer.showURL, or for more control * or where embedding is needed, create an HtmlBrowser. For provider use, * create a Factory and register an instance of it to lookup. */ @@ -616,6 +615,13 @@ } } + /** A dockable component showing a browser. + * @deprecated Better to use either {@link HtmlBrowser} directly + * if you know you want an embedded browser pane, or + * {@link HtmlBrowser.URLDisplayer} if you simply wish + * to display a page but want to use the configured web + * browser, possibly an external browser if available. + */ public static class BrowserComponent extends CloneableTopComponent { /** generated Serialized Version UID */ static final long serialVersionUID = 2912844785502987960L; @@ -1001,6 +1007,30 @@ * Returns a new instance of BrowserImpl implementation. */ public Impl createHtmlBrowserImpl (); + } + + /** A manager class which can display URLs in the proper way. + * Might open a selected HTML browser, knows about embedded vs. external + * browsers, etc. + * @since 3.14 + */ + public static abstract class URLDisplayer { + + /** Get the default URL displayer. + * @return the default instance from lookup + */ + public static URLDisplayer getDefault() { + return (URLDisplayer)Lookup.getDefault().lookup(URLDisplayer.class); + } + + /** Subclass constructor. */ + protected URLDisplayer() {} + + /** Display a URL to the user somehow. + * @param u the URL to show + */ + public abstract void showURL(URL u); + } ////// Accessibility ////// Index: openide/src/org/openide/awt/MenuBar.java =================================================================== RCS file: /cvs/openide/src/org/openide/awt/MenuBar.java,v retrieving revision 1.45 diff -u -r1.45 MenuBar.java --- openide/src/org/openide/awt/MenuBar.java 17 Jul 2002 10:37:29 -0000 1.45 +++ openide/src/org/openide/awt/MenuBar.java 16 Oct 2002 04:50:38 -0000 @@ -19,10 +19,12 @@ import java.util.*; import java.util.Iterator; import javax.swing.*; +import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.loaders.*; import org.openide.cookies.InstanceCookie; +import org.openide.filesystems.FileObject; +import org.openide.filesystems.Repository; import org.openide.nodes.*; import org.openide.util.actions.Presenter; import org.openide.util.*; @@ -73,9 +75,13 @@ public MenuBar(DataFolder folder) { super(); // PENDING(david) -- setBorder(new MenuBorder()); - startLoading((folder == null) - ? TopManager.getDefault().getPlaces().folders().menus() - : folder); + DataFolder theFolder = folder; + if (theFolder == null) { + FileObject fo = Repository.getDefault().getDefaultFileSystem().findResource("Menu"); + if (fo == null) throw new IllegalStateException("No Menu/"); // NOI18N + theFolder = DataFolder.findFolder(fo); + } + startLoading(theFolder); if(folder != null) { getAccessibleContext().setAccessibleDescription(folder.getName()); cvs server: openide/src/org/openide/awt/StatusDisplayer.java is a new entry, no comparison available Index: openide/src/org/openide/awt/SwingBrowserImpl.java =================================================================== RCS file: /cvs/openide/src/org/openide/awt/SwingBrowserImpl.java,v retrieving revision 1.21 diff -u -r1.21 SwingBrowserImpl.java --- openide/src/org/openide/awt/SwingBrowserImpl.java 28 Aug 2002 11:29:49 -0000 1.21 +++ openide/src/org/openide/awt/SwingBrowserImpl.java 16 Oct 2002 04:50:38 -0000 @@ -313,20 +313,19 @@ *

    * If debugger runs it will set content type to text/html. * Forwarding is not supported is that case. + *

    Control using sysprop org.openide.awt.SwingBrowserImpl.do-not-block-awt=true. * * @param page the URL of the page */ protected InputStream getStream (URL page) throws IOException { - try { - if (org.openide.TopManager.getDefault ().getDebugger ().getState () == org.openide.debugger.Debugger.DEBUGGER_NOT_RUNNING) - return super.getStream (page); - } catch (org.openide.debugger.DebuggerNotFoundException ex) { + // XXX debugger ought to set this temporarily + if (Boolean.getBoolean("org.openide.awt.SwingBrowserImpl.do-not-block-awt")) { + // try to set contentType quickly and return (don't block AWT Thread) + setContentType ("text/html"); // NOI18N + return new FilteredInputStream (page.openConnection()); + } else { return super.getStream (page); } - - // try to set contentType quickly and return (don't block AWT Thread) - setContentType ("text/html"); // NOI18N - return new FilteredInputStream (page.openConnection()); } } @@ -392,4 +391,3 @@ } } - Index: openide/src/org/openide/awt/ToolbarPool.java =================================================================== RCS file: /cvs/openide/src/org/openide/awt/ToolbarPool.java,v retrieving revision 1.56 diff -u -r1.56 ToolbarPool.java --- openide/src/org/openide/awt/ToolbarPool.java 16 Jul 2002 08:58:47 -0000 1.56 +++ openide/src/org/openide/awt/ToolbarPool.java 16 Oct 2002 04:50:38 -0000 @@ -29,6 +29,8 @@ import org.openide.*; import org.openide.loaders.*; import org.openide.cookies.InstanceCookie; +import org.openide.filesystems.FileObject; +import org.openide.filesystems.Repository; import org.openide.util.Task; import org.openide.util.TaskListener; @@ -74,9 +76,10 @@ */ public static synchronized ToolbarPool getDefault () { if (defaultPool == null) { - defaultPool = new ToolbarPool ( - TopManager.getDefault ().getPlaces ().folders ().toolbars () - ); + FileObject fo = Repository.getDefault().getDefaultFileSystem().findResource("Toolbars"); // NOI18N + if (fo == null) throw new IllegalStateException("No Toolbars/"); // NOI18N + DataFolder folder = DataFolder.findFolder(fo); + defaultPool = new ToolbarPool(folder); // we mustn't do this in constructor to prevent from // nevereding recursive calls to this method. defaultPool.instance.recreate(); cvs server: Diffing openide/src/org/openide/compiler Index: openide/src/org/openide/compiler/CompilationEngine.java =================================================================== RCS file: /cvs/openide/src/org/openide/compiler/CompilationEngine.java,v retrieving revision 1.17 diff -u -r1.17 CompilationEngine.java --- openide/src/org/openide/compiler/CompilationEngine.java 24 Apr 2002 14:27:38 -0000 1.17 +++ openide/src/org/openide/compiler/CompilationEngine.java 16 Oct 2002 04:50:38 -0000 @@ -18,7 +18,7 @@ /** Provides support for compilation of * CompilerJobs; not needed directly by modules. * There is only one instance in the system, -* accessible via {@link org.openide.TopManager#getCompilationEngine}. +* accessible via {@link #getDefault}. * * @author Jaroslav Tulach */ Index: openide/src/org/openide/compiler/CompilerExecutor.java =================================================================== RCS file: /cvs/openide/src/org/openide/compiler/CompilerExecutor.java,v retrieving revision 1.32 diff -u -r1.32 CompilerExecutor.java --- openide/src/org/openide/compiler/CompilerExecutor.java 24 Apr 2002 14:27:38 -0000 1.32 +++ openide/src/org/openide/compiler/CompilerExecutor.java 16 Oct 2002 04:50:38 -0000 @@ -18,12 +18,14 @@ import java.io.IOException; import java.util.List; import java.util.LinkedList; +import org.openide.LifecycleManager; -import org.openide.TopManager; +import org.openide.awt.StatusDisplayer; import org.openide.execution.*; import org.openide.filesystems.*; import org.openide.util.io.FoldingIOException; import org.openide.util.NbBundle; +import org.openide.windows.IOProvider; import org.openide.windows.InputOutput; /** For external compilation - runs external compiler through std @@ -71,7 +73,7 @@ private static InputOutput getCompilerIO() { String outName = NbBundle.getBundle("org.openide.compiler.Bundle").getString ("CTL_CompileTab"); - return TopManager.getDefault().getIO(outName, false); + return IOProvider.getDefault().getIO(outName, false); } /** Executes a compilation @@ -145,10 +147,10 @@ public void run() { try { // Save all modified files - TopManager.getDefault().saveAll(); + LifecycleManager.getDefault().saveAll(); String msg = eeg.getStatusLineText(); - TopManager.getDefault().setStatusText(msg); + StatusDisplayer.getDefault().setStatusText(msg); csp = new CompilerSysProcess( this, Index: openide/src/org/openide/compiler/CompilerType.java =================================================================== RCS file: /cvs/openide/src/org/openide/compiler/CompilerType.java,v retrieving revision 1.9 diff -u -r1.9 CompilerType.java --- openide/src/org/openide/compiler/CompilerType.java 15 Jul 2002 09:57:22 -0000 1.9 +++ openide/src/org/openide/compiler/CompilerType.java 16 Oct 2002 04:50:38 -0000 @@ -16,9 +16,9 @@ import java.util.*; import org.openide.ServiceType; -import org.openide.TopManager; import org.openide.loaders.DataObject; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; import org.openide.util.NbBundle; /** Base class defining method for compilation service. @@ -50,7 +50,7 @@ * @deprecated Please use {@link org.openide.util.Lookup} instead. */ public static Enumeration compilerTypes () { - return TopManager.getDefault ().getServices ().services (CompilerType.class); + return Collections.enumeration(Lookup.getDefault().lookup(new Lookup.Template(CompilerType.class)).allInstances()); } /** Find the @@ -66,12 +66,7 @@ * @deprecated Please use {@link org.openide.util.Lookup} instead. */ public static CompilerType find (Class clazz) { - ServiceType t = TopManager.getDefault ().getServices ().find (clazz); - if (t instanceof CompilerType) { - return (CompilerType)t; - } else { - return null; - } + return (CompilerType)Lookup.getDefault().lookup(clazz); } /** Find the @@ -86,7 +81,7 @@ * @return the desired compiler or null if it does not exist */ public static CompilerType find (String name) { - ServiceType t = TopManager.getDefault ().getServices ().find (name); + ServiceType t = ((ServiceType.Registry)Lookup.getDefault().lookup(ServiceType.Registry.class)).find (name); if (t instanceof CompilerType) { return (CompilerType)t; } else { Index: openide/src/org/openide/compiler/NoCompiler.java =================================================================== RCS file: /cvs/openide/src/org/openide/compiler/NoCompiler.java,v retrieving revision 1.3 diff -u -r1.3 NoCompiler.java --- openide/src/org/openide/compiler/NoCompiler.java 25 Sep 2002 11:43:16 -0000 1.3 +++ openide/src/org/openide/compiler/NoCompiler.java 16 Oct 2002 04:50:38 -0000 @@ -7,12 +7,12 @@ * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2001 Sun + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2002 Sun * Microsystems, Inc. All Rights Reserved. */ package org.openide.compiler; -import org.openide.TopManager; +import org.openide.awt.StatusDisplayer; import org.openide.loaders.DataObject; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; @@ -36,7 +36,7 @@ } public void prepareJob (CompilerJob ign1, Class ign2, DataObject dob) { - TopManager.getDefault ().setStatusText ( + StatusDisplayer.getDefault ().setStatusText ( NbBundle.getMessage (NoCompiler.class, "MSG_NoCompiler", // NOI18N dob.getPrimaryFile ().getPath()) ); cvs server: Diffing openide/src/org/openide/cookies cvs server: openide/src/org/openide/cookies/DebuggerCookie.java was removed, no comparison available cvs server: openide/src/org/openide/cookies/ElementCookie.java was removed, no comparison available Index: openide/src/org/openide/cookies/FilterCookie.java =================================================================== RCS file: /cvs/openide/src/org/openide/cookies/FilterCookie.java,v retrieving revision 1.8 diff -u -r1.8 FilterCookie.java --- openide/src/org/openide/cookies/FilterCookie.java 10 Jan 2002 15:22:18 -0000 1.8 +++ openide/src/org/openide/cookies/FilterCookie.java 16 Oct 2002 04:50:38 -0000 @@ -17,7 +17,7 @@ /** Cookie for node groups which can somehow be filtered. * This would be applied to a subclass of {@link org.openide.nodes.Children Children}. -* +* @deprecated Use Looks instead. * @author Jaroslav Tulach, Jan Jancura, Dafe Simonek */ public interface FilterCookie extends Node.Cookie { cvs server: openide/src/org/openide/cookies/ProjectCookie.java was removed, no comparison available cvs server: openide/src/org/openide/cookies/SourceCookie.java was removed, no comparison available cvs server: Diffing openide/src/org/openide/debugger cvs server: openide/src/org/openide/debugger/Breakpoint.java was removed, no comparison available cvs server: openide/src/org/openide/debugger/Bundle.properties was removed, no comparison available cvs server: openide/src/org/openide/debugger/Bundle_ja.properties was removed, no comparison available cvs server: openide/src/org/openide/debugger/Debugger.java was removed, no comparison available cvs server: openide/src/org/openide/debugger/DebuggerException.java was removed, no comparison available cvs server: openide/src/org/openide/debugger/DebuggerInfo.java was removed, no comparison available cvs server: openide/src/org/openide/debugger/DebuggerNotFoundException.java was removed, no comparison available cvs server: openide/src/org/openide/debugger/DebuggerType.java was removed, no comparison available cvs server: openide/src/org/openide/debugger/Watch.java was removed, no comparison available cvs server: Diffing openide/src/org/openide/execution Index: openide/src/org/openide/execution/Executor.java =================================================================== RCS file: /cvs/openide/src/org/openide/execution/Executor.java,v retrieving revision 1.25 diff -u -r1.25 Executor.java --- openide/src/org/openide/execution/Executor.java 15 Jul 2002 09:57:24 -0000 1.25 +++ openide/src/org/openide/execution/Executor.java 16 Oct 2002 04:50:38 -0000 @@ -16,15 +16,15 @@ import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.IOException; +import java.util.Collections; import java.util.Enumeration; -import org.openide.TopManager; import org.openide.ServiceType; import org.openide.util.HelpCtx; import org.openide.loaders.DataObject; -import org.openide.loaders.ExecSupport; import org.openide.loaders.FileEntry; import org.openide.cookies.ArgumentsCookie; +import org.openide.util.Lookup; /** Implements the execution of a class. * There may be several different types of executors installed in the system, @@ -91,7 +91,7 @@ * @deprecated Please use {@link org.openide.util.Lookup} instead. */ public static Enumeration executors () { - return TopManager.getDefault ().getServices ().services (Executor.class); + return Collections.enumeration(Lookup.getDefault().lookup(new Lookup.Template(Executor.class)).allInstances()); } /** Find the @@ -107,12 +107,7 @@ * @deprecated Please use {@link org.openide.util.Lookup} instead. */ public static Executor find (Class clazz) { - ServiceType t = TopManager.getDefault ().getServices ().find (clazz); - if (t instanceof Executor) { - return (Executor)t; - } else { - return null; - } + return (Executor)Lookup.getDefault().lookup(clazz); } /** Find the @@ -127,7 +122,7 @@ * @return the desired executor or null if it does not exist */ public static Executor find (String name) { - ServiceType t = TopManager.getDefault ().getServices ().find (name); + ServiceType t = ((ServiceType.Registry)Lookup.getDefault().lookup(ServiceType.Registry.class)).find (name); if (t instanceof Executor) { return (Executor)t; } else { @@ -136,7 +131,7 @@ } /** Get the default executor for the system's execution engine. - *

    You may actually want {@link org.openide.loaders.ExecSupport#getExecutor}. + *

    You may actually want {@link org.openide.loaders.ExecutionSupport#getExecutor}. * @return the default executor * @deprecated The notion of a default executor for all file types is probably meaningless. */ Index: openide/src/org/openide/execution/ExecutorType.java =================================================================== RCS file: /cvs/openide/src/org/openide/execution/ExecutorType.java,v retrieving revision 1.7 diff -u -r1.7 ExecutorType.java --- openide/src/org/openide/execution/ExecutorType.java 10 Jan 2002 15:22:18 -0000 1.7 +++ openide/src/org/openide/execution/ExecutorType.java 16 Oct 2002 04:50:38 -0000 @@ -19,6 +19,7 @@ import java.util.Enumeration; import org.openide.*; +import org.openide.util.Lookup; /** Patch for backward compatibility of executors and debugger types. * @@ -54,14 +55,13 @@ ServiceType exc = null; // try to find the executor by name - TopManager tm = TopManager.getDefault (); - ServiceType.Registry r = tm.getServices (); + ServiceType.Registry r = (ServiceType.Registry)Lookup.getDefault().lookup(ServiceType.Registry.class); exc = r.find (name); if (exc == null) { // try to find it by class try { exc = r.find ( - Class.forName (className, true, tm.systemClassLoader ()) + Class.forName (className, true, (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)) ); } catch (ClassNotFoundException ex) { } Index: openide/src/org/openide/execution/NbClassLoader.java =================================================================== RCS file: /cvs/openide/src/org/openide/execution/NbClassLoader.java,v retrieving revision 1.25 diff -u -r1.25 NbClassLoader.java --- openide/src/org/openide/execution/NbClassLoader.java 24 Apr 2002 14:27:39 -0000 1.25 +++ openide/src/org/openide/execution/NbClassLoader.java 16 Oct 2002 04:50:38 -0000 @@ -27,7 +27,6 @@ import java.util.jar.Manifest; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.filesystems.*; import org.openide.util.Lookup; import org.openide.windows.InputOutput; @@ -59,7 +58,6 @@ /** Create a new class loader retrieving classes from the core IDE as well as the Repository. * @see FileSystemCapability#EXECUTE * @see FileSystemCapability#fileSystems - * @see TopManager#systemClassLoader */ public NbClassLoader () { super ( @@ -72,7 +70,6 @@ * and redirecting system I/O. * @param io an I/O tab in the Output Window * @see org.openide.filesystems.Repository#getFileSystems - * @see TopManager#systemClassLoader */ public NbClassLoader(InputOutput io) { this(); @@ -81,7 +78,6 @@ /** Create a new class loader retrieving classes from the core IDE as well as specified file systems. * @param fileSystems file systems to load classes from - * @see TopManager#systemClassLoader */ public NbClassLoader (FileSystem[] fileSystems) { this(fileSystems, systemClassLoader()); @@ -196,7 +192,6 @@ pc = super.getPermissions(cs); } } else { - // OK to use TopManager here; no one could create an InputOutput otherwise... ExecutionEngine engine = ExecutionEngine.getDefault(); pc = engine.createPermissions(cs, inout); if (defaultPermissions != null) { Index: openide/src/org/openide/execution/NbProcessDescriptor.java =================================================================== RCS file: /cvs/openide/src/org/openide/execution/NbProcessDescriptor.java,v retrieving revision 1.41 diff -u -r1.41 NbProcessDescriptor.java --- openide/src/org/openide/execution/NbProcessDescriptor.java 4 Oct 2002 15:25:08 -0000 1.41 +++ openide/src/org/openide/execution/NbProcessDescriptor.java 16 Oct 2002 04:50:38 -0000 @@ -22,7 +22,6 @@ import java.lang.reflect.Method; import java.util.*; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.util.NbBundle; import org.openide.util.Utilities; Index: openide/src/org/openide/execution/NbResourceStreamHandler.java =================================================================== RCS file: /cvs/openide/src/org/openide/execution/NbResourceStreamHandler.java,v retrieving revision 1.8 diff -u -r1.8 NbResourceStreamHandler.java --- openide/src/org/openide/execution/NbResourceStreamHandler.java 29 Sep 2002 14:47:46 -0000 1.8 +++ openide/src/org/openide/execution/NbResourceStreamHandler.java 16 Oct 2002 04:50:38 -0000 @@ -17,8 +17,8 @@ import java.net.*; import java.util.*; -import org.openide.TopManager; import org.openide.ErrorManager; +import org.openide.util.Lookup; import org.openide.util.NbBundle; /** Stream handler for internal resource-based URLs. @@ -90,11 +90,10 @@ ClassLoader loader; switch (current) { case 2: - loader = TopManager.getDefault ().currentClassLoader (); - if (loader != null) break; - // otherwise try another loader + loader = new NbClassLoader(); + break; case 1: - loader = TopManager.getDefault ().systemClassLoader (); + loader = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); if (loader != null) break; // otherwise try another loader case 0: Index: openide/src/org/openide/execution/NbfsStreamHandlerFactory.java =================================================================== RCS file: /cvs/openide/src/org/openide/execution/NbfsStreamHandlerFactory.java,v retrieving revision 1.8 diff -u -r1.8 NbfsStreamHandlerFactory.java --- openide/src/org/openide/execution/NbfsStreamHandlerFactory.java 29 Sep 2002 14:47:46 -0000 1.8 +++ openide/src/org/openide/execution/NbfsStreamHandlerFactory.java 16 Oct 2002 04:50:38 -0000 @@ -65,8 +65,6 @@ * Deprecated - meaning of "system classpath" is ill-defined. Use nbresloc instead. * * @see NbfsURLConnection - * @see org.openide.TopManager#systemClassLoader - * @see org.openide.TopManager#currentClassLoader * @see NbBundle#getLocalizedFile(String,String,Locale,ClassLoader) */ public NbfsStreamHandlerFactory () { Index: openide/src/org/openide/execution/ProcessExecutor.java =================================================================== RCS file: /cvs/openide/src/org/openide/execution/ProcessExecutor.java,v retrieving revision 1.69 diff -u -r1.69 ProcessExecutor.java --- openide/src/org/openide/execution/ProcessExecutor.java 15 Sep 2002 20:23:36 -0000 1.69 +++ openide/src/org/openide/execution/ProcessExecutor.java 16 Oct 2002 04:50:38 -0000 @@ -28,7 +28,6 @@ import java.util.ArrayList; import java.util.StringTokenizer; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.filesystems.*; import org.openide.loaders.DataObject; Index: openide/src/org/openide/execution/ScriptType.java =================================================================== RCS file: /cvs/openide/src/org/openide/execution/ScriptType.java,v retrieving revision 1.7 diff -u -r1.7 ScriptType.java --- openide/src/org/openide/execution/ScriptType.java 15 Jul 2002 09:57:24 -0000 1.7 +++ openide/src/org/openide/execution/ScriptType.java 16 Oct 2002 04:50:38 -0000 @@ -14,9 +14,11 @@ package org.openide.execution; import java.lang.reflect.InvocationTargetException; +import java.util.Collections; import org.openide.filesystems.*; import org.openide.*; +import org.openide.util.Lookup; /** * Base class for scripting interpreters. @@ -107,7 +109,7 @@ * @deprecated Please use {@link org.openide.util.Lookup} instead. */ public static java.util.Enumeration scriptTypes () { - return TopManager.getDefault ().getServices ().services (ScriptType.class); + return Collections.enumeration(Lookup.getDefault().lookup(new Lookup.Template(ScriptType.class)).allInstances()); } /** @@ -117,12 +119,7 @@ * @deprecated Please use {@link org.openide.util.Lookup} instead. */ public static ScriptType find (Class clazz) { - ServiceType t = TopManager.getDefault ().getServices ().find (clazz); - if (t instanceof ScriptType) { - return (ScriptType)t; - } else { - return null; - } + return (ScriptType)Lookup.getDefault().lookup(clazz); } /** @@ -131,7 +128,7 @@ * @return the desired script type or null if it does not exist */ public static ScriptType find (String name) { - ServiceType t = TopManager.getDefault ().getServices ().find (name); + ServiceType t = ((ServiceType.Registry)Lookup.getDefault().lookup(ServiceType.Registry.class)).find (name); if (t instanceof ScriptType) { return (ScriptType)t; } else { cvs server: Diffing openide/src/org/openide/explorer Index: openide/src/org/openide/explorer/ExplorerActions.java =================================================================== RCS file: /cvs/openide/src/org/openide/explorer/ExplorerActions.java,v retrieving revision 1.49 diff -u -r1.49 ExplorerActions.java --- openide/src/org/openide/explorer/ExplorerActions.java 6 May 2002 15:57:41 -0000 1.49 +++ openide/src/org/openide/explorer/ExplorerActions.java 16 Oct 2002 04:50:38 -0000 @@ -24,14 +24,22 @@ import java.beans.PropertyChangeListener; import java.beans.PropertyChangeEvent; +import org.openide.DialogDisplayer; import org.openide.util.datatransfer.*; import org.openide.ErrorManager; +import org.openide.NotifyDescriptor; import org.openide.actions.CutAction; import org.openide.actions.CopyAction; import org.openide.actions.PasteAction; import org.openide.actions.DeleteAction; +import org.openide.filesystems.FileObject; +import org.openide.filesystems.FileStateInvalidException; +import org.openide.filesystems.FileSystem; +import org.openide.filesystems.Repository; +import org.openide.loaders.DataObject; +import org.openide.loaders.DataShadow; import org.openide.util.actions.ActionPerformer; import org.openide.nodes.Node; @@ -455,14 +463,8 @@ if ((sel == null) || (sel.length == 0)) return; - isConfirmed = !confirmDelete; - // ask for confirmation if not confirmed - if (isConfirmed == false) { - selectedNodes.set(sel); - doConfirm(); - } // perform action if confirmed - if (isConfirmed) { + if (!confirmDelete || doConfirm(sel)) { // clear selected nodes try { @@ -479,161 +481,72 @@ } } - private void doConfirm() { - try { - Class c = Class.forName("org.openide.explorer.ExplorerActions$ConfirmationInvoker"); // NOI18N - Runnable r = (Runnable) c.newInstance(); - r.run(); - return; - } catch (Exception e) { - // if something went wrong just - // resort to swing (IDE probably not present) - } catch (LinkageError e) { - } - int res = javax.swing.JOptionPane.showConfirmDialog(null, - message, title, - javax.swing.JOptionPane.YES_NO_OPTION); - isConfirmed = (res == JOptionPane.YES_OPTION); - } - - private void doDestroy(Node[] sel) { - DestroyAtomic da = new DestroyAtomic(); - da.sel = sel; - destroyRunnable.set(da); - try { - Class c = Class.forName("org.openide.explorer.ExplorerActions$DestroyInvoker"); // NOI18N - Runnable r = (Runnable) c.newInstance(); - r.run(); - return; - } catch (IllegalStateException ise) { - // this should be annotated properly and should - // come from DestroyInvoker. It means real problem - // and rethrow - throw ise; - } catch (Exception e) { - // if something went wrong just - // call the action directly (IDE probably not present) - } catch (LinkageError e) { - } - try { - da.invoke(null, null, null); - } catch (Exception e) { - ErrorManager.getDefault ().notify(e); - } - } - - /** "runnable" used by DestroyInvoker */ - private class DestroyAtomic implements InvocationHandler { - Node [] sel; // sel has to be non null before calling run! - public Object invoke(Object proxy, Method method, Object[] args) throws Exception { - for (int i=0; iUse {@link org.openide.TopManager#getRepository} to retrieve the default instance. +*

    Use {@link #getDefault} to retrieve the default instance. * *

    Note that you may construct additional instances of the Repository if you * wish. The serialization replacer of this class specifically deals with the cvs server: Diffing openide/src/org/openide/loaders Index: openide/src/org/openide/loaders/CompilerSupport.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/CompilerSupport.java,v retrieving revision 1.32 diff -u -r1.32 CompilerSupport.java --- openide/src/org/openide/loaders/CompilerSupport.java 10 Apr 2002 09:19:20 -0000 1.32 +++ openide/src/org/openide/loaders/CompilerSupport.java 16 Oct 2002 04:50:39 -0000 @@ -52,7 +52,7 @@ /** readOnlyAttrs is name of virtual attribute. This name of virtual attribute * is shared between classes (and should be changed everywhere): * - org.openide.filesystems.DefaultAttributes - * - org.openide.loaders.ExecSupport + * - org.openide.loaders.ExecutionSupport * - org.openide.loaders.CompilerSupport * - org.netbeans.core.ExJarFileSystem */ Index: openide/src/org/openide/loaders/DataFilter.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/DataFilter.java,v retrieving revision 1.12 diff -u -r1.12 DataFilter.java --- openide/src/org/openide/loaders/DataFilter.java 15 Sep 2002 18:57:14 -0000 1.12 +++ openide/src/org/openide/loaders/DataFilter.java 16 Oct 2002 04:50:39 -0000 @@ -15,7 +15,7 @@ /** Allows certain data objects to be excluded from being displayed. -* +* @see RepositoryNodeFactory * @author Jaroslav Tulach */ public interface DataFilter extends java.io.Serializable { Index: openide/src/org/openide/loaders/DataFolder.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/DataFolder.java,v retrieving revision 1.128 diff -u -r1.128 DataFolder.java --- openide/src/org/openide/loaders/DataFolder.java 14 Aug 2002 14:16:21 -0000 1.128 +++ openide/src/org/openide/loaders/DataFolder.java 16 Oct 2002 04:50:39 -0000 @@ -24,8 +24,8 @@ import java.lang.reflect.InvocationTargetException; import java.util.*; import javax.swing.event.ChangeEvent; +import org.openide.DialogDisplayer; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.NotifyDescriptor; import org.openide.compiler.Compiler; @@ -36,6 +36,7 @@ import org.openide.actions.ReorderAction; import org.openide.util.HelpCtx; import org.openide.nodes.*; +import org.openide.util.Lookup; import org.openide.util.enum.QueueEnumeration; import org.openide.util.enum.SequenceEnumeration; import org.openide.util.enum.RemoveDuplicatesEnumeration; @@ -44,6 +45,7 @@ import org.openide.util.WeakListener; import org.openide.util.RequestProcessor; import org.openide.util.Utilities; +import org.openide.windows.IOProvider; /** A folder containing data objects. * Is actually itself a data object, whose primary (and only) file object @@ -569,13 +571,13 @@ obj.copy (newFolder); } else { // data object can not be copied, inform user - TopManager.getDefault().getStdOut().println( + IOProvider.getDefault().getStdOut().println( NbBundle.getMessage(DataFolder.class, "FMT_CannotCopyDo", obj.getName() ) ); } } catch (IOException ex) { - TopManager.getDefault ().notifyException (ex); + ErrorManager.getDefault().notify(ex); } } @@ -710,14 +712,14 @@ keepAlive = true; // data object can not be moved, inform user - TopManager.getDefault ().getStdOut ().println ( + IOProvider.getDefault ().getStdOut ().println ( NbBundle.getMessage (DataFolder.class, "FMT_CannotMoveDo", obj.getName ()) ); } } catch (IOException ex) { keepAlive = true; - TopManager.getDefault ().notifyException (ex); + ErrorManager.getDefault().notify(ex); } } @@ -779,7 +781,7 @@ DataObject obj = (DataObject)en.nextElement (); obj.createFromTemplate (newFolder); } catch (IOException ex) { - TopManager.getDefault ().notifyException (ex); + ErrorManager.getDefault().notify(ex); } } @@ -1164,7 +1166,7 @@ DataObject.getString ("CTL_NewFolderName"), DataObject.getString ("CTL_NewFolderTitle") ); input.setInputText (DataObject.getString ("CTL_NewFolderValue")); - if (TopManager.getDefault ().notify (input) == NotifyDescriptor.OK_OPTION) { + if (DialogDisplayer.getDefault ().notify (input) == NotifyDescriptor.OK_OPTION) { String folderName = input.getInputText (); if ("".equals (folderName)) return; // empty name = cancel // NOI18N @@ -1179,7 +1181,7 @@ FileObject existingFile = folder.getFileObject (subFolder); if (existingFile != null) { if (!existingFile.isFolder ()) { - TopManager.getDefault ().notify ( + DialogDisplayer.getDefault ().notify ( new NotifyDescriptor.Message ( NbBundle.getMessage (DataObject.class, "MSG_FMT_FileExists", @@ -1204,7 +1206,7 @@ FileObject existingFile = folder.getFileObject (folderName); if (existingFile != null) { if (existingFile.isFolder ()) { - TopManager.getDefault ().notify ( + DialogDisplayer.getDefault ().notify ( new NotifyDescriptor.Message ( NbBundle.getMessage (DataObject.class, "MSG_FMT_FolderExists", @@ -1213,7 +1215,7 @@ ) ); } else { - TopManager.getDefault ().notify ( + DialogDisplayer.getDefault ().notify ( new NotifyDescriptor.Message ( NbBundle.getMessage (DataObject.class, "MSG_FMT_FileExists", @@ -1234,7 +1236,7 @@ DataObject created = DataObject.find(folder.createFolder (folderName)); if (created != null) { - TopManager.getDefault().getLoaderPool().fireOperationEvent( + ((DataLoaderPool)Lookup.getDefault().lookup(DataLoaderPool.class)).fireOperationEvent( new OperationEvent.Copy (created, DataFolder.this), OperationEvent.TEMPL ); } Index: openide/src/org/openide/loaders/DataLoader.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/DataLoader.java,v retrieving revision 1.40 diff -u -r1.40 DataLoader.java --- openide/src/org/openide/loaders/DataLoader.java 11 Sep 2002 16:28:54 -0000 1.40 +++ openide/src/org/openide/loaders/DataLoader.java 16 Oct 2002 04:50:39 -0000 @@ -17,10 +17,10 @@ import java.io.*; import java.util.*; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.filesystems.*; import org.openide.nodes.NodeOp; +import org.openide.util.Lookup; import org.openide.util.NbBundle; import org.openide.util.SharedClassObject; import org.openide.util.Utilities; @@ -343,7 +343,7 @@ Class c = Class.forName ( Utilities.translate((String)arr[i]), false, // why resolve?? --jglick - TopManager.getDefault ().systemClassLoader () + (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class) ); SystemAction ac = SystemAction.get (c); Index: openide/src/org/openide/loaders/DataLoaderPool.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/DataLoaderPool.java,v retrieving revision 1.89 diff -u -r1.89 DataLoaderPool.java --- openide/src/org/openide/loaders/DataLoaderPool.java 20 Aug 2002 19:20:57 -0000 1.89 +++ openide/src/org/openide/loaders/DataLoaderPool.java 16 Oct 2002 04:50:39 -0000 @@ -45,8 +45,7 @@ * {@link DataLoader loaders} in the system. They are used to find valid data objects * for given files. *

    - * The default instance can be retrieved with - * {@link org.openide.TopManager#getLoaderPool}. + * The default instance can be retrieved using lookup. * * @author Jaroslav Tulach, Petr Hamernik, Dafe Simonek */ @@ -456,7 +455,7 @@ Class loaderClass = Class.forName ( assignedLoaderName, true, - TopManager.getDefault().systemClassLoader() + (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class) ); return DataLoader.getLoader(loaderClass); } catch (Exception ex) { Index: openide/src/org/openide/loaders/DataObject.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/DataObject.java,v retrieving revision 1.80 diff -u -r1.80 DataObject.java --- openide/src/org/openide/loaders/DataObject.java 27 Sep 2002 15:56:46 -0000 1.80 +++ openide/src/org/openide/loaders/DataObject.java 16 Oct 2002 04:50:40 -0000 @@ -442,7 +442,7 @@ public static DataObject find (FileObject fo) throws DataObjectNotFoundException { if (fo == null) - throw new IllegalArgumentException(); + throw new IllegalArgumentException("Called DataObject.find on null"); // NOI18N try { if (!fo.isValid()) cvs server: openide/src/org/openide/loaders/DataObjectFilter.java was removed, no comparison available Index: openide/src/org/openide/loaders/DataTransferSupport.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/DataTransferSupport.java,v retrieving revision 1.4 diff -u -r1.4 DataTransferSupport.java --- openide/src/org/openide/loaders/DataTransferSupport.java 15 Jul 2002 10:06:47 -0000 1.4 +++ openide/src/org/openide/loaders/DataTransferSupport.java 16 Oct 2002 04:50:40 -0000 @@ -18,7 +18,6 @@ package org.openide.loaders; -import org.openide.TopManager; import org.openide.util.Utilities; import org.openide.cookies.InstanceCookie; import org.openide.util.HelpCtx; @@ -29,6 +28,7 @@ import java.awt.datatransfer.*; import java.io.IOException; import java.io.ObjectOutputStream; +import org.openide.DialogDisplayer; /** Support for data transfer Paste operation. * @author Vita Stejskal @@ -165,7 +165,7 @@ ); nd.setInputText (name); - if (NotifyDescriptor.OK_OPTION == TopManager.getDefault ().notify (nd)) { + if (NotifyDescriptor.OK_OPTION == DialogDisplayer.getDefault ().notify (nd)) { trg.getPrimaryFile ().getFileSystem ().runAtomicAction (new FileSystem.AtomicAction () { public void run () throws IOException { FileObject fo = trg.getPrimaryFile ().createData (nd.getInputText (), "ser"); // NOI18N cvs server: openide/src/org/openide/loaders/ExecSupport.java was removed, no comparison available cvs server: openide/src/org/openide/loaders/ExecutionSupport.java is a new entry, no comparison available cvs server: openide/src/org/openide/loaders/ExtensionListEditor.java was removed, no comparison available Index: openide/src/org/openide/loaders/InstanceDataObject.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/InstanceDataObject.java,v retrieving revision 1.134 diff -u -r1.134 InstanceDataObject.java --- openide/src/org/openide/loaders/InstanceDataObject.java 25 Sep 2002 13:43:06 -0000 1.134 +++ openide/src/org/openide/loaders/InstanceDataObject.java 16 Oct 2002 04:50:40 -0000 @@ -941,7 +941,8 @@ ServiceType sr = (ServiceType) obj; name = name == null? sr.getName(): name; String stName = name; - for (int i = 1; TopManager.getDefault().getServices().find(stName) != null; i++) { + ServiceType.Registry r = (ServiceType.Registry)Lookup.getDefault().lookup(ServiceType.Registry.class); + for (int i = 1; r.find(stName) != null; i++) { stName = new StringBuffer(name.length() + 2). append(name).append('_').append(i).toString(); } Index: openide/src/org/openide/loaders/InstanceSupport.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/InstanceSupport.java,v retrieving revision 1.47 diff -u -r1.47 InstanceSupport.java --- openide/src/org/openide/loaders/InstanceSupport.java 15 Sep 2002 20:23:40 -0000 1.47 +++ openide/src/org/openide/loaders/InstanceSupport.java 16 Oct 2002 04:50:40 -0000 @@ -17,7 +17,6 @@ import java.io.*; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.cookies.InstanceCookie; import org.openide.filesystems.FileObject; import org.openide.util.HelpCtx; @@ -39,6 +38,7 @@ import org.openide.util.Utilities; import org.openide.util.SharedClassObject; import org.openide.execution.NbClassLoader; +import org.openide.util.Lookup; // Encapsulates working with classes and optimize it. /** An instance cookie implementation that works with files or entries. @@ -530,7 +530,7 @@ c = customLoader.loadClass(name); } else { // to save the space with wasting classloaders, try the system first - c = TopManager.getDefault ().systemClassLoader ().loadClass (name); + c = ((ClassLoader)Lookup.getDefault().lookup(ClassLoader.class)).loadClass (name); } } catch (ClassNotFoundException ex) { // ok, ignore and try our class loader Index: openide/src/org/openide/loaders/MultiDataObject.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/MultiDataObject.java,v retrieving revision 1.68 diff -u -r1.68 MultiDataObject.java --- openide/src/org/openide/loaders/MultiDataObject.java 14 Aug 2002 14:16:23 -0000 1.68 +++ openide/src/org/openide/loaders/MultiDataObject.java 16 Oct 2002 04:50:40 -0000 @@ -175,6 +175,8 @@ * @return The private field secondary. */ Object synchObjectSecondary() { + Object lock = getSecondary(); + if (lock == null) throw new IllegalStateException("getSecondary was null from " + this); // NOI18N return getSecondary(); } Index: openide/src/org/openide/loaders/NewObjectPanel.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/NewObjectPanel.java,v retrieving revision 1.2 diff -u -r1.2 NewObjectPanel.java --- openide/src/org/openide/loaders/NewObjectPanel.java 7 Oct 2002 16:21:49 -0000 1.2 +++ openide/src/org/openide/loaders/NewObjectPanel.java 16 Oct 2002 04:50:40 -0000 @@ -20,7 +20,6 @@ import javax.swing.KeyStroke; import javax.swing.SwingUtilities; -import org.openide.TopManager; import org.openide.util.HelpCtx; import org.openide.util.Utilities; import org.openide.loaders.*; cvs server: openide/src/org/openide/loaders/RepositoryNodeFactory.java is a new entry, no comparison available Index: openide/src/org/openide/loaders/TemplateWizard.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/TemplateWizard.java,v retrieving revision 1.57 diff -u -r1.57 TemplateWizard.java --- openide/src/org/openide/loaders/TemplateWizard.java 7 Oct 2002 16:21:50 -0000 1.57 +++ openide/src/org/openide/loaders/TemplateWizard.java 16 Oct 2002 04:50:40 -0000 @@ -172,8 +172,8 @@ return template; } - /** Sets the template. If under the TopManager.getPlaces ().folders (). - * templates () directory it will be selected by the dialog. + /** Sets the template. If under the Templates/ + * directory it will be selected by the dialog. * * @param obj the template to start with */ @@ -184,7 +184,7 @@ } /** Setter for the folder with templates. If not specified the - * TopManager.getPlaces ().folders ().templates () is used. + * Templates/ folder is used. * * @param folder the root folder for all templates if null the * default folder is used @@ -390,7 +390,7 @@ try { updateState(); - final java.awt.Dialog d = TopManager.getDefault().createDialog(this); + final java.awt.Dialog d = DialogDisplayer.getDefault().createDialog(this); // Bugfix #16161: if there was a message to the user, notify it // after the dialog has been shown on screen: if (thrownMessage != null) { Index: openide/src/org/openide/loaders/XMLDataObjectImpl.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/XMLDataObjectImpl.java,v retrieving revision 1.15 diff -u -r1.15 XMLDataObjectImpl.java --- openide/src/org/openide/loaders/XMLDataObjectImpl.java 29 Sep 2002 14:47:47 -0000 1.15 +++ openide/src/org/openide/loaders/XMLDataObjectImpl.java 16 Oct 2002 04:50:40 -0000 @@ -166,7 +166,7 @@ final String NAME = "org-openide-loaders-XMLDataObject-catalog"; final String EXT = "xml"; - FileObject services = TopManager.getDefault().getRepository(). + FileObject services = Repository.getDefault(). getDefaultFileSystem().findResource("Services/Hidden"); if (services == null) { cvs server: Diffing openide/src/org/openide/modules cvs server: openide/src/org/openide/modules/Bundle.properties was removed, no comparison available cvs server: openide/src/org/openide/modules/Bundle_ja.properties was removed, no comparison available cvs server: openide/src/org/openide/modules/IllegalModuleException.java was removed, no comparison available cvs server: openide/src/org/openide/modules/ManifestSection.java was removed, no comparison available cvs server: openide/src/org/openide/modules/ModuleDescription.java was removed, no comparison available cvs server: Diffing openide/src/org/openide/nodes Index: openide/src/org/openide/nodes/Children.java =================================================================== RCS file: /cvs/openide/src/org/openide/nodes/Children.java,v retrieving revision 1.110 diff -u -r1.110 Children.java --- openide/src/org/openide/nodes/Children.java 5 Sep 2002 13:13:31 -0000 1.110 +++ openide/src/org/openide/nodes/Children.java 16 Oct 2002 04:50:41 -0000 @@ -2071,7 +2071,6 @@ /* JST: Useful test routine ;-) * static { - if (TopManager.getDefault () != null) { final TopComponent.Registry r = TopComponent.getRegistry (); r.addPropertyChangeListener (new PropertyChangeListener () { Node last = new AbstractNode (LEAF); @@ -2081,12 +2080,11 @@ if (arr != null && arr.length == 1) { last = arr[0]; } - TopManager.getDefault ().setStatusText ( + System.out.println ( "Activated node: " + last + " \nparent: " + last.getParentNode () ); } }); - } -} + } */ } Index: openide/src/org/openide/nodes/NodeAcceptor.java =================================================================== RCS file: /cvs/openide/src/org/openide/nodes/NodeAcceptor.java,v retrieving revision 1.8 diff -u -r1.8 NodeAcceptor.java --- openide/src/org/openide/nodes/NodeAcceptor.java 22 Nov 2001 08:57:06 -0000 1.8 +++ openide/src/org/openide/nodes/NodeAcceptor.java 16 Oct 2002 04:50:41 -0000 @@ -15,11 +15,10 @@ /** Discriminator accepting only certain sets of nodes. *

    -* Currently used in {@link org.openide.TopManager.NodeOperation#explore} +* Currently used in {@link NodeOperation#select} * to find out if the currently selected beans are valid or not. * * @author Jaroslav Tulach -* @version 0.10, Jan 26, 1998 */ public interface NodeAcceptor { /** Is the set of nodes acceptable? cvs server: openide/src/org/openide/nodes/NodeOperation.java is a new entry, no comparison available Index: openide/src/org/openide/nodes/TMUtil.java =================================================================== RCS file: /cvs/openide/src/org/openide/nodes/TMUtil.java,v retrieving revision 1.6 diff -u -r1.6 TMUtil.java --- openide/src/org/openide/nodes/TMUtil.java 3 Jul 2002 01:14:15 -0000 1.6 +++ openide/src/org/openide/nodes/TMUtil.java 16 Oct 2002 04:50:41 -0000 @@ -240,7 +240,7 @@ public void run () { Object obj = TALK.get (); if (obj instanceof org.openide.DialogDescriptor) { - TALK.set (org.openide.TopManager.getDefault ().createDialog( + TALK.set (org.openide.DialogDisplayer.getDefault ().createDialog( (org.openide.DialogDescriptor)obj )); } else { @@ -295,7 +295,7 @@ org.openide.DialogDescriptor dd = new org.openide.DialogDescriptor(p, Node.getString("LAB_order")); dd.setModal(true); dd.setOptionType(org.openide.DialogDescriptor.DEFAULT_OPTION); - Object result = org.openide.TopManager.getDefault().notify(dd); + Object result = org.openide.DialogDisplayer.getDefault().notify(dd); if (result == org.openide.DialogDescriptor.OK_OPTION) { ic.doClose(); } cvs server: Diffing openide/src/org/openide/options cvs server: openide/src/org/openide/options/ControlPanel.java was removed, no comparison available Index: openide/src/org/openide/options/SystemOption.java =================================================================== RCS file: /cvs/openide/src/org/openide/options/SystemOption.java,v retrieving revision 1.32 diff -u -r1.32 SystemOption.java --- openide/src/org/openide/options/SystemOption.java 20 Jan 2002 16:30:01 -0000 1.32 +++ openide/src/org/openide/options/SystemOption.java 16 Oct 2002 04:50:41 -0000 @@ -29,7 +29,6 @@ import java.util.Iterator; import java.util.ResourceBundle; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; cvs server: Diffing openide/src/org/openide/resources cvs server: Diffing openide/src/org/openide/resources/actions cvs server: Diffing openide/src/org/openide/resources/html cvs server: Diffing openide/src/org/openide/resources/propertysheet cvs server: Diffing openide/src/org/openide/resources/src cvs server: openide/src/org/openide/resources/src/class.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/constructorPackage.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/constructorPrivate.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/constructorProtected.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/constructorPublic.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/constructors.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/error.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/initializer.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/initializerSt.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/interface.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/methodPackage.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/methodPrivate.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/methodProtected.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/methodPublic.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/methodStPackage.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/methodStPrivate.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/methodStProtected.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/methodStPublic.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/methods.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/sourceOptions.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/sourceOptions32.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/variablePackage.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/variablePrivate.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/variableProtected.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/variablePublic.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/variableStPackage.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/variableStPrivate.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/variableStProtected.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/variableStPublic.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/variables.gif was removed, no comparison available cvs server: openide/src/org/openide/resources/src/wait.gif was removed, no comparison available cvs server: Diffing openide/src/org/openide/src cvs server: openide/src/org/openide/src/Bundle.properties was removed, no comparison available cvs server: openide/src/org/openide/src/Bundle_ja.properties was removed, no comparison available cvs server: openide/src/org/openide/src/ClassElement.java was removed, no comparison available cvs server: openide/src/org/openide/src/ConstructorElement.java was removed, no comparison available cvs server: openide/src/org/openide/src/DefaultElementPrinter.java was removed, no comparison available cvs server: openide/src/org/openide/src/Element.java was removed, no comparison available cvs server: openide/src/org/openide/src/ElementFormat.java was removed, no comparison available cvs server: openide/src/org/openide/src/ElementPrinter.java was removed, no comparison available cvs server: openide/src/org/openide/src/ElementPrinterInterruptException.java was removed, no comparison available cvs server: openide/src/org/openide/src/ElementProperties.java was removed, no comparison available cvs server: openide/src/org/openide/src/FieldElement.java was removed, no comparison available cvs server: openide/src/org/openide/src/Identifier.java was removed, no comparison available cvs server: openide/src/org/openide/src/Import.java was removed, no comparison available cvs server: openide/src/org/openide/src/InitializerElement.java was removed, no comparison available cvs server: openide/src/org/openide/src/JavaDoc.java was removed, no comparison available cvs server: openide/src/org/openide/src/JavaDocMemoryImpl.java was removed, no comparison available cvs server: openide/src/org/openide/src/JavaDocSupport.java was removed, no comparison available cvs server: openide/src/org/openide/src/JavaDocTag.java was removed, no comparison available cvs server: openide/src/org/openide/src/JavaDocTagMemoryImpl.java was removed, no comparison available cvs server: openide/src/org/openide/src/MemberElement.java was removed, no comparison available cvs server: openide/src/org/openide/src/MemoryCollection.java was removed, no comparison available cvs server: openide/src/org/openide/src/MethodElement.java was removed, no comparison available cvs server: openide/src/org/openide/src/MethodParameter.java was removed, no comparison available cvs server: openide/src/org/openide/src/MultiPropertyChangeEvent.java was removed, no comparison available cvs server: openide/src/org/openide/src/SourceElement.java was removed, no comparison available cvs server: openide/src/org/openide/src/SourceException.java was removed, no comparison available cvs server: openide/src/org/openide/src/SourceVetoException.java was removed, no comparison available cvs server: openide/src/org/openide/src/Type.java was removed, no comparison available cvs server: Diffing openide/src/org/openide/src/nodes cvs server: openide/src/org/openide/src/nodes/Bundle.properties was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/Bundle_ja.properties was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/ClassChildren.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/ClassCustomizer.form was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/ClassCustomizer.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/ClassElementFilter.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/ClassElementNode.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/ConstructorElementNode.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/DefaultFactory.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/ElementBeanModel.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/ElementNode.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/ElementNodeFactory.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/FieldCustomizer.form was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/FieldCustomizer.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/FieldElementNode.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/FilterFactory.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/IconStrings.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/InitializerElementNode.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/MemberElementNode.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/MethodCustomizer.form was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/MethodCustomizer.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/MethodElementNode.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/SourceChildren.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/SourceEditSupport.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/SourceElementFilter.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/SourceOptions.java was removed, no comparison available cvs server: openide/src/org/openide/src/nodes/SourceOptionsBeanInfo.java was removed, no comparison available cvs server: Diffing openide/src/org/openide/text Index: openide/src/org/openide/text/CloneableEditorSupport.java =================================================================== RCS file: /cvs/openide/src/org/openide/text/CloneableEditorSupport.java,v retrieving revision 1.72 diff -u -r1.72 CloneableEditorSupport.java --- openide/src/org/openide/text/CloneableEditorSupport.java 9 Aug 2002 10:55:00 -0000 1.72 +++ openide/src/org/openide/text/CloneableEditorSupport.java 16 Oct 2002 04:50:41 -0000 @@ -57,12 +57,13 @@ import javax.swing.undo.CannotRedoException; import javax.swing.undo.UndoableEdit; import javax.swing.undo.AbstractUndoableEdit; +import org.openide.DialogDisplayer; import org.openide.awt.UndoRedo; import org.openide.actions.*; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.NotifyDescriptor; +import org.openide.awt.StatusDisplayer; import org.openide.cookies.EditorCookie; import org.openide.cookies.OpenCookie; import org.openide.cookies.CloseCookie; @@ -557,11 +558,11 @@ static void notifyInAWT(final String msg) { if (java.awt.EventQueue.isDispatchThread()) { - TopManager.getDefault().notify(new NotifyDescriptor.Message(msg)); + DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(msg)); } else { java.awt.EventQueue.invokeLater(new Runnable() { // display in the awt thread public void run() { - TopManager.getDefault().notify(new NotifyDescriptor.Message(msg)); + DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(msg)); } }); } @@ -608,7 +609,7 @@ saveOption ); - Object ret = TopManager.getDefault().notify(nd); + Object ret = DialogDisplayer.getDefault().notify(nd); if (NotifyDescriptor.CANCEL_OPTION.equals(ret) || NotifyDescriptor.CLOSED_OPTION.equals(ret) @@ -634,7 +635,7 @@ MessageFormat format = new MessageFormat(NbBundle.getBundle(EditorSupport.class).getString("MSG_SaveFile")); // NOI18N String msg = format.format(new Object[] { entry.getDataObject().getName()}); NotifyDescriptor nd = new NotifyDescriptor.Confirmation(msg, NotifyDescriptor.YES_NO_CANCEL_OPTION); - Object ret = TopManager.getDefault().notify(nd); + Object ret = DialogDisplayer.getDefault().notify(nd); if (NotifyDescriptor.CANCEL_OPTION.equals(ret) || NotifyDescriptor.CLOSED_OPTION.equals(ret) @@ -647,7 +648,7 @@ savec.save(); } catch (IOException e) { - TopManager.getDefault().notifyException(e); + ErrorManager.getDefault().notify(e); return false; } } @@ -929,7 +930,7 @@ SwingUtilities.invokeLater(new Runnable() { public void run () { NotifyDescriptor nd = new NotifyDescriptor.Confirmation (ex.getLocalizedMessage ()); - Object res = TopManager.getDefault ().notify (nd); + Object res = DialogDisplayer.getDefault ().notify (nd); if (NotifyDescriptor.OK_OPTION.equals(res)) { try { ex.confirmed (); @@ -947,7 +948,7 @@ locked = false; } catch (IOException e) { // locking failed if (e.getMessage () != e.getLocalizedMessage ()) { - TopManager.getDefault ().setStatusText (e.getLocalizedMessage ()); + StatusDisplayer.getDefault().setStatusText(e.getLocalizedMessage()); } locked = false; } @@ -1224,7 +1225,7 @@ reloadDialogOpened = true; try { - Object ret = TopManager.getDefault().notify(nd); + Object ret = DialogDisplayer.getDefault().notify(nd); if (NotifyDescriptor.YES_OPTION.equals(ret)) { doReload = true; } @@ -1303,7 +1304,7 @@ // no opened editor String msg = messageOpening (); if (msg != null) { - TopManager.getDefault().setStatusText(msg); + StatusDisplayer.getDefault().setStatusText(msg); } // initializes the document if not initialized @@ -1318,7 +1319,7 @@ if (msg == null) { msg = ""; // NOI18N } - TopManager.getDefault ().setStatusText (msg); + StatusDisplayer.getDefault().setStatusText(msg); return ce; } } Index: openide/src/org/openide/text/DataEditorSupport.java =================================================================== RCS file: /cvs/openide/src/org/openide/text/DataEditorSupport.java,v retrieving revision 1.18 diff -u -r1.18 DataEditorSupport.java --- openide/src/org/openide/text/DataEditorSupport.java 25 Sep 2002 11:43:26 -0000 1.18 +++ openide/src/org/openide/text/DataEditorSupport.java 16 Oct 2002 04:50:41 -0000 @@ -52,10 +52,10 @@ import javax.swing.text.html.HTMLFrameHyperlinkEvent; import javax.swing.text.html.HTMLDocument; import javax.swing.undo.CannotUndoException; +import org.openide.DialogDisplayer; import org.openide.awt.UndoRedo; import org.openide.actions.*; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.NotifyDescriptor; import org.openide.cookies.EditorCookie; @@ -232,7 +232,7 @@ * for read-only property of saving file and warns user in that case. */ protected boolean canClose() { if(env().isModified() && isEnvReadOnly()) { - Object result = TopManager.getDefault().notify( + Object result = DialogDisplayer.getDefault().notify( new NotifyDescriptor.Confirmation( NbBundle.getMessage(DataEditorSupport.class, "MSG_FileReadOnlyClosing", @@ -251,7 +251,7 @@ * for read-only property of saving file and warns user in that case. */ public void saveDocument() throws IOException { if(env().isModified() && isEnvReadOnly()) { - TopManager.getDefault().notify( + DialogDisplayer.getDefault().notify( new NotifyDescriptor.Message( NbBundle.getMessage(DataEditorSupport.class, "MSG_FileReadOnlySaving", Index: openide/src/org/openide/text/DefaultPrintable.java =================================================================== RCS file: /cvs/openide/src/org/openide/text/DefaultPrintable.java,v retrieving revision 1.22 diff -u -r1.22 DefaultPrintable.java --- openide/src/org/openide/text/DefaultPrintable.java 8 Mar 2002 10:51:58 -0000 1.22 +++ openide/src/org/openide/text/DefaultPrintable.java 16 Oct 2002 04:50:42 -0000 @@ -41,8 +41,9 @@ import javax.swing.text.Document; import javax.swing.text.BadLocationException; -import org.openide.TopManager; import org.openide.DialogDescriptor; +import org.openide.DialogDisplayer; +import org.openide.ErrorManager; import org.openide.NotifyDescriptor; import org.openide.util.HelpCtx; @@ -598,7 +599,7 @@ } } } catch (BadLocationException e){ - TopManager.getDefault().notifyException(e); + ErrorManager.getDefault().notify(e); } AttributedCharacterIterator[] iters = new AttributedCharacterIterator[iterators.size()]; iterators.toArray(iters); @@ -645,7 +646,7 @@ } } ); - setDialog(TopManager.getDefault().createDialog(ddesc)); + setDialog(DialogDisplayer.getDefault().createDialog(ddesc)); } /** Closes cancellationDialog */ Index: openide/src/org/openide/text/EditorSupport.java =================================================================== RCS file: /cvs/openide/src/org/openide/text/EditorSupport.java,v retrieving revision 1.171 diff -u -r1.171 EditorSupport.java --- openide/src/org/openide/text/EditorSupport.java 15 Sep 2002 19:12:30 -0000 1.171 +++ openide/src/org/openide/text/EditorSupport.java 16 Oct 2002 04:50:42 -0000 @@ -52,10 +52,10 @@ import javax.swing.text.html.HTMLFrameHyperlinkEvent; import javax.swing.text.html.HTMLDocument; import javax.swing.undo.CannotUndoException; +import org.openide.ErrorManager; import org.openide.awt.UndoRedo; import org.openide.actions.*; -import org.openide.TopManager; import org.openide.NotifyDescriptor; import org.openide.cookies.EditorCookie; import org.openide.cookies.OpenCookie; @@ -895,7 +895,7 @@ } return (org.openide.nodes.CookieSet) getCookieSetMethod.invoke (obj, new Object[] { }); } catch (Exception e) { - TopManager.getDefault ().notifyException (e); + ErrorManager.getDefault().notify(e); return new org.openide.nodes.CookieSet (); } } Index: openide/src/org/openide/text/IndentEngine.java =================================================================== RCS file: /cvs/openide/src/org/openide/text/IndentEngine.java,v retrieving revision 1.13 diff -u -r1.13 IndentEngine.java --- openide/src/org/openide/text/IndentEngine.java 10 Jan 2002 15:22:25 -0000 1.13 +++ openide/src/org/openide/text/IndentEngine.java 16 Oct 2002 04:50:42 -0000 @@ -14,11 +14,12 @@ package org.openide.text; import java.io.Writer; +import java.util.Collections; import java.util.Enumeration; import javax.swing.text.*; import org.openide.ServiceType; -import org.openide.TopManager; import org.openide.util.HelpCtx; +import org.openide.util.Lookup; /** Indentation engine for formating text in documents. * Provides mapping between MIME types and engines, so anybody @@ -96,7 +97,7 @@ * @return enumeration of IndentEngine */ public static Enumeration indentEngines() { - return TopManager.getDefault().getServices().services(IndentEngine.class); + return Collections.enumeration(Lookup.getDefault().lookup(new Lookup.Template(IndentEngine.class)).allInstances()); } /** Finds engine associated with given mime type. Index: openide/src/org/openide/text/PositionRef.java =================================================================== RCS file: /cvs/openide/src/org/openide/text/PositionRef.java,v retrieving revision 1.45 diff -u -r1.45 PositionRef.java --- openide/src/org/openide/text/PositionRef.java 23 Apr 2002 11:41:54 -0000 1.45 +++ openide/src/org/openide/text/PositionRef.java 16 Oct 2002 04:50:42 -0000 @@ -26,7 +26,6 @@ import org.openide.cookies.EditorCookie; import org.openide.ErrorManager; import org.openide.loaders.DataObject; -import org.openide.TopManager; import org.openide.util.NbBundle; import org.openide.util.RequestProcessor; cvs server: Diffing openide/src/org/openide/util Index: openide/src/org/openide/util/HttpServer.java =================================================================== RCS file: /cvs/openide/src/org/openide/util/HttpServer.java,v retrieving revision 1.15 diff -u -r1.15 HttpServer.java --- openide/src/org/openide/util/HttpServer.java 12 Apr 2002 13:50:10 -0000 1.15 +++ openide/src/org/openide/util/HttpServer.java 16 Oct 2002 04:50:42 -0000 @@ -107,7 +107,6 @@ * @param resourcePath path of the resource in classloader format (e.g. /some/path/resources/icon32.gif) * @return a URL providing access to it * @see ClassLoader#getResource(java.lang.String) - * @see org.openide.TopManager#systemClassLoader() * @throws MalformedURLException for the usual reasons * @throws UnknownHostException for the usual reasons, or if there is no registered server */ Index: openide/src/org/openide/util/Lookup.java =================================================================== RCS file: /cvs/openide/src/org/openide/util/Lookup.java,v retrieving revision 1.16 diff -u -r1.16 Lookup.java --- openide/src/org/openide/util/Lookup.java 19 Aug 2002 14:32:54 -0000 1.16 +++ openide/src/org/openide/util/Lookup.java 16 Oct 2002 04:50:42 -0000 @@ -14,6 +14,8 @@ package org.openide.util; import java.util.*; +import org.openide.util.lookup.Lookups; +import org.openide.util.lookup.ProxyLookup; /* * I admit that the class is inspirated by JINI(tm). The difference @@ -42,35 +44,39 @@ return defaultLookup; } + // You can specify a Lookup impl using a system property if you like. String className = System.getProperty( "org.openide.util.Lookup" // NOI18N ); - - boolean fallback = className == null || className.length () == 0; - if (className == null) { - className = "org.netbeans.core.NbTopManager$Lkp"; // NOI18N - } - + ClassLoader l = Thread.currentThread().getContextClassLoader(); try { - Class c = Class.forName(className); - defaultLookup = (Lookup)c.newInstance(); - } catch (Exception ex) { - defaultLookup = new MetaInfServicesLookup(); - if (fallback) { - // ok, this was just fallback to get the default netbeans Lookup + if (className != null) { + defaultLookup = (Lookup)Class.forName(className, true, l).newInstance(); return defaultLookup; } - // else this is a problem, somebody specified a property and - // the lookup has not be found - ex.printStackTrace(); - throw new InternalError (); + } catch (Exception e) { + e.printStackTrace(); } - - // late initialization of the lookup if needed - if (defaultLookup instanceof Runnable) { - ((Runnable)defaultLookup).run (); + + // OK, none specified (successfully) in a system property. + // Try MetaInfServicesLookup as a default, which may also + // have a org.openide.util.Lookup line specifying the lookup. + Lookup misl = new MetaInfServicesLookup(l); + defaultLookup = (Lookup)misl.lookup(Lookup.class); + if (defaultLookup != null) { + return defaultLookup; } - + // You may also specify a Lookup.Provider. + Lookup.Provider prov = (Lookup.Provider)misl.lookup(Lookup.Provider.class); + if (prov != null) { + defaultLookup = Lookups.proxy(prov); + return defaultLookup; + } + // Had no such line, use simple impl. + // It does however need to have ClassLoader available or many things will break. + // Use the thread context classloader in effect now. + Lookup clLookup = Lookups.singleton(l); + defaultLookup = new ProxyLookup(new Lookup[] {misl, clLookup}); return defaultLookup; } Index: openide/src/org/openide/util/MetaInfServicesLookup.java =================================================================== RCS file: /cvs/openide/src/org/openide/util/MetaInfServicesLookup.java,v retrieving revision 1.5 diff -u -r1.5 MetaInfServicesLookup.java --- openide/src/org/openide/util/MetaInfServicesLookup.java 15 Oct 2002 10:07:00 -0000 1.5 +++ openide/src/org/openide/util/MetaInfServicesLookup.java 16 Oct 2002 04:50:42 -0000 @@ -35,6 +35,9 @@ */ final class MetaInfServicesLookup extends AbstractLookup { + // Better not to use ErrorManager here - EM.gD will use this class, might cause cycles etc. + private static final boolean DEBUG = Boolean.getBoolean("org.openide.util.MetaInfServicesLookup.DEBUG"); // NOI18N + private static final Map knownInstances = new WeakHashMap(); // Map /** A set of all requested classes. @@ -58,6 +61,7 @@ */ public MetaInfServicesLookup(ClassLoader loader) { this.loader = loader; + if (DEBUG) System.err.println("Created: " + this); // NOI18N } public String toString() { @@ -87,6 +91,7 @@ * @param result collection to add Pair to */ private void search(Class clazz, Collection result) { + if (DEBUG) System.err.println("Searching for " + clazz.getName() + " in " + clazz.getClassLoader() + " from " + this); // NOI18N String res = "META-INF/services/" + clazz.getName(); // NOI18N Enumeration en; try { @@ -127,6 +132,13 @@ if (realMcCoy != clazz) { // Either the interface class is not available at all in our loader, // or it is not the same version as we expected. Don't provide results. + if (DEBUG) { + if (realMcCoy != null) { + System.err.println(clazz.getName() + " is not the real McCoy! Actually found it in " + realMcCoy.getClassLoader()); // NOI18N + } else { + System.err.println(clazz.getName() + " could not be found in " + loader); // NOI18N + } + } return; } } @@ -158,6 +170,7 @@ // Most lines are fully-qualified class names. Class inst = Class.forName(line, false, loader); if (!clazz.isAssignableFrom(inst)) { + if (DEBUG) System.err.println("Not a subclass"); // NOI18N throw new ClassNotFoundException(inst.getName() + " not a subclass of " + clazz.getName()); // NOI18N } @@ -177,6 +190,7 @@ } } + if (DEBUG) System.err.println("Found impls of " + clazz.getName() + ": " + foundClasses + " and removed: " + removeClasses + " from: " + this); // NOI18N foundClasses.removeAll (removeClasses); Iterator it = foundClasses.iterator (); while (it.hasNext ()) { @@ -242,14 +256,19 @@ try { Class c = ((Class)o); synchronized (knownInstances) { // guards only the static cache - object = knownInstances.get(c); + o = knownInstances.get(c); } - if (object == null) { - object = c.newInstance(); + if (o == null) { + o = c.newInstance(); synchronized (knownInstances) { // guards only the static cache - knownInstances.put(c, object); + knownInstances.put(c, o); } } + // Do not assign to instance var unless there is a complete synch + // block between the newInstance and this line. Otherwise we could + // be assigning a half-constructed instance that another thread + // could see and return immediately. + object = o; } catch (Exception ex) { ErrorManager.getDefault().notify(ex); object = null; cvs server: Diffing openide/src/org/openide/util/actions cvs server: openide/src/org/openide/util/actions/ProjectSensitiveAction.java was removed, no comparison available cvs server: Diffing openide/src/org/openide/util/datatransfer cvs server: Diffing openide/src/org/openide/util/enum cvs server: Diffing openide/src/org/openide/util/io cvs server: Diffing openide/src/org/openide/util/lookup cvs server: Diffing openide/src/org/openide/windows Index: openide/src/org/openide/windows/CloneableOpenSupport.java =================================================================== RCS file: /cvs/openide/src/org/openide/windows/CloneableOpenSupport.java,v retrieving revision 1.13 diff -u -r1.13 CloneableOpenSupport.java --- openide/src/org/openide/windows/CloneableOpenSupport.java 30 Jul 2002 08:57:35 -0000 1.13 +++ openide/src/org/openide/windows/CloneableOpenSupport.java 16 Oct 2002 04:50:42 -0000 @@ -14,9 +14,9 @@ package org.openide.windows; import java.beans.*; +import org.openide.awt.StatusDisplayer; import org.openide.util.*; -import org.openide.TopManager; import org.openide.cookies.OpenCookie; import org.openide.cookies.ViewCookie; import org.openide.cookies.CloseCookie; @@ -159,7 +159,7 @@ String msg = messageOpening (); if (msg != null) { - TopManager.getDefault().setStatusText(msg); + StatusDisplayer.getDefault().setStatusText(msg); } CloneableTopComponent editor = createCloneableTopComponent (); @@ -170,7 +170,7 @@ if (msg == null) { msg = ""; // NOI18N } - TopManager.getDefault ().setStatusText (msg); + StatusDisplayer.getDefault().setStatusText(msg); return editor; } cvs server: openide/src/org/openide/windows/IOProvider.java is a new entry, no comparison available Index: openide/src/org/openide/windows/WindowManager.java =================================================================== RCS file: /cvs/openide/src/org/openide/windows/WindowManager.java,v retrieving revision 1.31 diff -u -r1.31 WindowManager.java --- openide/src/org/openide/windows/WindowManager.java 15 Sep 2002 18:57:18 -0000 1.31 +++ openide/src/org/openide/windows/WindowManager.java 16 Oct 2002 04:50:42 -0000 @@ -51,17 +51,10 @@ public static final WindowManager getDefault () { synchronized (WindowManager.class) { if (wmInstance == null) { - Lookup.Item resultItem = Lookup.getDefault().lookupItem( - new Lookup.Template(WindowManager.class) - ); - if ((resultItem == null) || - !(resultItem.getInstance() instanceof WindowManager)) { - // panic, we can't find window manager - throw new IllegalStateException( - "Fatal error, can't find window manager instance in lookup." // NOI18N + wmInstance = (WindowManager)Lookup.getDefault().lookup(WindowManager.class); + if (wmInstance == null) throw new IllegalStateException( + "Fatal error, can't find window manager instance in " + Lookup.getDefault() // NOI18N ); - } - wmInstance = (WindowManager)resultItem.getInstance(); } return wmInstance; } cvs server: Diffing openide/src/org/openide/xml cvs server: Diffing openide/test Index: openide/test/build.xml =================================================================== RCS file: /cvs/openide/test/build.xml,v retrieving revision 1.41 diff -u -r1.41 build.xml --- openide/test/build.xml 20 Aug 2002 12:25:14 -0000 1.41 +++ openide/test/build.xml 16 Oct 2002 04:50:42 -0000 @@ -302,9 +302,11 @@ - + + + @@ -321,8 +323,13 @@ + + + + + @@ -338,10 +345,13 @@ --> - + + + + cvs server: Diffing openide/test/perf cvs server: Diffing openide/test/perf/src cvs server: Diffing openide/test/perf/src/META-INF cvs server: Diffing openide/test/perf/src/META-INF/services cvs server: Diffing openide/test/perf/src/org cvs server: Diffing openide/test/perf/src/org/openide cvs server: Diffing openide/test/perf/src/org/openide/filesystems cvs server: Diffing openide/test/perf/src/org/openide/filesystems/data cvs server: Diffing openide/test/perf/src/org/openide/filesystems/localfs cvs server: Diffing openide/test/perf/src/org/openide/filesystems/multifs cvs server: Diffing openide/test/perf/src/org/openide/filesystems/xmlfs cvs server: Diffing openide/test/perf/src/org/openide/loaders cvs server: Diffing openide/test/perf/src/org/openide/util cvs server: Diffing openide/test/perf/src/org/openide/util/enum cvs server: Diffing openide/test/perf/src/org/openide/util/lookup cvs server: Diffing openide/test/perf/src/org/openide/utildata cvs server: Diffing openide/test/qa-functional cvs server: Diffing openide/test/qa-functional/src cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest Index: openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/DataObjectTest.java =================================================================== RCS file: /cvs/openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/DataObjectTest.java,v retrieving revision 1.2 diff -u -r1.2 DataObjectTest.java --- openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/DataObjectTest.java 20 Feb 2002 11:04:55 -0000 1.2 +++ openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/DataObjectTest.java 16 Oct 2002 04:50:42 -0000 @@ -96,7 +96,7 @@ void prepare() { try{ //initializing ide - org.openide.TopManager.getDefault(); +// org.openide.TopManager.getDefault(); //when not in XTest harness -> woring directory will be under actual userdir if (Manager.getWorkDirPath()==null) System.setProperty("nbjunit.workdir",System.getProperty("netbeans.user")); Index: openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/DataObjectTestsGenerator.java =================================================================== RCS file: /cvs/openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/DataObjectTestsGenerator.java,v retrieving revision 1.2 diff -u -r1.2 DataObjectTestsGenerator.java --- openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/DataObjectTestsGenerator.java 2 Jan 2002 12:59:07 -0000 1.2 +++ openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/DataObjectTestsGenerator.java 16 Oct 2002 04:50:42 -0000 @@ -19,6 +19,9 @@ package DataLoaderTests.DataObjectTest; +import org.openide.filesystems.Repository; + + /** * * @author jzajicek @@ -34,7 +37,9 @@ * @param args the command line arguments */ public static void main(String args[]) { - org.openide.filesystems.FileObject fo = org.openide.TopManager.getDefault().getRepository().findResource(PACKAGE + "/" + DATAOBJECTS + "/" + "Backup"); + org.openide.filesystems.FileObject fo = Repository.getDefault() + .findResource(PACKAGE + "/" + DATAOBJECTS + "/" + "Backup"); + org.openide.loaders.DataFolder df = null; try{ if ( fo.isFolder() ) { @@ -95,8 +100,8 @@ final static String PACKAGE = new DataObjectTestsGenerator().getClass().getPackage().getName().replace('.','/'); - final static String ROOT = org.openide.filesystems.FileUtil.toFile(org.openide.TopManager.getDefault() - .getRepository().findResource(PACKAGE)).getAbsolutePath(); + final static String ROOT = org.openide.filesystems.FileUtil.toFile( + Repository.getDefault().findResource(PACKAGE)).getAbsolutePath(); final static String DATAOBJECTS = "data"; final static String MANIPULATION = "manipulation"; cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/data cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/AWTFormObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/ClassObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/HTMLObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/ImageObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/JSPObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/JavaSourceObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/Package cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/SecurityJApplet cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/SwingFormObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/TextualObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/delegate/URLObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/AWTFormObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/ClassObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/HTMLObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/ImageObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/JSPObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/JavaSourceObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/Package cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/SecurityJApplet cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/SwingFormObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/TextualObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/manipulation/URLObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/AWTFormObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/ClassObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/HTMLObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/ImageObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/JSPObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/JavaSourceObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/Package cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/SecurityJApplet cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/SwingFormObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/TextualObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/modify/URLObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/AWTFormObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/ClassObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/HTMLObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/ImageObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/JSPObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/JavaSourceObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/Package cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/SecurityJApplet cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/SwingFormObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/TextualObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/others/URLObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/tmp cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/AWTFormObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/ClassObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/HTMLObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/ImageObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/JSPObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/JavaSourceObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/Package cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/SecurityJApplet cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/SwingFormObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/TextualObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/validity/URLObject cvs server: Diffing openide/test/qa-functional/src/DataLoaderTests/LoaderPoolTest Index: openide/test/qa-functional/src/DataLoaderTests/LoaderPoolTest/LoaderPoolTest.java =================================================================== RCS file: /cvs/openide/test/qa-functional/src/DataLoaderTests/LoaderPoolTest/LoaderPoolTest.java,v retrieving revision 1.2 diff -u -r1.2 LoaderPoolTest.java --- openide/test/qa-functional/src/DataLoaderTests/LoaderPoolTest/LoaderPoolTest.java 20 Feb 2002 11:04:56 -0000 1.2 +++ openide/test/qa-functional/src/DataLoaderTests/LoaderPoolTest/LoaderPoolTest.java 16 Oct 2002 04:50:43 -0000 @@ -106,7 +106,7 @@ void prepare() { try{ //initializing ide - TopManager.getDefault(); +// TopManager.getDefault(); //when not in XTest harness -> woring directory will be under actual userdir if (Manager.getWorkDirPath()==null) System.setProperty("nbjunit.workdir",System.getProperty("netbeans.user")); @@ -129,9 +129,11 @@ DLP = (DataLoaderPool) Lookup.getDefault().lookup(DataLoaderPool.class); //following doesn't work in nongui mode ;-( - LPN = (LoaderPoolNode) ((Places)Lookup.getDefault().lookup(Places.class)).nodes().loaderPool(); - changel = new LoaderPoolTest.ChL(this); - DLP.addChangeListener( changel ); + // XXX Places are deprecated at all but the repository node (RepositoryNodeFactory), + // The rest is not useful. +// LPN = (LoaderPoolNode) ((Places)Lookup.getDefault().lookup(Places.class)).nodes().loaderPool(); +// changel = new LoaderPoolTest.ChL(this); +// DLP.addChangeListener( changel ); }catch(Exception e){ e.printStackTrace(); e.printStackTrace(getRef()); @@ -472,14 +474,15 @@ *Two ways should return the same */ void compareTest(){ - writeRef("\nComparing instances of NbLoaderPool ..."); - //dlp should be NbLoaderPool - LoaderPoolNode.NbLoaderPool nblp = (LoaderPoolNode.NbLoaderPool) DLP; - LoaderPoolNode lpn = (LoaderPoolNode) ((Places)Lookup.getDefault().lookup(Places.class)).nodes().loaderPool(); - LoaderPoolNode.NbLoaderPool nblp_temp = lpn.getNbLoaderPool(); - //nblp and nblp_temp should be the same - if ( ! nblp.equals(nblp_temp) ) writeRef("Got two different instances of DataLoaderPool!",FAILED); - else writeRef(PASSED); + // See above XXX. +// writeRef("\nComparing instances of NbLoaderPool ..."); +// //dlp should be NbLoaderPool +// LoaderPoolNode.NbLoaderPool nblp = (LoaderPoolNode.NbLoaderPool) DLP; +//// LoaderPoolNode lpn = (LoaderPoolNode) ((Places)Lookup.getDefault().lookup(Places.class)).nodes().loaderPool(); +// LoaderPoolNode.NbLoaderPool nblp_temp = lpn.getNbLoaderPool(); +// //nblp and nblp_temp should be the same +// if ( ! nblp.equals(nblp_temp) ) writeRef("Got two different instances of DataLoaderPool!",FAILED); +// else writeRef(PASSED); } /** cvs server: Diffing openide/test/qa-functional/src/FileSystemTest Index: openide/test/qa-functional/src/FileSystemTest/CapabilityTest.java =================================================================== RCS file: /cvs/openide/test/qa-functional/src/FileSystemTest/CapabilityTest.java,v retrieving revision 1.2 diff -u -r1.2 CapabilityTest.java --- openide/test/qa-functional/src/FileSystemTest/CapabilityTest.java 29 Aug 2002 12:50:57 -0000 1.2 +++ openide/test/qa-functional/src/FileSystemTest/CapabilityTest.java 16 Oct 2002 04:50:43 -0000 @@ -19,7 +19,6 @@ import java.util.Enumeration; import junit.framework.*; import org.netbeans.junit.*; -import org.openide.TopManager; import org.openide.actions.AbstractCompileAction; import org.openide.cookies.CompilerCookie; import org.openide.cookies.*; Index: openide/test/qa-functional/src/FileSystemTest/FSTest.java =================================================================== RCS file: /cvs/openide/test/qa-functional/src/FileSystemTest/FSTest.java,v retrieving revision 1.1 diff -u -r1.1 FSTest.java --- openide/test/qa-functional/src/FileSystemTest/FSTest.java 27 Aug 2002 15:48:28 -0000 1.1 +++ openide/test/qa-functional/src/FileSystemTest/FSTest.java 16 Oct 2002 04:50:43 -0000 @@ -11,7 +11,6 @@ import java.util.Iterator; import java.util.Set; -import org.openide.TopManager; import org.openide.nodes.Children; import org.openide.nodes.Node; import org.openide.windows.Mode; @@ -21,10 +20,11 @@ import org.openide.filesystems.*; import org.openide.loaders.DataObject; import org.openide.loaders.DataObjectNotFoundException; +import org.openide.loaders.DataFilter; +import org.openide.loaders.RepositoryNodeFactory; import junit.framework.*; import org.netbeans.junit.*; -import org.openide.Places; import org.openide.util.Lookup; /** @@ -79,7 +79,7 @@ FileSystem fs = null; try { try { - TopManager tm = TopManager.getDefault(); +// TopManager tm = TopManager.getDefault(); // get node of dataObject @@ -95,7 +95,7 @@ } catch (FileStateInvalidException fsie ) { failTest (fsie); } - Node repNode = ((Places)Lookup.getDefault ().lookup (Places.class)).nodes().repository(); + Node repNode = RepositoryNodeFactory.getDefault().repository(DataFilter.ALL); fs.setHidden(false); // System.out.println("status:" + ((fs.isHidden()) ? "hidden" : "shown")); if (findNode(repNode,node,2) == false ) { cvs server: Diffing openide/test/qa-functional/src/FileSystemTest/data cvs server: Diffing openide/test/qa-functional/src/gui cvs server: Diffing openide/test/qa-functional/src/gui/filesystems cvs server: Diffing openide/test/qa-functional/src/gui/filesystems/data cvs server: Diffing openide/test/regr cvs server: Diffing openide/test/regr/src cvs server: Diffing openide/test/regr/src/org cvs server: Diffing openide/test/regr/src/org/openide cvs server: Diffing openide/test/regr/src/org/openide/nodes cvs server: Diffing openide/test/regr/src/org/openide/text Index: openide/test/regr/src/org/openide/text/ReloadDeadlockTest.java =================================================================== RCS file: /cvs/openide/test/regr/src/org/openide/text/ReloadDeadlockTest.java,v retrieving revision 1.1 diff -u -r1.1 ReloadDeadlockTest.java --- openide/test/regr/src/org/openide/text/ReloadDeadlockTest.java 22 Oct 2001 15:09:55 -0000 1.1 +++ openide/test/regr/src/org/openide/text/ReloadDeadlockTest.java 16 Oct 2002 04:50:43 -0000 @@ -29,7 +29,6 @@ import org.openide.filesystems.FileObject; import org.openide.filesystems.LocalFileSystem; import org.openide.text.CloneableEditorSupport; -import org.openide.TopManager; /** Index: openide/test/regr/src/org/openide/text/SaveDocumentTest.java =================================================================== RCS file: /cvs/openide/test/regr/src/org/openide/text/SaveDocumentTest.java,v retrieving revision 1.1 diff -u -r1.1 SaveDocumentTest.java --- openide/test/regr/src/org/openide/text/SaveDocumentTest.java 19 Nov 2001 15:53:19 -0000 1.1 +++ openide/test/regr/src/org/openide/text/SaveDocumentTest.java 16 Oct 2002 04:50:43 -0000 @@ -28,9 +28,9 @@ import org.openide.cookies.EditorCookie; import org.openide.filesystems.FileObject; +import org.openide.filesystems.Repository; import org.openide.loaders.DataObject; import org.openide.text.CloneableEditorSupport; -import org.openide.TopManager; /** @@ -62,7 +62,7 @@ public void testSaveDocument() throws Exception { System.err.println("Test Save Document"); - FileObject fo = TopManager.getDefault().getRepository().getDefaultFileSystem() + FileObject fo = Repository.getDefault().getDefaultFileSystem() .getRoot().createData("test", "txt"); DataObject data = DataObject.find(fo); cvs server: Diffing openide/test/regr/src/org/openide/util cvs server: Diffing openide/test/regr/src/org/openide/util/actions cvs server: Diffing openide/test/stdalone cvs server: Diffing openide/test/stdalone/src cvs server: Diffing openide/test/stdalone/src/org cvs server: Diffing openide/test/stdalone/src/org/openide cvs server: Diffing openide/test/stdalone/src/org/openide/stdalonetest cvs server: Diffing openide/test/stdalone/src/org/openide/stdalonetest/data cvs server: Diffing openide/test/unit cvs server: Diffing openide/test/unit/src cvs server: Diffing openide/test/unit/src/org cvs server: Diffing openide/test/unit/src/org/openide Index: openide/test/unit/src/org/openide/TopManagerTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/TopManagerTest.java,v retrieving revision 1.1 diff -u -r1.1 TopManagerTest.java --- openide/test/unit/src/org/openide/TopManagerTest.java 22 Jul 2002 08:11:27 -0000 1.1 +++ openide/test/unit/src/org/openide/TopManagerTest.java 16 Oct 2002 04:50:43 -0000 @@ -7,24 +7,42 @@ * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2002 Sun * Microsystems, Inc. All Rights Reserved. */ package org.openide; +import java.awt.datatransfer.Clipboard; import java.lang.reflect.Method; - +import javax.swing.text.Keymap; import junit.framework.*; + import org.netbeans.junit.*; -/** Test for TopManager returning valid values. +import org.openide.actions.ActionManager; +import org.openide.filesystems.Repository; +import org.openide.loaders.DataLoaderPool; +import org.openide.nodes.NodeOperation; +import org.openide.ServiceType; +import org.openide.util.Lookup; +import org.openide.util.datatransfer.ExClipboard; +import org.openide.windows.IOProvider; +import org.openide.windows.WindowManager; + + +/** Test for basic stuff (orig. TopManager) being in lookup. * - * @author Jaroslav Tulach + * @author Jaroslav Tulach, Jesse Glick */ public class TopManagerTest extends NbTestCase { - private TopManager tm; + + /* + static { + System.setProperty("org.openide.util.MetaInfServicesLookup.DEBUG", "true"); + } + */ public TopManagerTest(java.lang.String testName) { super(testName); @@ -40,54 +58,41 @@ return suite; } - protected void setUp () { - tm = TopManager.getDefault(); - } - public void testLoaderPoolNotNull () { - assertNotNull (tm.getLoaderPool ()); + assertNotNull(Lookup.getDefault().lookup(DataLoaderPool.class)); } public void testRepositoryNotNull () { - // still old - assertNotNull (tm.getRepository()); + assertNotNull(Repository.getDefault()); } - /* Faling due to classnot found public void testStdOut () { - assertNotNull (tm.getStdOut()); + assertNotNull (IOProvider.getDefault()); } - */ public void testGetClipboardNotNull () { - assertNotNull (tm.getClipboard ()); - } - - public void testGetControlPanel () { - assertNotNull (tm.getControlPanel ()); + Clipboard c = (Clipboard)Lookup.getDefault().lookup(Clipboard.class); + assertNotNull(c); + assertEquals(c, Lookup.getDefault().lookup(ExClipboard.class)); } public void testGetServices () { - assertNotNull (tm.getServices ()); + assertNotNull(Lookup.getDefault().lookup(ServiceType.Registry.class)); } public void testGetActionManager () { - assertNotNull (tm.getActionManager ()); + assertNotNull(Lookup.getDefault().lookup(ActionManager.class)); } public void testGlobalKeymap () { - assertNotNull (tm.getGlobalKeymap ()); + assertNotNull(Lookup.getDefault().lookup(Keymap.class)); } public void testNodeOperation () { - assertNotNull (tm.getNodeOperation ()); - } - - public void testPlaces () { - assertNotNull (tm.getPlaces ()); + assertNotNull(NodeOperation.getDefault()); } public void testWindowManager () { - assertNotNull (tm.getWindowManager ()); + assertNotNull(WindowManager.getDefault()); } } cvs server: Diffing openide/test/unit/src/org/openide/actions cvs server: Diffing openide/test/unit/src/org/openide/compiler cvs server: Diffing openide/test/unit/src/org/openide/execution cvs server: Diffing openide/test/unit/src/org/openide/execution/data cvs server: Diffing openide/test/unit/src/org/openide/explorer cvs server: Diffing openide/test/unit/src/org/openide/explorer/propertysheet Index: openide/test/unit/src/org/openide/explorer/propertysheet/PropertySheetTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/explorer/propertysheet/PropertySheetTest.java,v retrieving revision 1.2 diff -u -r1.2 PropertySheetTest.java --- openide/test/unit/src/org/openide/explorer/propertysheet/PropertySheetTest.java 9 Oct 2001 12:27:45 -0000 1.2 +++ openide/test/unit/src/org/openide/explorer/propertysheet/PropertySheetTest.java 16 Oct 2002 04:50:43 -0000 @@ -29,6 +29,8 @@ import junit.framework.*; import junit.textui.TestRunner; import org.netbeans.junit.*; +import org.openide.nodes.NodeOperation; +import org.openide.util.Lookup; // This test class tests the main functionality of the property sheet public class PropertySheetTest extends NbTestCase { @@ -49,10 +51,11 @@ // Create new TNode tn = new TNode(); + NodeOperation no = (NodeOperation)Lookup.getDefault().lookup(NodeOperation.class); // Display Node - TopManager.getDefault().getNodeOperation().explore(tn); + no.explore(tn); // Display Properties of a Node - TopManager.getDefault().getNodeOperation().showProperties(tn); + no.showProperties(tn); try { // Wait for the initialization cvs server: Diffing openide/test/unit/src/org/openide/explorer/view Index: openide/test/unit/src/org/openide/explorer/view/ListViewTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/explorer/view/ListViewTest.java,v retrieving revision 1.2 diff -u -r1.2 ListViewTest.java --- openide/test/unit/src/org/openide/explorer/view/ListViewTest.java 10 Jan 2002 15:22:27 -0000 1.2 +++ openide/test/unit/src/org/openide/explorer/view/ListViewTest.java 16 Oct 2002 04:50:43 -0000 @@ -53,7 +53,7 @@ * 3. Shift-Click another node by java.awt.Robot */ public void testNodeSelectionByRobot() throws Exception { - TopManager.getDefault(); +// TopManager.getDefault(); final Children c = new Children.Array(); Node n = new AbstractNode (c); final PListView lv = new PListView(); @@ -99,7 +99,7 @@ * Removes selected node by calling destroy */ public void testDestroySelectedNodes() throws Exception { - TopManager.getDefault(); +// TopManager.getDefault(); final Children c = new Children.Array(); Node n = new AbstractNode (c); final PListView lv = new PListView(); @@ -129,7 +129,7 @@ * Removes selected node by calling Children.Array.remove */ public void testRemoveAndAddNodes() throws Exception { - TopManager.getDefault(); +// TopManager.getDefault(); final Children c = new Children.Array(); Node n = new AbstractNode (c); final PListView lv = new PListView(); @@ -165,7 +165,7 @@ * and replace with the other one (several times). */ public void testNodeAddingAndRemoving() throws Exception { - TopManager.getDefault(); +// TopManager.getDefault(); final Children c = new Children.Array(); Node n = new AbstractNode (c); final PListView lv = new PListView(); Index: openide/test/unit/src/org/openide/explorer/view/SelectionModeTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/explorer/view/SelectionModeTest.java,v retrieving revision 1.6 diff -u -r1.6 SelectionModeTest.java --- openide/test/unit/src/org/openide/explorer/view/SelectionModeTest.java 24 Apr 2002 08:01:06 -0000 1.6 +++ openide/test/unit/src/org/openide/explorer/view/SelectionModeTest.java 16 Oct 2002 04:50:43 -0000 @@ -69,7 +69,7 @@ if (prepared) return ; - TopManager.getDefault (); +// TopManager.getDefault (); // create tree: // root +--- parent_one +--- one1 cvs server: Diffing openide/test/unit/src/org/openide/filesystems Index: openide/test/unit/src/org/openide/filesystems/MfoOnSFSTestHid.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/filesystems/MfoOnSFSTestHid.java,v retrieving revision 1.1 diff -u -r1.1 MfoOnSFSTestHid.java --- openide/test/unit/src/org/openide/filesystems/MfoOnSFSTestHid.java 21 Feb 2002 14:36:34 -0000 1.1 +++ openide/test/unit/src/org/openide/filesystems/MfoOnSFSTestHid.java 16 Oct 2002 04:50:43 -0000 @@ -18,7 +18,7 @@ import org.openide.util.Queue; import org.openide.util.NbBundle; import org.openide.util.enum.QueueEnumeration; -//import org.openide.filesystems.hidden.*; +import org.openide.filesystems.Repository; import junit.framework.*; @@ -71,8 +71,7 @@ protected void setUp() throws java.lang.Exception { - TopManager tm = TopManager.getDefault(); - this.testedFS = sfs = tm.getRepository().getDefaultFileSystem();; + this.testedFS = sfs = Repository.getDefault().getDefaultFileSystem();; } } cvs server: Diffing openide/test/unit/src/org/openide/loaders Index: openide/test/unit/src/org/openide/loaders/AddLoaderManuallyHid.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/AddLoaderManuallyHid.java,v retrieving revision 1.3 diff -u -r1.3 AddLoaderManuallyHid.java --- openide/test/unit/src/org/openide/loaders/AddLoaderManuallyHid.java 3 Oct 2001 08:53:48 -0000 1.3 +++ openide/test/unit/src/org/openide/loaders/AddLoaderManuallyHid.java 16 Oct 2002 04:50:43 -0000 @@ -13,13 +13,15 @@ package org.openide.loaders; -import org.openide.TopManager; + import org.openide.filesystems.FileObject; import java.lang.reflect.*; import java.util.*; import javax.swing.event.ChangeEvent; import java.beans.PropertyChangeListener; +import org.openide.util.Lookup; + /** Utility to add a loader to the loader pool. * Should only be used in external execution mode! * Requires core.jar in classpath. @@ -32,7 +34,8 @@ /** Add a loader to the pool (to the front of the free area). */ public static void addRemoveLoader(DataLoader l, boolean add) throws Exception { // Initialize IDE: - TopManager.getDefault(); +// TopManager.getDefault(); + // Now add the loader. Would be easy enough if we could directly access // core classes, but then this test would have to be compiled with core.jar // in the classpath... @@ -47,7 +50,8 @@ if (! loaders.contains(l)) throw new IllegalArgumentException(); loaders.remove(l); } - DataLoaderPool pool = TopManager.getDefault().getLoaderPool(); + + DataLoaderPool pool = (DataLoaderPool)Lookup.getDefault().lookup(DataLoaderPool.class); if (add) { l.addPropertyChangeListener((PropertyChangeListener)pool); } else { Index: openide/test/unit/src/org/openide/loaders/BasicDataObjectTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/BasicDataObjectTest.java,v retrieving revision 1.3 diff -u -r1.3 BasicDataObjectTest.java --- openide/test/unit/src/org/openide/loaders/BasicDataObjectTest.java 22 Mar 2002 19:09:34 -0000 1.3 +++ openide/test/unit/src/org/openide/loaders/BasicDataObjectTest.java 16 Oct 2002 04:50:43 -0000 @@ -14,7 +14,6 @@ package org.openide.loaders; import org.openide.filesystems.*; -import org.openide.TopManager; import org.openide.loaders.*; import java.beans.*; import junit.textui.TestRunner; Index: openide/test/unit/src/org/openide/loaders/DataFolderMoveTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/DataFolderMoveTest.java,v retrieving revision 1.3 diff -u -r1.3 DataFolderMoveTest.java --- openide/test/unit/src/org/openide/loaders/DataFolderMoveTest.java 26 Feb 2002 09:58:44 -0000 1.3 +++ openide/test/unit/src/org/openide/loaders/DataFolderMoveTest.java 16 Oct 2002 04:50:43 -0000 @@ -15,7 +15,6 @@ import org.openide.filesystems.*; import org.openide.filesystems.FileSystem; // override java.io.FileSystem -import org.openide.TopManager; import org.openide.nodes.Node; import java.beans.*; Index: openide/test/unit/src/org/openide/loaders/DataFolderTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/DataFolderTest.java,v retrieving revision 1.16 diff -u -r1.16 DataFolderTest.java --- openide/test/unit/src/org/openide/loaders/DataFolderTest.java 25 Sep 2002 11:43:28 -0000 1.16 +++ openide/test/unit/src/org/openide/loaders/DataFolderTest.java 16 Oct 2002 04:50:43 -0000 @@ -14,7 +14,6 @@ package org.openide.loaders; import org.openide.filesystems.*; -import org.openide.TopManager; import java.beans.*; import java.io.IOException; @@ -490,7 +489,7 @@ // Adding it to the repository is necessary for the test to work. // Otherwise PROP_CHILDREN is never fired, and getChildren sticks // to whatever it last had. #15572 - TopManager.getDefault().getRepository().addFileSystem(lfs); + Repository.getDefault().addFileSystem(lfs); try { FileObject folder = lfs.findResource("folder"); DataLoader l = DataLoader.getLoader(DataLoaderTest.SimpleUniFileLoader.class); @@ -508,7 +507,7 @@ //System.err.println("added it"); Thread.sleep(5000); // give it time to refresh //System.err.println("5 secs later"); - //System.err.println("loader pool: " + java.util.Arrays.asList(TopManager.getDefault().getLoaderPool().toArray())); + //System.err.println("loader pool: " + java.util.Arrays.asList(Lookup.getDefault().lookup(DataLoaderPool.class)).toArray())); //System.err.println("our old object: " + old0); //System.err.println("loader recog says: " + DataObject.find(lfs.findResource(names[0]))); //System.err.println("but on next one loader recog says: " + DataObject.find(lfs.findResource(names[1]))); @@ -527,7 +526,7 @@ assertEquals("org.openide.loaders.DefaultDataObject", DataObject.find(lfs.findResource(names[0])).getClass().getName()); assertTrue("Removing a loader also triggers PROP_CHILDREN", ol.gotSomething()); } finally { - TopManager.getDefault().getRepository().removeFileSystem(lfs); + Repository.getDefault().removeFileSystem(lfs); } TestUtilHid.destroyLocalFileSystem(name()); } Index: openide/test/unit/src/org/openide/loaders/DataLoaderPoolTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/DataLoaderPoolTest.java,v retrieving revision 1.2 diff -u -r1.2 DataLoaderPoolTest.java --- openide/test/unit/src/org/openide/loaders/DataLoaderPoolTest.java 22 Mar 2002 19:09:34 -0000 1.2 +++ openide/test/unit/src/org/openide/loaders/DataLoaderPoolTest.java 16 Oct 2002 04:50:43 -0000 @@ -17,9 +17,9 @@ import org.openide.filesystems.*; import java.io.IOException; -import org.openide.TopManager; import java.util.*; import org.netbeans.junit.*; +import org.openide.util.Lookup; /** Test basic functionality of data loader pool. * @author Vita Stejskal @@ -51,7 +51,7 @@ AddLoaderManuallyHid.addRemoveLoader(loaderA, true); AddLoaderManuallyHid.addRemoveLoader(loaderB, true); try { - pool = TopManager.getDefault().getLoaderPool(); + pool = (DataLoaderPool)Lookup.getDefault().lookup(DataLoaderPool.class); assertTrue(Arrays.asList(pool.toArray()).contains(loaderA)); assertTrue(Arrays.asList(pool.toArray()).contains(loaderB)); Index: openide/test/unit/src/org/openide/loaders/DataLoaderTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/DataLoaderTest.java,v retrieving revision 1.8 diff -u -r1.8 DataLoaderTest.java --- openide/test/unit/src/org/openide/loaders/DataLoaderTest.java 18 Jun 2002 14:13:54 -0000 1.8 +++ openide/test/unit/src/org/openide/loaders/DataLoaderTest.java 16 Oct 2002 04:50:43 -0000 @@ -16,8 +16,8 @@ import junit.textui.TestRunner; import org.openide.filesystems.*; +import org.openide.util.Lookup; import java.io.IOException; -import org.openide.TopManager; import java.util.*; import org.netbeans.junit.*; import java.beans.PropertyChangeListener; @@ -47,7 +47,7 @@ DataLoaderPool pool; AddLoaderManuallyHid.addRemoveLoader(l, true); try { - pool = TopManager.getDefault().getLoaderPool(); + pool = (DataLoaderPool)Lookup.getDefault().lookup(DataLoaderPool.class); assertTrue(Arrays.asList(pool.toArray()).contains(l)); FileSystem lfs = TestUtilHid.createLocalFileSystem(name(), new String[] { "folder/file.simple", @@ -70,7 +70,7 @@ DataLoaderPool pool; AddLoaderManuallyHid.addRemoveLoader(l, true); try { - pool = TopManager.getDefault().getLoaderPool(); + pool = (DataLoaderPool)Lookup.getDefault().lookup(DataLoaderPool.class); assertTrue(Arrays.asList(pool.toArray()).contains(l)); FileSystem lfs = TestUtilHid.createLocalFileSystem(name(), new String[] { "folder/file.simple", Index: openide/test/unit/src/org/openide/loaders/DataNodeTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/DataNodeTest.java,v retrieving revision 1.3 diff -u -r1.3 DataNodeTest.java --- openide/test/unit/src/org/openide/loaders/DataNodeTest.java 25 Feb 2002 12:39:43 -0000 1.3 +++ openide/test/unit/src/org/openide/loaders/DataNodeTest.java 16 Oct 2002 04:50:43 -0000 @@ -15,10 +15,10 @@ import junit.textui.TestRunner; import org.openide.filesystems.FileSystem; -import org.openide.TopManager; import java.util.Enumeration; import org.openide.nodes.Node; import org.openide.cookies.InstanceCookie; +import org.openide.filesystems.Repository; import org.netbeans.junit.*; /** Test things about node delegates. @@ -53,9 +53,9 @@ public void testDataNodeHasObjectAsCookie() throws Exception { // First make sure some core is installed. This could be run inside or // outside a running IDE. - TopManager tm = TopManager.getDefault(); +// TopManager tm = TopManager.getDefault(); // Now scan SFS for all DO's and check the assertion. - FileSystem sfs = tm.getRepository().getDefaultFileSystem(); + FileSystem sfs = Repository.getDefault().getDefaultFileSystem(); DataFolder top = DataFolder.findFolder(sfs.getRoot()); Enumeration e = top.children(true); while (e.hasMoreElements()) { Index: openide/test/unit/src/org/openide/loaders/FolderChildrenTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/FolderChildrenTest.java,v retrieving revision 1.1 diff -u -r1.1 FolderChildrenTest.java --- openide/test/unit/src/org/openide/loaders/FolderChildrenTest.java 5 Sep 2002 12:43:37 -0000 1.1 +++ openide/test/unit/src/org/openide/loaders/FolderChildrenTest.java 16 Oct 2002 04:50:43 -0000 @@ -22,7 +22,6 @@ import org.openide.cookies.*; import org.openide.util.*; -import org.openide.TopManager; import org.netbeans.junit.*; import java.util.Enumeration; import org.openide.nodes.Node; Index: openide/test/unit/src/org/openide/loaders/FolderInstanceTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/FolderInstanceTest.java,v retrieving revision 1.13 diff -u -r1.13 FolderInstanceTest.java --- openide/test/unit/src/org/openide/loaders/FolderInstanceTest.java 15 Oct 2002 14:38:45 -0000 1.13 +++ openide/test/unit/src/org/openide/loaders/FolderInstanceTest.java 16 Oct 2002 04:50:43 -0000 @@ -22,7 +22,6 @@ import org.openide.cookies.*; import org.openide.util.*; -import org.openide.TopManager; import org.netbeans.junit.*; import java.util.Enumeration; @@ -356,7 +355,7 @@ } TestUtilHid.destroyLocalFileSystem(name()); FileSystem lfs = TestUtilHid.createLocalFileSystem(name(), names); - TopManager.getDefault().getRepository().addFileSystem(lfs); + Repository.getDefault().addFileSystem(lfs); try { FileObject folder = lfs.findResource("folder"); DataLoader l = DataLoader.getLoader(DataLoaderTest.SimpleUniFileLoader.class); @@ -413,7 +412,7 @@ Thread.sleep(1000); assert(icfi.ok); } finally { - TopManager.getDefault().getRepository().removeFileSystem(lfs); + Repository.getDefault().removeFileSystem(lfs); } TestUtilHid.destroyLocalFileSystem(name()); } Index: openide/test/unit/src/org/openide/loaders/InstanceDataObjectTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/InstanceDataObjectTest.java,v retrieving revision 1.24 diff -u -r1.24 InstanceDataObjectTest.java --- openide/test/unit/src/org/openide/loaders/InstanceDataObjectTest.java 15 Sep 2002 20:23:43 -0000 1.24 +++ openide/test/unit/src/org/openide/loaders/InstanceDataObjectTest.java 16 Oct 2002 04:50:43 -0000 @@ -16,7 +16,6 @@ import org.openide.filesystems.*; import org.openide.filesystems.FileSystem; // override java.io.FileSystem import org.openide.loaders.*; -import org.openide.TopManager; import org.openide.cookies.*; import org.openide.util.*; Index: openide/test/unit/src/org/openide/loaders/MultiDataObjectFilesTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/loaders/MultiDataObjectFilesTest.java,v retrieving revision 1.1 diff -u -r1.1 MultiDataObjectFilesTest.java --- openide/test/unit/src/org/openide/loaders/MultiDataObjectFilesTest.java 5 Apr 2002 14:14:58 -0000 1.1 +++ openide/test/unit/src/org/openide/loaders/MultiDataObjectFilesTest.java 16 Oct 2002 04:50:43 -0000 @@ -17,7 +17,6 @@ import org.openide.filesystems.*; import java.io.IOException; -import org.openide.TopManager; import java.util.*; import org.netbeans.junit.*; cvs server: Diffing openide/test/unit/src/org/openide/loaders/data cvs server: Diffing openide/test/unit/src/org/openide/modules cvs server: Diffing openide/test/unit/src/org/openide/nodes cvs server: Diffing openide/test/unit/src/org/openide/options cvs server: Diffing openide/test/unit/src/org/openide/util cvs server: Diffing openide/test/unit/src/org/openide/util/actions cvs server: Diffing openide/test/unit/src/org/openide/util/actions/data cvs server: Diffing openide/test/unit/src/org/openide/util/data cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-1 cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-1/META-INF cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-1/META-INF/services cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-1/org cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-1/org/foo cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-1/org/foo/impl cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-2 cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-2/META-INF cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-2/META-INF/services cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-2/org cvs server: Diffing openide/test/unit/src/org/openide/util/data/services-jar-2/org/bar cvs server: Diffing openide/test/unit/src/org/openide/util/lookup cvs server: Diffing openide/test/unit/src/org/openide/xml cvs server: Diffing openide/www cvs server: Diffing openide/www/fs cvs server: Diffing openide/www/lookup cvs server: Diffing openide/www/nck cvs server: Diffing openide/www/nck/Images cvs server: Diffing openide/www/plans cvs server: Diffing openide/www/proposals cvs server: Diffing openide/www/proposals/actions cvs server: Diffing openide/www/proposals/arch cvs server: Diffing openide/www/proposals/compiler cvs server: Diffing openide/www/proposals/loaders cvs server: Diffing openide/www/proposals/settings cvs server: Diffing openide/www/qa cvs server: Diffing openide/www/qa/reports cvs server: Diffing openide/www/qa/testspecs cvs server: Diffing openide/www/qa/testspecs/data cvs server: Diffing openide/www/qa/testspecs/nb34 cvs server: Diffing openide/www/qa/testspecs/nb40 cvs server: Diffing openide/www/qa/testspecs/xml cvs server: Diffing openide/www/survey cvs server: Diffing openide/www/tutorial cvs server: Diffing openidex Index: openidex/build.xml =================================================================== RCS file: /cvs/openidex/build.xml,v retrieving revision 1.27 diff -u -r1.27 build.xml --- openidex/build.xml 12 Sep 2002 11:04:02 -0000 1.27 +++ openidex/build.xml 16 Oct 2002 04:50:45 -0000 @@ -29,9 +29,8 @@ - - - + + Index: openidex/manifest.mf =================================================================== RCS file: /cvs/openidex/manifest.mf,v retrieving revision 1.24 diff -u -r1.24 manifest.mf --- openidex/manifest.mf 2 Aug 2002 18:51:04 -0000 1.24 +++ openidex/manifest.mf 16 Oct 2002 04:50:45 -0000 @@ -1,7 +1,9 @@ OpenIDE-Module: org.openidex.util/2 OpenIDE-Module-Localizing-Bundle: org/openidex/Bundle.properties -OpenIDE-Module-Specification-Version: 2.4 +OpenIDE-Module-Specification-Version: 2.5 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/openidex/resources/mf-layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager cvs server: Diffing openidex/looks cvs server: Diffing openidex/looks/api cvs server: Diffing openidex/looks/api/doc cvs server: Diffing openidex/looks/api/doc/changes cvs server: Diffing openidex/looks/src cvs server: Diffing openidex/looks/src/org cvs server: Diffing openidex/looks/src/org/netbeans cvs server: Diffing openidex/looks/src/org/netbeans/api cvs server: Diffing openidex/looks/src/org/netbeans/api/looks cvs server: Diffing openidex/looks/src/org/netbeans/modules cvs server: Diffing openidex/looks/src/org/netbeans/modules/looks cvs server: Diffing openidex/looks/src/org/netbeans/modules/looks/resources cvs server: Diffing openidex/looks/src/org/netbeans/spi cvs server: Diffing openidex/looks/src/org/netbeans/spi/looks cvs server: Diffing openidex/looks/test cvs server: Diffing openidex/looks/test/unit cvs server: Diffing openidex/looks/test/unit/src cvs server: Diffing openidex/looks/test/unit/src/org cvs server: Diffing openidex/looks/test/unit/src/org/netbeans cvs server: Diffing openidex/looks/test/unit/src/org/netbeans/api cvs server: Diffing openidex/looks/test/unit/src/org/netbeans/api/looks cvs server: Diffing openidex/looks/test/unit/src/org/netbeans/spi cvs server: Diffing openidex/looks/test/unit/src/org/netbeans/spi/looks cvs server: Diffing openidex/src cvs server: Diffing openidex/src/org cvs server: Diffing openidex/src/org/openidex cvs server: Diffing openidex/src/org/openidex/nodes cvs server: Diffing openidex/src/org/openidex/nodes/looks cvs server: Diffing openidex/src/org/openidex/nodes/looks/resources cvs server: Diffing openidex/src/org/openidex/resources cvs server: Diffing openidex/src/org/openidex/search cvs server: Diffing openidex/src/org/openidex/search/res cvs server: Diffing openidex/test cvs server: Diffing openidex/test/unit cvs server: Diffing openidex/test/unit/src cvs server: Diffing openidex/test/unit/src/org cvs server: Diffing openidex/test/unit/src/org/openidex cvs server: Diffing openidex/test/unit/src/org/openidex/nodes cvs server: Diffing openidex/test/unit/src/org/openidex/nodes/looks cvs server: Diffing openidex/www cvs server: Diffing openidex/www/proposals cvs server: Diffing openidex/www/proposals/looks cvs server: Diffing openidex/www/proposals/looks/images cvs server: Diffing projects Index: projects/build.xml =================================================================== RCS file: /cvs/projects/build.xml,v retrieving revision 1.27 diff -u -r1.27 build.xml --- projects/build.xml 12 Sep 2002 11:04:03 -0000 1.27 +++ projects/build.xml 16 Oct 2002 04:50:45 -0000 @@ -28,9 +28,8 @@ - - - + + Index: projects/manifest.mf =================================================================== RCS file: /cvs/projects/manifest.mf,v retrieving revision 1.36 diff -u -r1.36 manifest.mf --- projects/manifest.mf 2 Aug 2002 18:51:04 -0000 1.36 +++ projects/manifest.mf 16 Oct 2002 04:50:45 -0000 @@ -1,10 +1,11 @@ OpenIDE-Module: org.netbeans.modules.projects/1 OpenIDE-Module-Install: org/netbeans/modules/projects/ProjectsModule.class OpenIDE-Module-Layer: org/netbeans/modules/projects/resources/projects-layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 -OpenIDE-Module-Specification-Version: 1.9 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-Specification-Version: 1.10 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-Module-Dependencies: org.netbeans.core/1 > 1.1 +OpenIDE-Module-Module-Dependencies: org.netbeans.core/1 > 1.1, org.openide.deprecated > 1.0 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/projects/Bundle.properties Name: org/netbeans/modules/projects/ProjectDataLoader.class cvs server: Diffing projects/src cvs server: Diffing projects/src/org cvs server: Diffing projects/src/org/netbeans cvs server: Diffing projects/src/org/netbeans/modules cvs server: Diffing projects/src/org/netbeans/modules/projects Index: projects/src/org/netbeans/modules/projects/Add2ProjectAction.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/Add2ProjectAction.java,v retrieving revision 1.17 diff -u -r1.17 Add2ProjectAction.java --- projects/src/org/netbeans/modules/projects/Add2ProjectAction.java 20 May 2002 14:52:28 -0000 1.17 +++ projects/src/org/netbeans/modules/projects/Add2ProjectAction.java 16 Oct 2002 04:50:45 -0000 @@ -40,7 +40,7 @@ } public void performAction () { - Node n = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node n = CurrentProjectNode.get(); ProjectDataObject pdo = (ProjectDataObject) n.getCookie(ProjectDataObject.class); if (pdo != null) { DataObject dobjs[] = selectDataObjects (); Index: projects/src/org/netbeans/modules/projects/AddNewAction.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/AddNewAction.java,v retrieving revision 1.11 diff -u -r1.11 AddNewAction.java --- projects/src/org/netbeans/modules/projects/AddNewAction.java 11 Apr 2002 13:57:51 -0000 1.11 +++ projects/src/org/netbeans/modules/projects/AddNewAction.java 16 Oct 2002 04:50:45 -0000 @@ -82,7 +82,7 @@ Iterator it = set.iterator(); while (it.hasNext()) { DataObject dobj = (DataObject) it.next(); - ProjectDataObject pdo = (ProjectDataObject) TopManager.getDefault().getPlaces().nodes().projectDesktop().getCookie(ProjectDataObject.class); + ProjectDataObject pdo = (ProjectDataObject) CurrentProjectNode.get().getCookie(ProjectDataObject.class); if (pdo != null) { if (!pdo.isAccessibleFromFolder(dobj)) { pdo.add(dobj); Index: projects/src/org/netbeans/modules/projects/AddToProjectAction.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/AddToProjectAction.java,v retrieving revision 1.15 diff -u -r1.15 AddToProjectAction.java --- projects/src/org/netbeans/modules/projects/AddToProjectAction.java 11 Apr 2002 13:57:51 -0000 1.15 +++ projects/src/org/netbeans/modules/projects/AddToProjectAction.java 16 Oct 2002 04:50:45 -0000 @@ -32,7 +32,7 @@ /** Enabled only if the current project is ProjectDataObject. */ public boolean enable (Node[] arr) { - org.openide.nodes.Node n = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + org.openide.nodes.Node n = CurrentProjectNode.get(); if (n.getCookie (ProjectDataObject.class) == null) { return false; }; @@ -92,7 +92,7 @@ * @param activatedNodes gives array of actually activated nodes. */ protected void performAction (Node[] activatedNodes) { - org.openide.nodes.Node n = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + org.openide.nodes.Node n = CurrentProjectNode.get(); ProjectDataObject project = (ProjectDataObject)n.getCookie (ProjectDataObject.class); for (int i = 0; i < activatedNodes.length; i++) { Index: projects/src/org/netbeans/modules/projects/PSupport.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/PSupport.java,v retrieving revision 1.103 diff -u -r1.103 PSupport.java --- projects/src/org/netbeans/modules/projects/PSupport.java 11 Apr 2002 13:57:52 -0000 1.103 +++ projects/src/org/netbeans/modules/projects/PSupport.java 16 Oct 2002 04:50:45 -0000 @@ -210,6 +210,8 @@ if (save != SAVE_MODULES) { openOldProject (save); } + + CurrentProjectNode.set(projectDesktop()); tm.setStatusText (NbBundle.getMessage (PSupport.class, "MSG_OpenProjectDone", getProjectDO ().getName ())); // NOI18N } Index: projects/src/org/netbeans/modules/projects/ProjectDataLoader.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/ProjectDataLoader.java,v retrieving revision 1.22 diff -u -r1.22 ProjectDataLoader.java --- projects/src/org/netbeans/modules/projects/ProjectDataLoader.java 11 Apr 2002 13:57:53 -0000 1.22 +++ projects/src/org/netbeans/modules/projects/ProjectDataLoader.java 16 Oct 2002 04:50:45 -0000 @@ -115,7 +115,7 @@ } public void run() { - Node p = org.openide.TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node p = CurrentProjectNode.get(); ProjectDataObject pdo = (ProjectDataObject) p.getCookie (ProjectDataObject.class); if (pdo != null) { try { Index: projects/src/org/netbeans/modules/projects/ProjectDataNode.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/ProjectDataNode.java,v retrieving revision 1.30 diff -u -r1.30 ProjectDataNode.java --- projects/src/org/netbeans/modules/projects/ProjectDataNode.java 11 Apr 2002 13:57:56 -0000 1.30 +++ projects/src/org/netbeans/modules/projects/ProjectDataNode.java 16 Oct 2002 04:50:45 -0000 @@ -177,7 +177,7 @@ static final long serialVersionUID = -8515898905571314270L; public Node getNode() throws java.io.IOException { - return TopManager.getDefault().getPlaces().nodes().projectDesktop(); + return CurrentProjectNode.get(); } } Index: projects/src/org/netbeans/modules/projects/ProjectDataObject.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/ProjectDataObject.java,v retrieving revision 1.46 diff -u -r1.46 ProjectDataObject.java --- projects/src/org/netbeans/modules/projects/ProjectDataObject.java 11 Jun 2002 09:16:02 -0000 1.46 +++ projects/src/org/netbeans/modules/projects/ProjectDataObject.java 16 Oct 2002 04:50:45 -0000 @@ -201,7 +201,7 @@ * @return true if node of this DO is the same as system project node. */ public boolean isCurrentProject() { - Node node = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node node = CurrentProjectNode.get(); return (node != null) && (node.getCookie(ProjectDataObject.class) == this); } Index: projects/src/org/netbeans/modules/projects/ProjectRootFilterNode.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/ProjectRootFilterNode.java,v retrieving revision 1.10 diff -u -r1.10 ProjectRootFilterNode.java --- projects/src/org/netbeans/modules/projects/ProjectRootFilterNode.java 19 Oct 2001 11:22:43 -0000 1.10 +++ projects/src/org/netbeans/modules/projects/ProjectRootFilterNode.java 16 Oct 2002 04:50:45 -0000 @@ -44,7 +44,7 @@ /** Return a node for the current project. */ public Node getNode () { - return TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + return CurrentProjectNode.get(); } } @@ -105,7 +105,7 @@ return false; } - Node prjNode = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node prjNode = CurrentProjectNode.get(); ProjectDataObject pdo = (ProjectDataObject) prjNode.getCookie (ProjectDataObject.class); if (pdo == null || link == null) { Index: projects/src/org/netbeans/modules/projects/SetMainClassAction.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/SetMainClassAction.java,v retrieving revision 1.17 diff -u -r1.17 SetMainClassAction.java --- projects/src/org/netbeans/modules/projects/SetMainClassAction.java 28 May 2002 14:17:44 -0000 1.17 +++ projects/src/org/netbeans/modules/projects/SetMainClassAction.java 16 Oct 2002 04:50:45 -0000 @@ -49,13 +49,13 @@ } public boolean isEnabled () { - Node p = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node p = CurrentProjectNode.get(); ProjectDataObject pdo = (ProjectDataObject) p.getCookie (ProjectDataObject.class); return pdo != null; } public void performAction () { - Node p = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node p = CurrentProjectNode.get(); ProjectDataObject pdo = (ProjectDataObject) p.getCookie (ProjectDataObject.class); if (pdo != null) { ProjectOption opt = (ProjectOption)ProjectOption.findObject (ProjectOption.class, true); Index: projects/src/org/netbeans/modules/projects/SetMainClassCookieAction.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/SetMainClassCookieAction.java,v retrieving revision 1.11 diff -u -r1.11 SetMainClassCookieAction.java --- projects/src/org/netbeans/modules/projects/SetMainClassCookieAction.java 20 May 2002 17:08:03 -0000 1.11 +++ projects/src/org/netbeans/modules/projects/SetMainClassCookieAction.java 16 Oct 2002 04:50:45 -0000 @@ -38,7 +38,7 @@ if (n.length != 1) return false; - Node nodePrj = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node nodePrj = CurrentProjectNode.get(); ProjectDataObject pdo = (ProjectDataObject) nodePrj.getCookie (ProjectDataObject.class); if (pdo == null) { return false; @@ -57,7 +57,7 @@ opt.setMainClass (dobj); // add link to main class if it isn't accessible from the project - Node nodePrj = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node nodePrj = CurrentProjectNode.get(); ProjectDataObject pdo = (ProjectDataObject) nodePrj.getCookie (ProjectDataObject.class); if (pdo != null && !pdo.isAccessibleFromFolder (dobj) && ProjectOption.canAddToProject (dobj)) { try { cvs server: Diffing projects/src/org/netbeans/modules/projects/content Index: projects/src/org/netbeans/modules/projects/content/ProjectErrorManager.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/content/ProjectErrorManager.java,v retrieving revision 1.9 diff -u -r1.9 ProjectErrorManager.java --- projects/src/org/netbeans/modules/projects/content/ProjectErrorManager.java 18 Apr 2002 10:54:34 -0000 1.9 +++ projects/src/org/netbeans/modules/projects/content/ProjectErrorManager.java 16 Oct 2002 04:50:45 -0000 @@ -17,6 +17,7 @@ import java.awt.datatransfer.*; import java.io.IOException; import javax.swing.*; +import org.netbeans.modules.projects.CurrentProjectNode; import org.openide.*; import org.openide.nodes.*; @@ -208,7 +209,7 @@ setIconBase("org/netbeans/modules/projects/resources/AllErrorsNodeIcon"); // NOI18N // Whatever is most relevant to a user: // setDefaultAction (SystemAction.get (PropertiesAction.class)); - Node n = TopManager.getDefault().getPlaces().nodes().projectDesktop(); + Node n = CurrentProjectNode.get(); String name = NbBundle.getMessage(ProjectErrorManager.class, "LBL_AllErrorsNode", n.getName()); setName(name); setDisplayName(name); cvs server: Diffing projects/src/org/netbeans/modules/projects/importing cvs server: Diffing projects/src/org/netbeans/modules/projects/resources Index: projects/src/org/netbeans/modules/projects/resources/projects-layer.xml =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/resources/projects-layer.xml,v retrieving revision 1.26 diff -u -r1.26 projects-layer.xml --- projects/src/org/netbeans/modules/projects/resources/projects-layer.xml 14 Oct 2002 15:39:03 -0000 1.26 +++ projects/src/org/netbeans/modules/projects/resources/projects-layer.xml 16 Oct 2002 04:50:45 -0000 @@ -119,6 +119,10 @@ + + + + cvs server: Diffing projects/src/org/netbeans/modules/projects/resources/components cvs server: Diffing projects/src/org/netbeans/modules/projects/resources/windowmanager cvs server: Diffing projects/src/org/netbeans/modules/projects/resources/windowmanager/Editing cvs server: Diffing projects/src/org/netbeans/modules/projects/resources/windowmanager/Editing/explorer cvs server: Diffing projects/src/org/netbeans/modules/projects/resources/windowmanager/Visual cvs server: Diffing projects/src/org/netbeans/modules/projects/resources/windowmanager/Visual/explorer cvs server: Diffing projects/src/org/netbeans/modules/projects/settings Index: projects/src/org/netbeans/modules/projects/settings/ProjectOption.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/settings/ProjectOption.java,v retrieving revision 1.12 diff -u -r1.12 ProjectOption.java --- projects/src/org/netbeans/modules/projects/settings/ProjectOption.java 15 Sep 2002 20:23:46 -0000 1.12 +++ projects/src/org/netbeans/modules/projects/settings/ProjectOption.java 16 Oct 2002 04:50:46 -0000 @@ -14,6 +14,7 @@ package org.netbeans.modules.projects.settings; import java.io.IOException; +import org.netbeans.modules.projects.CurrentProjectNode; import org.openide.TopManager; import org.openide.NotifyDescriptor; @@ -125,7 +126,7 @@ } public DataObject getMainClass () { - Node prjNode = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node prjNode = CurrentProjectNode.get(); ProjectDataObject pdo = (ProjectDataObject) prjNode.getCookie (ProjectDataObject.class); DataShadow shadow = pdo == null ? null : getMainClassShadow (pdo); @@ -136,7 +137,7 @@ * the mainClass property is ALWAYS project-specific. */ public void setMainClass (DataObject value) { - Node prjNode = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node prjNode = CurrentProjectNode.get(); ProjectDataObject pdo = (ProjectDataObject) prjNode.getCookie (ProjectDataObject.class); DataShadow shadow = null; Index: projects/src/org/netbeans/modules/projects/settings/ProjectOptionBeanInfo.java =================================================================== RCS file: /cvs/projects/src/org/netbeans/modules/projects/settings/ProjectOptionBeanInfo.java,v retrieving revision 1.17 diff -u -r1.17 ProjectOptionBeanInfo.java --- projects/src/org/netbeans/modules/projects/settings/ProjectOptionBeanInfo.java 28 May 2002 14:17:47 -0000 1.17 +++ projects/src/org/netbeans/modules/projects/settings/ProjectOptionBeanInfo.java 16 Oct 2002 04:50:46 -0000 @@ -17,6 +17,7 @@ import java.beans.*; import java.util.LinkedList; import java.util.Iterator; +import org.netbeans.modules.projects.CurrentProjectNode; import org.openide.TopManager; import org.openide.ErrorManager; @@ -106,7 +107,7 @@ while (i.hasNext ()) { PropertyDescriptor p = (PropertyDescriptor) i.next (); if (p.getName ().equals ("mainClass")) { //NOI18N - Node prjNode = TopManager.getDefault ().getPlaces ().nodes ().projectDesktop (); + Node prjNode = CurrentProjectNode.get(); ProjectDataObject pdo = (ProjectDataObject) prjNode.getCookie (ProjectDataObject.class); DataFolder files = pdo == null ? null : pdo.getFilesFolder (); if (files != null) { cvs server: Diffing projects/test cvs server: Diffing projects/test/qa-functional cvs server: Diffing projects/test/qa-functional/src cvs server: Diffing projects/test/qa-functional/src/org cvs server: Diffing projects/test/qa-functional/src/org/netbeans cvs server: Diffing projects/test/qa-functional/src/org/netbeans/test cvs server: Diffing projects/test/qa-functional/src/org/netbeans/test/gui cvs server: Diffing projects/test/qa-functional/src/org/netbeans/test/gui/projects cvs server: Diffing projects/test/qa-functional/src/org/netbeans/test/gui/projects/data cvs server: Diffing projects/test/qa-functional/src/org/netbeans/test/oo cvs server: Diffing projects/test/qa-functional/src/org/netbeans/test/oo/gui cvs server: Diffing projects/test/qa-functional/src/org/netbeans/test/oo/gui/jelly cvs server: Diffing projects/test/qa-functional/src/org/netbeans/test/oo/gui/jelly/projects cvs server: Diffing projects/www cvs server: Diffing projects/www/architecture cvs server: Diffing projects/www/architecture/images cvs server: Diffing projects/www/images cvs server: Diffing projects/www/misc cvs server: Diffing projects/www/openissues cvs server: Diffing projects/www/plans cvs server: Diffing projects/www/proposals cvs server: Diffing projects/www/proposals/antintegration cvs server: Diffing projects/www/proposals/buildusedependencies cvs server: Diffing projects/www/proposals/configurations cvs server: Diffing projects/www/proposals/displayrequirements cvs server: Diffing projects/www/proposals/executeui cvs server: Diffing projects/www/proposals/execution cvs server: Diffing projects/www/proposals/filesets cvs server: Diffing projects/www/proposals/filesets/api cvs server: Diffing projects/www/proposals/filesets/api/org cvs server: Diffing projects/www/proposals/filesets/api/org/netbeans cvs server: Diffing projects/www/proposals/filesets/api/org/netbeans/api cvs server: Diffing projects/www/proposals/filesets/api/org/netbeans/api/filesets cvs server: Diffing projects/www/proposals/iplinks cvs server: Diffing projects/www/proposals/logicalorganisation cvs server: Diffing projects/www/proposals/looks cvs server: Diffing projects/www/proposals/natures cvs server: Diffing projects/www/proposals/outputnodes cvs server: Diffing projects/www/proposals/prototype cvs server: Diffing projects/www/proposals/settings cvs server: Diffing projects/www/proposals/settingsui cvs server: Diffing projects/www/proposals/templates cvs server: Diffing projects/www/proposals/vcs cvs server: Diffing projects/www/proposals/wizards cvs server: Diffing projects/www/ps cvs server: Diffing projects/www/qa cvs server: Diffing projects/www/qa/testspecs cvs server: Diffing projects/www/qa/testspecs/nb34 cvs server: Diffing projects/www/summary cvs server: Diffing projects/www/uispecs cvs server: Diffing projects/www/uispecs/infrastructure cvs server: Diffing projects/www/uispecs/infrastructure/preview cvs server: Diffing projects/www/uispecs/infrastructure/settingsproposal cvs server: Diffing projects/www/uispecs/infrastructure/working cvs server: Diffing projects/www/uispecs/java cvs server: Diffing projects/www/uispecs/javaProjects cvs server: Diffing projects/www/userviews cvs server: Diffing projects/www/userviews/images cvs server: Diffing properties Index: properties/build.xml =================================================================== RCS file: /cvs/properties/build.xml,v retrieving revision 1.24 diff -u -r1.24 build.xml --- properties/build.xml 22 May 2002 18:01:42 -0000 1.24 +++ properties/build.xml 16 Oct 2002 04:50:46 -0000 @@ -28,9 +28,8 @@ - - - + + Index: properties/manifest-syntax.mf =================================================================== RCS file: /cvs/properties/manifest-syntax.mf,v retrieving revision 1.11 diff -u -r1.11 manifest-syntax.mf --- properties/manifest-syntax.mf 2 Aug 2002 18:51:05 -0000 1.11 +++ properties/manifest-syntax.mf 16 Oct 2002 04:50:46 -0000 @@ -1,9 +1,9 @@ OpenIDE-Module: org.netbeans.modules.properties.syntax/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/properties/syntax/Bundle.properties -OpenIDE-Module-Specification-Version: 1.9 +OpenIDE-Module-Specification-Version: 1.10 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Install: org/netbeans/modules/properties/syntax/RestoreColoring.class OpenIDE-Module-Layer: org/netbeans/modules/properties/syntax/Layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.3 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.modules.properties/1 > 1.5, org.netbeans.modules.editor/1 > 1.6 Index: properties/manifest.mf =================================================================== RCS file: /cvs/properties/manifest.mf,v retrieving revision 1.48 diff -u -r1.48 manifest.mf --- properties/manifest.mf 7 Aug 2002 11:33:32 -0000 1.48 +++ properties/manifest.mf 16 Oct 2002 04:50:46 -0000 @@ -1,9 +1,11 @@ OpenIDE-Module: org.netbeans.modules.properties/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/properties/Bundle.properties -OpenIDE-Module-Specification-Version: 1.9 +OpenIDE-Module-Specification-Version: 1.10 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/properties/Layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.5 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager Name: org/netbeans/modules/properties/PropertiesDataLoader.class OpenIDE-Module-Class: Loader cvs server: Diffing properties/src cvs server: Diffing properties/src/org cvs server: Diffing properties/src/org/netbeans cvs server: Diffing properties/src/org/netbeans/modules cvs server: Diffing properties/src/org/netbeans/modules/properties cvs server: Diffing properties/src/org/netbeans/modules/properties/syntax Index: properties/src/org/netbeans/modules/properties/syntax/EditorSettingsCopy.java =================================================================== RCS file: /cvs/properties/src/org/netbeans/modules/properties/syntax/EditorSettingsCopy.java,v retrieving revision 1.6 diff -u -r1.6 EditorSettingsCopy.java --- properties/src/org/netbeans/modules/properties/syntax/EditorSettingsCopy.java 13 Jul 2001 14:18:46 -0000 1.6 +++ properties/src/org/netbeans/modules/properties/syntax/EditorSettingsCopy.java 16 Oct 2002 04:50:46 -0000 @@ -39,7 +39,6 @@ import org.netbeans.modules.properties.TableViewSettingsFactory.TableViewSettings; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.util.SharedClassObject; @@ -247,7 +246,7 @@ TableViewSettingsFactory.setTableViewSettings(settingsCopy); } catch (SecurityException se) { // Came too late. - TopManager.getDefault().getErrorManager().notify(ErrorManager.INFORMATIONAL, se); + ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, se); } } cvs server: Diffing properties/test cvs server: Diffing properties/test/qa-fuctional cvs server: Diffing properties/test/qa-fuctional/src cvs server: Diffing properties/test/qa-fuctional/src/org cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/jelly2tests cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/jelly2tests/operators cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/jelly2tests/suites cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/jelly2tests/suites/creating_properties_file cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/jelly2tests/suites/customizing_properties_file cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/jelly2tests/suites/editing_properties_file cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/test cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/test/suites cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/test/suites/creating_properties_file cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/test/suites/customizing_properties_file cvs server: Diffing properties/test/qa-fuctional/src/org/netbeans/properties/test/suites/editing_properties_file cvs server: Diffing properties/www cvs server: Diffing properties/www/doc cvs server: Diffing properties/www/doc/screenshots cvs server: Diffing properties/www/doc/screenshots/release32 cvs server: Diffing properties/www/plans cvs server: Diffing properties/www/qa cvs server: Diffing properties/www/qa/testspecs cvs server: Diffing properties/www/qa/testspecs/nb34 cvs server: Diffing rmi Index: rmi/build.xml =================================================================== RCS file: /cvs/rmi/build.xml,v retrieving revision 1.41 diff -u -r1.41 build.xml --- rmi/build.xml 12 Sep 2002 11:04:08 -0000 1.41 +++ rmi/build.xml 16 Oct 2002 04:50:46 -0000 @@ -63,10 +63,9 @@ - - - - + + + Index: rmi/manifest.mf =================================================================== RCS file: /cvs/rmi/manifest.mf,v retrieving revision 1.70 diff -u -r1.70 manifest.mf --- rmi/manifest.mf 18 Sep 2002 11:33:30 -0000 1.70 +++ rmi/manifest.mf 16 Oct 2002 04:50:46 -0000 @@ -2,10 +2,10 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/rmi/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/rmi/RMIModule.class OpenIDE-Module-Layer: org/netbeans/modules/rmi/resources/mf-layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.24 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1 > 1.6, org.netbeans.modules.debugger.jpda/1 > 1.11, org.netbeans.modules.utilities/1 > 1.2 -OpenIDE-Module-Requires: org.openide.util.HttpServer$Impl, org.netbeans.api.javahelp.Help -OpenIDE-Module-Specification-Version: 1.6 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1 > 1.6, org.netbeans.modules.debugger.core/3, org.netbeans.modules.debugger.jpda/1 > 1.11, org.netbeans.modules.utilities/1 > 1.2, org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-Requires: org.openide.util.HttpServer$Impl, org.netbeans.api.javahelp.Help, org.openide.TopManager +OpenIDE-Module-Specification-Version: 1.7 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ Class-Path: docs/rmi.jar cvs server: Diffing rmi/docs cvs server: Diffing rmi/exelauncher cvs server: Diffing rmi/javahelp cvs server: Diffing rmi/javahelp/org cvs server: Diffing rmi/javahelp/org/netbeans cvs server: Diffing rmi/javahelp/org/netbeans/modules cvs server: Diffing rmi/javahelp/org/netbeans/modules/rmi cvs server: Diffing rmi/javahelp/org/netbeans/modules/rmi/docs cvs server: Diffing rmi/javahelp/org/netbeans/modules/rmi/docs/activatebrowser cvs server: Diffing rmi/javahelp/org/netbeans/modules/rmi/docs/completing cvs server: Diffing rmi/javahelp/org/netbeans/modules/rmi/docs/concepts cvs server: Diffing rmi/javahelp/org/netbeans/modules/rmi/docs/generating cvs server: Diffing rmi/javahelp/org/netbeans/modules/rmi/docs/images cvs server: Diffing rmi/javahelp/org/netbeans/modules/rmi/docs/registrybrowser cvs server: Diffing rmi/javahelp/org/netbeans/modules/rmi/docs/settings cvs server: Diffing rmi/libsrc cvs server: Diffing rmi/libsrc/org cvs server: Diffing rmi/libsrc/org/netbeans cvs server: Diffing rmi/libsrc/org/netbeans/rmi cvs server: Diffing rmi/release cvs server: Diffing rmi/release/bin cvs server: Diffing rmi/src cvs server: Diffing rmi/src/org cvs server: Diffing rmi/src/org/netbeans cvs server: Diffing rmi/src/org/netbeans/modules cvs server: Diffing rmi/src/org/netbeans/modules/rmi cvs server: Diffing rmi/src/org/netbeans/modules/rmi/activation cvs server: Diffing rmi/src/org/netbeans/modules/rmi/registry cvs server: Diffing rmi/src/org/netbeans/modules/rmi/resources cvs server: Diffing rmi/src/org/netbeans/modules/rmi/resources/templates cvs server: Diffing rmi/src/org/netbeans/modules/rmi/resources/templates/RMI cvs server: Diffing rmi/src/org/netbeans/modules/rmi/resources/templates/RMISockets cvs server: Diffing rmi/src/org/netbeans/modules/rmi/serialized cvs server: Diffing rmi/src/org/netbeans/modules/rmi/settings cvs server: Diffing rmi/src/org/netbeans/modules/rmi/util cvs server: Diffing rmi/src/org/netbeans/modules/rmi/wizard cvs server: Diffing rmi/test cvs server: Diffing rmi/test/qa-functional cvs server: Diffing rmi/test/qa-functional/src cvs server: Diffing rmi/test/qa-functional/src/data cvs server: Diffing rmi/test/qa-functional/src/data/work cvs server: Diffing rmi/test/qa-functional/src/data/work/New cvs server: Diffing rmi/test/qa-functional/src/guitests cvs server: Diffing rmi/test/qa-functional/src/guitests/RMIActivationBrowser cvs server: Diffing rmi/test/qa-functional/src/guitests/RMIRegistry cvs server: Diffing rmi/test/qa-functional/src/rmitests cvs server: Diffing rmi/test/qa-functional/src/support cvs server: Diffing rmi/testbase cvs server: Diffing rmi/testbase/src cvs server: Diffing rmi/testbase/src/RMIStubSupport cvs server: Diffing rmi/testbase/src/RMIStubSupport/data cvs server: Diffing rmi/www cvs server: Diffing rmi/www/doc cvs server: Diffing rmi/www/doc/images cvs server: Diffing rmi/www/images cvs server: Diffing rmi/www/plans cvs server: Diffing rmi/www/proposals cvs server: Diffing rmi/www/proposals/icons cvs server: Diffing rmi/www/proposals/nb40 cvs server: Diffing schema2beans cvs server: Diffing schema2beans/src cvs server: Diffing schema2beans/src/org cvs server: Diffing schema2beans/src/org/netbeans cvs server: Diffing schema2beans/src/org/netbeans/modules cvs server: Diffing schema2beans/src/org/netbeans/modules/schema2beans cvs server: Diffing schema2beans/src/org/netbeans/modules/schema2beans/metadd cvs server: Diffing schema2beans/test cvs server: Diffing schema2beans/test/unit cvs server: Diffing schema2beans/test/unit/src cvs server: Diffing schema2beans/test/unit/src/data cvs server: Diffing schema2beans/test/unit/src/data/book cvs server: Diffing schema2beans/test/unit/src/data/goldenfiles cvs server: Diffing schema2beans/test/unit/src/data/goldenfiles/TestMain cvs server: Diffing schema2beans/testbase cvs server: Diffing schema2beans/testbase/src cvs server: Diffing schema2beans/www cvs server: Diffing scripting Index: scripting/build.xml =================================================================== RCS file: /cvs/scripting/build.xml,v retrieving revision 1.37 diff -u -r1.37 build.xml --- scripting/build.xml 12 Sep 2002 11:04:09 -0000 1.37 +++ scripting/build.xml 16 Oct 2002 04:50:48 -0000 @@ -27,9 +27,8 @@ - - - + + Index: scripting/manifest.mf =================================================================== RCS file: /cvs/scripting/manifest.mf,v retrieving revision 1.31 diff -u -r1.31 manifest.mf --- scripting/manifest.mf 7 Aug 2002 11:33:33 -0000 1.31 +++ scripting/manifest.mf 16 Oct 2002 04:50:48 -0000 @@ -1,8 +1,8 @@ OpenIDE-Module: org.netbeans.modules.scripting/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/scripting/Bundle.properties -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 -OpenIDE-Module-Module-Dependencies: org.netbeans.core/1 > 1.1 -OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.netbeans.core/1 > 1.1, org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help, org.openide.TopManager OpenIDE-Module-Specification-Version: 1.6 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/scripting/resources/Layer.xml cvs server: Diffing scripting/external cvs server: Diffing scripting/javahelp cvs server: Diffing scripting/javahelp/org cvs server: Diffing scripting/javahelp/org/netbeans cvs server: Diffing scripting/javahelp/org/netbeans/modules cvs server: Diffing scripting/javahelp/org/netbeans/modules/scripting cvs server: Diffing scripting/javahelp/org/netbeans/modules/scripting/docs cvs server: Diffing scripting/javahelp/org/netbeans/modules/scripting/docs/images cvs server: Diffing scripting/src cvs server: Diffing scripting/src/org cvs server: Diffing scripting/src/org/netbeans cvs server: Diffing scripting/src/org/netbeans/modules cvs server: Diffing scripting/src/org/netbeans/modules/scripting cvs server: Diffing scripting/src/org/netbeans/modules/scripting/navigation cvs server: Diffing scripting/src/org/netbeans/modules/scripting/remote cvs server: Diffing scripting/src/org/netbeans/modules/scripting/resources cvs server: Diffing scripting/www cvs server: Diffing scripting/www/plans cvs server: Diffing scripting/www/proposals cvs server: Diffing text Index: text/build.xml =================================================================== RCS file: /cvs/text/build.xml,v retrieving revision 1.18 diff -u -r1.18 build.xml --- text/build.xml 22 May 2002 18:01:43 -0000 1.18 +++ text/build.xml 16 Oct 2002 04:50:48 -0000 @@ -27,9 +27,8 @@ - - - + + Index: text/manifest.mf =================================================================== RCS file: /cvs/text/manifest.mf,v retrieving revision 1.36 diff -u -r1.36 manifest.mf --- text/manifest.mf 7 Aug 2002 11:33:34 -0000 1.36 +++ text/manifest.mf 16 Oct 2002 04:50:48 -0000 @@ -1,10 +1,12 @@ OpenIDE-Module: org.netbeans.modules.text/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/text/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/text/TXTModule.class -OpenIDE-Module-Specification-Version: 1.9 +OpenIDE-Module-Specification-Version: 1.10 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/text/Layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.2 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager Name: org/netbeans/modules/text/TXTDataLoader.class OpenIDE-Module-Class: Loader cvs server: Diffing text/src cvs server: Diffing text/src/META-INF cvs server: Diffing text/src/META-INF/netbeans cvs server: Diffing text/src/org cvs server: Diffing text/src/org/netbeans cvs server: Diffing text/src/org/netbeans/modules cvs server: Diffing text/src/org/netbeans/modules/text cvs server: Diffing text/www cvs server: Diffing text/www/doc cvs server: Diffing text/www/doc/screenshots cvs server: Diffing text/www/plans cvs server: Diffing tomcatint cvs server: Diffing tomcatint/bundledtomcat cvs server: Diffing tomcatint/bundledtomcat/src cvs server: Diffing tomcatint/bundledtomcat/src/org cvs server: Diffing tomcatint/bundledtomcat/src/org/netbeans cvs server: Diffing tomcatint/bundledtomcat/src/org/netbeans/modules cvs server: Diffing tomcatint/bundledtomcat/src/org/netbeans/modules/tomcat cvs server: Diffing tomcatint/bundledtomcat/src/org/netbeans/modules/tomcat/tomcat40 cvs server: Diffing tomcatint/bundledtomcat/src/org/netbeans/modules/tomcat/tomcat40/bundled cvs server: Diffing tomcatint/bundledtomcat/torelease cvs server: Diffing tomcatint/external cvs server: Diffing tomcatint/src cvs server: Diffing tomcatint/src/org cvs server: Diffing tomcatint/src/org/netbeans cvs server: Diffing tomcatint/src/org/netbeans/modules cvs server: Diffing tomcatint/src/org/netbeans/modules/web cvs server: Diffing tomcatint/src/org/netbeans/modules/web/tomcat cvs server: Diffing tomcatint/src/org/netbeans/modules/web/tomcat/compile cvs server: Diffing tomcatint/src/org/netbeans/modules/web/tomcat/resources cvs server: Diffing tomcatint/tomcat32 cvs server: Diffing tomcatint/tomcat40 Index: tomcatint/tomcat40/build.xml =================================================================== RCS file: /cvs/tomcatint/tomcat40/build.xml,v retrieving revision 1.33 diff -u -r1.33 build.xml --- tomcatint/tomcat40/build.xml 12 Sep 2002 11:04:25 -0000 1.33 +++ tomcatint/tomcat40/build.xml 16 Oct 2002 04:50:48 -0000 @@ -85,9 +85,9 @@ - - - + + + Index: tomcatint/tomcat40/manifest-autocompile.mf =================================================================== RCS file: /cvs/tomcatint/tomcat40/manifest-autocompile.mf,v retrieving revision 1.5 diff -u -r1.5 manifest-autocompile.mf --- tomcatint/tomcat40/manifest-autocompile.mf 2 Aug 2002 18:51:06 -0000 1.5 +++ tomcatint/tomcat40/manifest-autocompile.mf 16 Oct 2002 04:50:48 -0000 @@ -1,8 +1,8 @@ OpenIDE-Module: org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/tomcat/tomcat40/autocompile/Bundle.properties -OpenIDE-Module-Specification-Version: 1.3 +OpenIDE-Module-Specification-Version: 1.4 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Requires: org.netbeans.modules.tomcatint.tomcat40 OpenIDE-Module-Module-Dependencies: org.netbeans.modules.web.core/1 > 1.6, org.netbeans.modules.httpserver/1 -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.24 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 Index: tomcatint/tomcat40/manifest.mf =================================================================== RCS file: /cvs/tomcatint/tomcat40/manifest.mf,v retrieving revision 1.23 diff -u -r1.23 manifest.mf --- tomcatint/tomcat40/manifest.mf 2 Aug 2002 18:51:06 -0000 1.23 +++ tomcatint/tomcat40/manifest.mf 16 Oct 2002 04:50:48 -0000 @@ -1,12 +1,13 @@ OpenIDE-Module: org.netbeans.modules.web.tomcat.tomcat40/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/tomcat/tomcat40/Bundle.properties OpenIDE-Module-Layer: org/netbeans/modules/tomcat/tomcat40/resources/layer.xml -OpenIDE-Module-Specification-Version: 1.5 +OpenIDE-Module-Specification-Version: 1.6 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Install: org/netbeans/modules/tomcat/tomcat40/Tomcat40ModuleInstall.class OpenIDE-Module-Provides: org.netbeans.modules.tomcatint.tomcat40 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.j2eeserver/2, org.netbeans.modules.web.core/1 > 1.8, org.netbeans.modules.schema2beans/1, org.netbeans.modules.servletapi23/1, org.netbeans.modules.web.jspparser/1 > 1.2 -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.j2eeserver/2, org.netbeans.modules.web.core/1 > 1.8, org.netbeans.modules.schema2beans/1, org.netbeans.modules.servletapi23/1, org.netbeans.modules.web.jspparser/1 > 1.2, org.netbeans.modules.debugger.core/3, org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Package-Dependencies: [javax.servlet.ServletException], [org.apache.jasper.Constants], [org.apache.jasper.Options], [org.apache.xml.serialize.EncodingInfo] Class-Path: docs/tomcat40.jar cvs server: Diffing tomcatint/tomcat40/javahelp cvs server: Diffing tomcatint/tomcat40/javahelp/org cvs server: Diffing tomcatint/tomcat40/javahelp/org/netbeans cvs server: Diffing tomcatint/tomcat40/javahelp/org/netbeans/modules cvs server: Diffing tomcatint/tomcat40/javahelp/org/netbeans/modules/tomcat cvs server: Diffing tomcatint/tomcat40/javahelp/org/netbeans/modules/tomcat/tomcat40 cvs server: Diffing tomcatint/tomcat40/javahelp/org/netbeans/modules/tomcat/tomcat40/docs cvs server: Diffing tomcatint/tomcat40/javahelp/org/netbeans/modules/tomcat/tomcat40/docs/images cvs server: Diffing tomcatint/tomcat40/javahelp/org/netbeans/modules/tomcat/tomcat40/docs/ja cvs server: Diffing tomcatint/tomcat40/javahelp/org/netbeans/modules/tomcat/tomcat40/docs/ja/images cvs server: Diffing tomcatint/tomcat40/javahelp/org/netbeans/modules/tomcat/tomcat40/docs/ja/tomcat4 cvs server: Diffing tomcatint/tomcat40/javahelp/org/netbeans/modules/tomcat/tomcat40/docs/tomcat4 cvs server: Diffing tomcatint/tomcat40/release cvs server: Diffing tomcatint/tomcat40/release/tomcat404 cvs server: Diffing tomcatint/tomcat40/src cvs server: Diffing tomcatint/tomcat40/src/org cvs server: Diffing tomcatint/tomcat40/src/org/netbeans cvs server: Diffing tomcatint/tomcat40/src/org/netbeans/modules cvs server: Diffing tomcatint/tomcat40/src/org/netbeans/modules/tomcat cvs server: Diffing tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40 cvs server: Diffing tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/actions cvs server: Diffing tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/autocompile Index: tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/autocompile/CompileServlet.java =================================================================== RCS file: /cvs/tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/autocompile/CompileServlet.java,v retrieving revision 1.3 diff -u -r1.3 CompileServlet.java --- tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/autocompile/CompileServlet.java 23 Apr 2002 11:27:16 -0000 1.3 +++ tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/autocompile/CompileServlet.java 16 Oct 2002 04:50:48 -0000 @@ -24,7 +24,6 @@ import org.openide.actions.CompileAction; import org.openide.filesystems.*; import org.openide.loaders.*; -import org.openide.TopManager; import org.openide.ErrorManager; import org.openide.util.NbBundle; @@ -82,11 +81,11 @@ } catch (DataObjectNotFoundException e) { // neither success nor failed - TopManager.getDefault().getErrorManager().notify(ErrorManager.INFORMATIONAL, e); + ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e); } catch (Exception e) { // neither success nor failed - TopManager.getDefault().getErrorManager().notify(ErrorManager.INFORMATIONAL, e); + ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e); } // now compilationOK and compilationFailed have the right values response.setContentType("text/plain"); // NOI18N @@ -103,7 +102,7 @@ /** Finds a fileobject for an absolute file name or null if not found */ private static FileObject findFileObjectForFile(String fileName, String uriToEnsure) { - Repository rep = TopManager.getDefault().getRepository(); + Repository rep = Repository.getDefault(); for (Enumeration en = rep.getFileSystems(); en.hasMoreElements(); ) { FileSystem fs = (FileSystem)en.nextElement(); FileObject fo = JspCompileUtil.findFileObjectForFile(fs, fileName); cvs server: Diffing tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/compile cvs server: Diffing tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/nodes cvs server: Diffing tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/resources cvs server: Diffing tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/runtime cvs server: Diffing tomcatint/tomcat40/src/org/netbeans/modules/tomcat/tomcat40/serverconf cvs server: Diffing tomcatint/tomcat5 cvs server: Diffing tomcatint/tomcat5/src cvs server: Diffing tomcatint/tomcat5/src/org cvs server: Diffing tomcatint/tomcat5/src/org/netbeans cvs server: Diffing tomcatint/tomcat5/src/org/netbeans/modules cvs server: Diffing tomcatint/tomcat5/src/org/netbeans/modules/tomcat cvs server: Diffing tomcatint/tomcat5/src/org/netbeans/modules/tomcat/tomcat5 cvs server: Diffing tomcatint/tomcat5/src/org/netbeans/modules/tomcat/tomcat5/resources cvs server: Diffing tomcatint/www cvs server: Diffing tomcatint/www/doc cvs server: Diffing ui cvs server: Diffing ui/welcome Index: ui/welcome/build.xml =================================================================== RCS file: /cvs/ui/welcome/build.xml,v retrieving revision 1.5 diff -u -r1.5 build.xml --- ui/welcome/build.xml 12 Sep 2002 11:04:26 -0000 1.5 +++ ui/welcome/build.xml 16 Oct 2002 04:50:49 -0000 @@ -27,9 +27,8 @@ - - - + + Index: ui/welcome/manifest.mf =================================================================== RCS file: /cvs/ui/welcome/manifest.mf,v retrieving revision 1.11 diff -u -r1.11 manifest.mf --- ui/welcome/manifest.mf 5 Sep 2002 09:46:00 -0000 1.11 +++ ui/welcome/manifest.mf 16 Oct 2002 04:50:49 -0000 @@ -1,11 +1,12 @@ Manifest-Version: 1.0 -OpenIDE-Module-Specification-Version: 1.3 +OpenIDE-Module-Specification-Version: 1.4 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module: org.netbeans.modules.welcome/1 OpenIDE-Module-Layer: org/netbeans/modules/welcome/mf-layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.24 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Module-Dependencies: org.netbeans.modules.javahelp/1 > 1.0, org.netbeans.modules.usersguide/1 > 1.0, - org.netbeans.core.ui/1 > 1.0, org.netbeans.modules.utilities/1 > 1.8 + org.netbeans.core.ui/1 > 1.0, org.netbeans.core/1 > 1.7, org.netbeans.modules.utilities/1 > 1.8, org.openide.deprecated > 1.0 Class-Path: docs/welcome.jar OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/welcome/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/welcome/WelcomeInstall.class cvs server: Diffing ui/welcome/src cvs server: Diffing ui/welcome/src/org cvs server: Diffing ui/welcome/src/org/netbeans cvs server: Diffing ui/welcome/src/org/netbeans/modules cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/components cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/pages cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/pages/images cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/resources cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/windowmanager cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/windowmanager/Debugging cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/windowmanager/Debugging/editor cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/windowmanager/Editing cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/windowmanager/Editing/editor cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/windowmanager/Visual cvs server: Diffing ui/welcome/src/org/netbeans/modules/welcome/windowmanager/Visual/editor cvs server: Diffing usersguide Index: usersguide/manifest.mf =================================================================== RCS file: /cvs/usersguide/manifest.mf,v retrieving revision 1.31 diff -u -r1.31 manifest.mf --- usersguide/manifest.mf 2 Aug 2002 18:51:07 -0000 1.31 +++ usersguide/manifest.mf 16 Oct 2002 04:50:49 -0000 @@ -2,9 +2,9 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/usersguide/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/usersguide/UGModule.class OpenIDE-Module-Layer: org/netbeans/modules/usersguide/layer.xml -OpenIDE-Module-Specification-Version: 1.11 +OpenIDE-Module-Specification-Version: 1.12 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.2 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.modules.javahelp/1 > 1.0 Class-Path: docs/usersguide.jar cvs server: Diffing usersguide/demosrc cvs server: Diffing usersguide/demosrc/examples cvs server: Diffing usersguide/demosrc/examples/colorpicker cvs server: Diffing usersguide/demosrc/examples/imageviewer cvs server: Diffing usersguide/demosrc/examples/texteditor cvs server: Diffing usersguide/javahelp cvs server: Diffing usersguide/javahelp/org cvs server: Diffing usersguide/javahelp/org/netbeans cvs server: Diffing usersguide/javahelp/org/netbeans/modules cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/accessibility cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/ant cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/ant/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/beans cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/beans/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/compile cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/configure cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/configure/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/breakpoint cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/callstack cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/debugger cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/environment cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/fix cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/running cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/sessions cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/threads cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/variables cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/debug/watches cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/editing cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/editing/codecompletion cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/editing/codecompletion/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/editing/configuring cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/editing/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/editing/macros cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/filesystems cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/getstart cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/getstart/colorswitch cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/getstart/colorswitch/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/components cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/components/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/connecting cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/csh cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/custompalette cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/events cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/layouts cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/layouts/managers cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/layouts/managers/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/menus cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/menus/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/source cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/gui/source/modifying cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/internationalize cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/j2eeserver cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/j2eeserver/general cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/j2eeserver/glossary cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/j2eeserver/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/j2eeserver/nodes cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/jarpackager cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/jarpackager/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/java cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/java/imt cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/java/nodes cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/java/synchronizing cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/javadoc cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/javadoc/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/modules cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/modules/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/objects cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/objects/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/objects/search cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/objects/templates cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/project cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/propfiles cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/propfiles/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/run cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/run/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/shortcuts cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/vcs-nb cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/vcs-nb/cvs-nb cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/vcs-nb/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/vcs-nb/vcsgeneric cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/vcs-nb/vcsgeneric/images cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/vcs-nb/vcsgroups cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/webbrowser cvs server: Diffing usersguide/javahelp/org/netbeans/modules/usersguide/workspace cvs server: Diffing usersguide/release cvs server: Diffing usersguide/release/beans cvs server: Diffing usersguide/release/sources cvs server: Diffing usersguide/release/sources/org cvs server: Diffing usersguide/release/sources/org/netbeans cvs server: Diffing usersguide/release/sources/org/netbeans/examples cvs server: Diffing usersguide/release/sources/org/netbeans/examples/lib cvs server: Diffing usersguide/release/sources/org/netbeans/examples/lib/timerbean cvs server: Diffing usersguide/src cvs server: Diffing usersguide/src/org cvs server: Diffing usersguide/src/org/netbeans cvs server: Diffing usersguide/src/org/netbeans/modules cvs server: Diffing usersguide/src/org/netbeans/modules/usersguide Index: usersguide/src/org/netbeans/modules/usersguide/UGModule.java =================================================================== RCS file: /cvs/usersguide/src/org/netbeans/modules/usersguide/UGModule.java,v retrieving revision 1.22 diff -u -r1.22 UGModule.java --- usersguide/src/org/netbeans/modules/usersguide/UGModule.java 22 Jul 2002 14:50:17 -0000 1.22 +++ usersguide/src/org/netbeans/modules/usersguide/UGModule.java 16 Oct 2002 04:50:50 -0000 @@ -22,7 +22,6 @@ import java.util.zip.ZipInputStream; import org.openide.ErrorManager; -import org.openide.TopManager; import org.openide.filesystems.*; import org.openide.filesystems.FileSystem; // override java.io.FileSystem import org.openide.modules.ModuleInstall; @@ -39,7 +38,7 @@ //private static final String PROP_INSTALL_COUNT = "installCount"; // NOI18N - private static ErrorManager err = TopManager.getDefault ().getErrorManager (); + private static ErrorManager err = ErrorManager.getDefault (); /* private static int icount = 0; cvs server: Diffing usersguide/src/org/netbeans/modules/usersguide/tips cvs server: Diffing usersguide/www cvs server: Diffing usersguide/www/plans cvs server: Diffing usersguide/www/proposals cvs server: Diffing utilities Index: utilities/build.xml =================================================================== RCS file: /cvs/utilities/build.xml,v retrieving revision 1.29 diff -u -r1.29 build.xml --- utilities/build.xml 12 Sep 2002 11:04:27 -0000 1.29 +++ utilities/build.xml 16 Oct 2002 04:50:50 -0000 @@ -26,9 +26,8 @@ - - - + + Index: utilities/manifest.mf =================================================================== RCS file: /cvs/utilities/manifest.mf,v retrieving revision 1.40 diff -u -r1.40 manifest.mf --- utilities/manifest.mf 4 Oct 2002 07:28:38 -0000 1.40 +++ utilities/manifest.mf 16 Oct 2002 04:50:50 -0000 @@ -1,13 +1,15 @@ OpenIDE-Module: org.netbeans.modules.utilities/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/utilities/Bundle.properties -OpenIDE-Module-Specification-Version: 1.9 +OpenIDE-Module-Specification-Version: 1.10 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Install: org/netbeans/modules/utilities/Installer.class OpenIDE-Module-Layer: org/netbeans/modules/utilities/Layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.23 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.openidex.util/2, - org.netbeans.modules.settings/1 > 1.0 + org.netbeans.modules.settings/1 > 1.0, + org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Package-Dependencies: org.apache.regexp[RE] Main-Class: org.netbeans.modules.openfile.Main cvs server: Diffing utilities/loaderswitcher cvs server: Diffing utilities/loaderswitcher/src cvs server: Diffing utilities/loaderswitcher/src/org cvs server: Diffing utilities/loaderswitcher/src/org/netbeans cvs server: Diffing utilities/loaderswitcher/src/org/netbeans/modules cvs server: Diffing utilities/loaderswitcher/src/org/netbeans/modules/loaderswitcher cvs server: Diffing utilities/src cvs server: Diffing utilities/src/META-INF cvs server: Diffing utilities/src/META-INF/netbeans cvs server: Diffing utilities/src/org cvs server: Diffing utilities/src/org/netbeans cvs server: Diffing utilities/src/org/netbeans/modules cvs server: Diffing utilities/src/org/netbeans/modules/group cvs server: Diffing utilities/src/org/netbeans/modules/group/resources cvs server: Diffing utilities/src/org/netbeans/modules/openfile cvs server: Diffing utilities/src/org/netbeans/modules/pdf cvs server: Diffing utilities/src/org/netbeans/modules/search cvs server: Diffing utilities/src/org/netbeans/modules/search/res cvs server: Diffing utilities/src/org/netbeans/modules/search/types cvs server: Diffing utilities/src/org/netbeans/modules/url cvs server: Diffing utilities/src/org/netbeans/modules/utilities cvs server: Diffing utilities/www cvs server: Diffing utilities/www/doc cvs server: Diffing utilities/www/loaderswitcher cvs server: Diffing utilities/www/plans cvs server: Diffing utilities/www/qa cvs server: Diffing utilities/www/qa/testspecs cvs server: Diffing utilities/www/qa/testspecs/nb34 cvs server: Diffing vcscore Index: vcscore/build.xml =================================================================== RCS file: /cvs/vcscore/build.xml,v retrieving revision 1.29 diff -u -r1.29 build.xml --- vcscore/build.xml 12 Sep 2002 11:04:28 -0000 1.29 +++ vcscore/build.xml 16 Oct 2002 04:50:50 -0000 @@ -32,9 +32,8 @@ - - - + + Index: vcscore/manifest.mf =================================================================== RCS file: /cvs/vcscore/manifest.mf,v retrieving revision 1.30 diff -u -r1.30 manifest.mf --- vcscore/manifest.mf 26 Sep 2002 11:50:36 -0000 1.30 +++ vcscore/manifest.mf 16 Oct 2002 04:50:50 -0000 @@ -1,9 +1,10 @@ OpenIDE-Module: org.netbeans.modules.vcscore/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/vcscore/Bundle.properties -OpenIDE-Module-Specification-Version: 1.7 +OpenIDE-Module-Specification-Version: 1.8 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Layer: org/netbeans/modules/vcscore/resources/mf-layer.xml -OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.8 -OpenIDE-Module-Module-Dependencies: org.openidex.util/2, org.netbeans.modules.editor/1 > 1.7 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.openidex.util/2, org.netbeans.modules.editor/1 > 1.7, org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Package-Dependencies: org.apache.regexp[RE] cvs server: Diffing vcscore/api cvs server: Diffing vcscore/api/doc cvs server: Diffing vcscore/api/doc/openide cvs server: Diffing vcscore/src cvs server: Diffing vcscore/src/META-INF cvs server: Diffing vcscore/src/META-INF/netbeans cvs server: Diffing vcscore/src/org cvs server: Diffing vcscore/src/org/netbeans cvs server: Diffing vcscore/src/org/netbeans/modules cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/actions cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/annotation cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/cache cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/caching cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/cmdline cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/cmdline/exec cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/commands cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/grouping cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/resources cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/revision cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/runtime cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/search cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/settings cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/ui cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/ui/views cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/ui/views/actions cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/ui/views/types cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/util cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/util/table cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/util/virtuals cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/versioning cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/versioning/impl cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/wizard cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/wizard/mountcvs cvs server: Diffing vcscore/src/org/netbeans/modules/vcscore/wizard/mountcvs/util cvs server: Diffing vcscore/www cvs server: Diffing vcscore/www/doc cvs server: Diffing vcscore/www/plans cvs server: Diffing vcscore/www/proposals cvs server: Diffing vcscvs cvs server: Diffing vcscvs/compat cvs server: Diffing vcscvs/compat/src cvs server: Diffing vcscvs/compat/src/org cvs server: Diffing vcscvs/compat/src/org/netbeans cvs server: Diffing vcscvs/compat/src/org/netbeans/modules cvs server: Diffing vcscvs/compat/src/org/netbeans/modules/vcs cvs server: Diffing vcscvs/compat/src/org/netbeans/modules/vcs/cmdline cvs server: Diffing vcscvs/compat/src/org/netbeans/modules/vcs/cmdline/compat cvs server: Diffing vcscvs/src cvs server: Diffing vcscvs/src/org cvs server: Diffing vcscvs/src/org/netbeans cvs server: Diffing vcscvs/src/org/netbeans/modules cvs server: Diffing vcscvs/src/org/netbeans/modules/vcs cvs server: Diffing vcscvs/src/org/netbeans/modules/vcs/cmdline cvs server: Diffing vcscvs/src/org/netbeans/modules/vcs/cmdline/commands cvs server: Diffing vcscvs/src/org/netbeans/modules/vcs/cmdline/compatinstall cvs server: Diffing vcscvs/src/org/netbeans/modules/vcs/cmdline/list cvs server: Diffing vcscvs/src/org/netbeans/modules/vcs/cmdline/passwd cvs server: Diffing vcscvs/src/org/netbeans/modules/vcs/cmdline/resources cvs server: Diffing vcscvs/www cvs server: Diffing vcscvs/www/proposals cvs server: Diffing vcsgeneric Index: vcsgeneric/build.xml =================================================================== RCS file: /cvs/vcsgeneric/build.xml,v retrieving revision 1.52 diff -u -r1.52 build.xml --- vcsgeneric/build.xml 12 Sep 2002 11:04:30 -0000 1.52 +++ vcsgeneric/build.xml 16 Oct 2002 04:50:51 -0000 @@ -41,10 +41,8 @@ excludes="org/netbeans/modules/vcs/advanced/config/"> - - - - + + Index: vcsgeneric/manifest.mf =================================================================== RCS file: /cvs/vcsgeneric/manifest.mf,v retrieving revision 1.53 diff -u -r1.53 manifest.mf --- vcsgeneric/manifest.mf 2 Aug 2002 18:51:09 -0000 1.53 +++ vcsgeneric/manifest.mf 16 Oct 2002 04:50:51 -0000 @@ -2,8 +2,9 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/vcs/advanced/config/Bundle.properties OpenIDE-Module-Specification-Version: 1.7 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.5 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.vcscore/1 > 1.6,org.netbeans.modules.diff/1 > 1.4 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.vcscore/1 > 1.6,org.netbeans.modules.diff/1 > 1.4, org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Layer: org/netbeans/modules/vcs/advanced/config/mf-layer.xml OpenIDE-Module-Package-Dependencies: org.apache.regexp[RE] cvs server: Diffing vcsgeneric/profiles cvs server: Diffing vcsgeneric/profiles/clearcase cvs server: Diffing vcsgeneric/profiles/clearcase/src cvs server: Diffing vcsgeneric/profiles/clearcase/src/org cvs server: Diffing vcsgeneric/profiles/clearcase/src/org/netbeans cvs server: Diffing vcsgeneric/profiles/clearcase/src/org/netbeans/modules cvs server: Diffing vcsgeneric/profiles/clearcase/src/org/netbeans/modules/vcs cvs server: Diffing vcsgeneric/profiles/clearcase/src/org/netbeans/modules/vcs/profiles cvs server: Diffing vcsgeneric/profiles/clearcase/src/org/netbeans/modules/vcs/profiles/clearcase cvs server: Diffing vcsgeneric/profiles/clearcase/src/org/netbeans/modules/vcs/profiles/clearcase/config cvs server: Diffing vcsgeneric/profiles/clearcase/src/org/netbeans/modules/vcs/profiles/clearcase/list cvs server: Diffing vcsgeneric/profiles/cvsprofiles Index: vcsgeneric/profiles/cvsprofiles/build.xml =================================================================== RCS file: /cvs/vcsgeneric/profiles/cvsprofiles/build.xml,v retrieving revision 1.7 diff -u -r1.7 build.xml --- vcsgeneric/profiles/cvsprofiles/build.xml 12 Sep 2002 11:04:32 -0000 1.7 +++ vcsgeneric/profiles/cvsprofiles/build.xml 16 Oct 2002 04:50:51 -0000 @@ -34,10 +34,8 @@ destdir="src"> - - - - + + Index: vcsgeneric/profiles/cvsprofiles/manifest.mf =================================================================== RCS file: /cvs/vcsgeneric/profiles/cvsprofiles/manifest.mf,v retrieving revision 1.3 diff -u -r1.3 manifest.mf --- vcsgeneric/profiles/cvsprofiles/manifest.mf 2 Aug 2002 18:51:09 -0000 1.3 +++ vcsgeneric/profiles/cvsprofiles/manifest.mf 16 Oct 2002 04:50:51 -0000 @@ -2,8 +2,9 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/vcs/profiles/cvsprofiles/Bundle.properties OpenIDE-Module-Specification-Version: 1.1 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.24 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.vcscore/1,org.netbeans.modules.vcs.advanced/1,org.netbeans.modules.diff/1 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.vcscore/1,org.netbeans.modules.vcs.advanced/1,org.netbeans.modules.diff/1, org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Layer: org/netbeans/modules/vcs/profiles/cvsprofiles/mf-layer.xml OpenIDE-Module-Package-Dependencies: org.apache.regexp[RE] cvs server: Diffing vcsgeneric/profiles/cvsprofiles/common cvs server: Diffing vcsgeneric/profiles/cvsprofiles/common/vcs cvs server: Diffing vcsgeneric/profiles/cvsprofiles/common/vcs/commands cvs server: Diffing vcsgeneric/profiles/cvsprofiles/common/vcs/commands/passwd cvs server: Diffing vcsgeneric/profiles/cvsprofiles/common/vcs/config cvs server: Diffing vcsgeneric/profiles/cvsprofiles/common/vcs/list cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src/org cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src/org/netbeans cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/passwd cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config cvs server: Diffing vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/list cvs server: Diffing vcsgeneric/profiles/cvsprofiles/unix cvs server: Diffing vcsgeneric/profiles/cvsprofiles/unix/vcs cvs server: Diffing vcsgeneric/profiles/cvsprofiles/unix/vcs/config cvs server: Diffing vcsgeneric/profiles/cvsprofiles/win cvs server: Diffing vcsgeneric/profiles/cvsprofiles/win/vcs cvs server: Diffing vcsgeneric/profiles/cvsprofiles/win/vcs/config cvs server: Diffing vcsgeneric/profiles/cvsprofiles/win98 cvs server: Diffing vcsgeneric/profiles/cvsprofiles/win98/vcs cvs server: Diffing vcsgeneric/profiles/cvsprofiles/win98/vcs/config cvs server: Diffing vcsgeneric/profiles/javacvs cvs server: Diffing vcsgeneric/profiles/javacvs/src cvs server: Diffing vcsgeneric/profiles/javacvs/src/org cvs server: Diffing vcsgeneric/profiles/javacvs/src/org/netbeans cvs server: Diffing vcsgeneric/profiles/javacvs/src/org/netbeans/modules cvs server: Diffing vcsgeneric/profiles/javacvs/src/org/netbeans/modules/vcs cvs server: Diffing vcsgeneric/profiles/javacvs/src/org/netbeans/modules/vcs/profiles cvs server: Diffing vcsgeneric/profiles/javacvs/src/org/netbeans/modules/vcs/profiles/javacvs cvs server: Diffing vcsgeneric/profiles/javacvs/src/org/netbeans/modules/vcs/profiles/javacvs/commands cvs server: Diffing vcsgeneric/profiles/javacvs/src/org/netbeans/modules/vcs/profiles/javacvs/config cvs server: Diffing vcsgeneric/profiles/pvcs Index: vcsgeneric/profiles/pvcs/build.xml =================================================================== RCS file: /cvs/vcsgeneric/profiles/pvcs/build.xml,v retrieving revision 1.7 diff -u -r1.7 build.xml --- vcsgeneric/profiles/pvcs/build.xml 12 Sep 2002 11:04:33 -0000 1.7 +++ vcsgeneric/profiles/pvcs/build.xml 16 Oct 2002 04:50:52 -0000 @@ -35,10 +35,8 @@ destdir="src"> - - - - + + Index: vcsgeneric/profiles/pvcs/manifest.mf =================================================================== RCS file: /cvs/vcsgeneric/profiles/pvcs/manifest.mf,v retrieving revision 1.2 diff -u -r1.2 manifest.mf --- vcsgeneric/profiles/pvcs/manifest.mf 2 Aug 2002 18:51:09 -0000 1.2 +++ vcsgeneric/profiles/pvcs/manifest.mf 16 Oct 2002 04:50:52 -0000 @@ -1,9 +1,10 @@ OpenIDE-Module: org.netbeans.modules.vcs.profiles.pvcs/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/vcs/profiles/pvcs/Bundle.properties -OpenIDE-Module-Specification-Version: 1.1 +OpenIDE-Module-Specification-Version: 1.2 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.24 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.vcscore/1,org.netbeans.modules.vcs.advanced/1 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.vcscore/1,org.netbeans.modules.vcs.advanced/1, org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Layer: org/netbeans/modules/vcs/profiles/pvcs/mf-layer.xml OpenIDE-Module-Package-Dependencies: org.apache.regexp[RE] cvs server: Diffing vcsgeneric/profiles/pvcs/src cvs server: Diffing vcsgeneric/profiles/pvcs/src/org cvs server: Diffing vcsgeneric/profiles/pvcs/src/org/netbeans cvs server: Diffing vcsgeneric/profiles/pvcs/src/org/netbeans/modules cvs server: Diffing vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs cvs server: Diffing vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles cvs server: Diffing vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs cvs server: Diffing vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/commands cvs server: Diffing vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config cvs server: Diffing vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/list cvs server: Diffing vcsgeneric/profiles/starteam cvs server: Diffing vcsgeneric/profiles/starteam/common cvs server: Diffing vcsgeneric/profiles/starteam/common/vcs cvs server: Diffing vcsgeneric/profiles/starteam/common/vcs/list cvs server: Diffing vcsgeneric/profiles/starteam/src cvs server: Diffing vcsgeneric/profiles/starteam/src/org cvs server: Diffing vcsgeneric/profiles/starteam/src/org/netbeans cvs server: Diffing vcsgeneric/profiles/starteam/src/org/netbeans/modules cvs server: Diffing vcsgeneric/profiles/starteam/src/org/netbeans/modules/vcs cvs server: Diffing vcsgeneric/profiles/starteam/src/org/netbeans/modules/vcs/profiles cvs server: Diffing vcsgeneric/profiles/starteam/src/org/netbeans/modules/vcs/profiles/starteam cvs server: Diffing vcsgeneric/profiles/starteam/src/org/netbeans/modules/vcs/profiles/starteam/config cvs server: Diffing vcsgeneric/profiles/starteam/src/org/netbeans/modules/vcs/profiles/starteam/list cvs server: Diffing vcsgeneric/profiles/starteam/unix cvs server: Diffing vcsgeneric/profiles/starteam/unix/vcs cvs server: Diffing vcsgeneric/profiles/starteam/unix/vcs/config cvs server: Diffing vcsgeneric/profiles/starteam/win cvs server: Diffing vcsgeneric/profiles/starteam/win/vcs cvs server: Diffing vcsgeneric/profiles/starteam/win/vcs/config cvs server: Diffing vcsgeneric/profiles/vss Index: vcsgeneric/profiles/vss/manifest.mf =================================================================== RCS file: /cvs/vcsgeneric/profiles/vss/manifest.mf,v retrieving revision 1.2 diff -u -r1.2 manifest.mf --- vcsgeneric/profiles/vss/manifest.mf 2 Aug 2002 18:51:10 -0000 1.2 +++ vcsgeneric/profiles/vss/manifest.mf 16 Oct 2002 04:50:52 -0000 @@ -1,8 +1,8 @@ OpenIDE-Module: org.netbeans.modules.vcs.profiles.vss/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/vcs/profiles/vss/Bundle.properties -OpenIDE-Module-Specification-Version: 1.1 +OpenIDE-Module-Specification-Version: 1.2 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.24 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.modules.vcscore/1,org.netbeans.modules.vcs.advanced/1 OpenIDE-Module-Layer: org/netbeans/modules/vcs/profiles/vss/mf-layer.xml OpenIDE-Module-Package-Dependencies: org.apache.regexp[RE] cvs server: Diffing vcsgeneric/profiles/vss/src cvs server: Diffing vcsgeneric/profiles/vss/src/org cvs server: Diffing vcsgeneric/profiles/vss/src/org/netbeans cvs server: Diffing vcsgeneric/profiles/vss/src/org/netbeans/modules cvs server: Diffing vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs cvs server: Diffing vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles cvs server: Diffing vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss cvs server: Diffing vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands Index: vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssVerifyAction.java =================================================================== RCS file: /cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssVerifyAction.java,v retrieving revision 1.2 diff -u -r1.2 VssVerifyAction.java --- vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssVerifyAction.java 16 Jul 2002 18:23:59 -0000 1.2 +++ vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssVerifyAction.java 16 Oct 2002 04:50:52 -0000 @@ -28,7 +28,7 @@ import javax.swing.SwingUtilities; import org.openide.DialogDescriptor; -import org.openide.TopManager; +import org.openide.DialogDisplayer; import org.openide.filesystems.FileObject; import org.openide.loaders.DataObject; import org.openide.loaders.DataObjectNotFoundException; @@ -193,7 +193,7 @@ } }); } - final Dialog dial = TopManager.getDefault().createDialog(dd); + final Dialog dial = DialogDisplayer.getDefault().createDialog(dd); SwingUtilities.invokeLater(new Runnable() { public void run() { dial.show(); cvs server: Diffing vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config cvs server: Diffing vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/list cvs server: Diffing vcsgeneric/src cvs server: Diffing vcsgeneric/src/META-INF cvs server: Diffing vcsgeneric/src/META-INF/netbeans cvs server: Diffing vcsgeneric/src/org cvs server: Diffing vcsgeneric/src/org/netbeans cvs server: Diffing vcsgeneric/src/org/netbeans/modules cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/advanced cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/advanced/commands cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/advanced/config cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/advanced/projectsettings cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/advanced/variables cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/advanced/wizard cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/advanced/wizard/mount cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/profiles cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/profiles/commands cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/profiles/config cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/profiles/list cvs server: Diffing vcsgeneric/src/org/netbeans/modules/vcs/profiles/resources cvs server: Diffing vcsgeneric/test cvs server: Diffing vcsgeneric/test/qa-functional cvs server: Diffing vcsgeneric/test/qa-functional/src cvs server: Diffing vcsgeneric/test/qa-functional/src/complete cvs server: Diffing vcsgeneric/test/qa-functional/src/complete/common cvs server: Diffing vcsgeneric/test/qa-functional/src/complete/cvs_profile cvs server: Diffing vcsgeneric/test/qa-functional/src/complete/cvs_profile/data cvs server: Diffing vcsgeneric/test/qa-functional/src/complete/cvs_profile/data/goldenfiles cvs server: Diffing vcsgeneric/test/qa-functional/src/complete/cvs_profile/data/goldenfiles/JellyGroup cvs server: Diffing vcsgeneric/test/qa-functional/src/complete/pvcs_profile cvs server: Diffing vcsgeneric/test/qa-functional/src/complete/vss_profile cvs server: Diffing vcsgeneric/test/qa-functional/src/org cvs server: Diffing vcsgeneric/test/qa-functional/src/org/netbeans cvs server: Diffing vcsgeneric/test/qa-functional/src/org/netbeans/jellytools cvs server: Diffing vcsgeneric/test/qa-functional/src/org/netbeans/jellytools/modules cvs server: Diffing vcsgeneric/test/qa-functional/src/org/netbeans/jellytools/modules/vcsgeneric cvs server: Diffing vcsgeneric/test/qa-functional/src/org/netbeans/jellytools/modules/vcsgeneric/actions cvs server: Diffing vcsgeneric/test/qa-functional/src/org/netbeans/jellytools/modules/vcsgeneric/nodes cvs server: Diffing vcsgeneric/test/qa-functional/src/util cvs server: Diffing vcsgeneric/www cvs server: Diffing vcsgeneric/www/doc cvs server: Diffing vcsgeneric/www/plans cvs server: Diffing vcsgeneric/www/profiles cvs server: Diffing vcsgeneric/www/proposals cvs server: Diffing vcsgeneric/www/qa cvs server: Diffing vcsgeneric/www/qa/testspecs cvs server: Diffing vcsgeneric/www/qa/testspecs/nb34 cvs server: Diffing vcsgeneric/www/qa/testspecs/nb34/images cvs server: Diffing web cvs server: Diffing web/advanced cvs server: Diffing web/advanced/javahelp cvs server: Diffing web/advanced/javahelp/org cvs server: Diffing web/advanced/javahelp/org/netbeans cvs server: Diffing web/advanced/javahelp/org/netbeans/modules cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/concepts cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/create_jsp cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/dd_edit cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/dd_edit/dd_dialogs cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/images cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/concepts cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/create_jsp cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/dd_edit cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/dd_edit/dd_dialogs cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/images cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/jsp cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/overvw cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/servlet cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/taglib cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/taglibUI cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/warpkg cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/ja/webmod cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/jsp cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/overvw cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/servlet cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/taglib cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/taglibUI cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/warpkg cvs server: Diffing web/advanced/javahelp/org/netbeans/modules/web/ie/docs/webmod cvs server: Diffing web/advanced/src cvs server: Diffing web/advanced/src/org cvs server: Diffing web/advanced/src/org/netbeans cvs server: Diffing web/advanced/src/org/netbeans/modules cvs server: Diffing web/advanced/src/org/netbeans/modules/web cvs server: Diffing web/advanced/src/org/netbeans/modules/web/config cvs server: Diffing web/advanced/src/org/netbeans/modules/web/ie cvs server: Diffing web/advanced/src/org/netbeans/modules/web/ie/execution cvs server: Diffing web/advanced/src/org/netbeans/modules/web/ie/servlets cvs server: Diffing web/advanced/src/org/netbeans/modules/web/ie/templates cvs server: Diffing web/advanced/src/org/netbeans/modules/web/ie/webdata cvs server: Diffing web/advanced/src/org/netbeans/modules/web/taglib cvs server: Diffing web/advanced/src/org/netbeans/modules/web/taglib/actions cvs server: Diffing web/advanced/src/org/netbeans/modules/web/taglibed cvs server: Diffing web/advanced/src/org/netbeans/modules/web/taglibed/nbcontrol cvs server: Diffing web/advanced/src/org/netbeans/modules/web/templates cvs server: Diffing web/advanced/src/org/netbeans/modules/web/templates/nbcontrol cvs server: Diffing web/advanced/src/org/netbeans/modules/web/templates/resources cvs server: Diffing web/advanced/src/org/netbeans/modules/web/templates/resources/images cvs server: Diffing web/advanced/src/org/netbeans/modules/web/templates/ui cvs server: Diffing web/advanced/src/org/netbeans/modules/web/war cvs server: Diffing web/advanced/src/org/netbeans/modules/web/war/actions cvs server: Diffing web/advanced/src/org/netbeans/modules/web/war/packager cvs server: Diffing web/advanced/src/org/netbeans/modules/web/war/resources cvs server: Diffing web/advanced/src/org/netbeans/modules/web/war/ui cvs server: Diffing web/advanced/src/org/netbeans/modules/web/war/ui/model cvs server: Diffing web/advanced/src/org/netbeans/modules/web/war/util cvs server: Diffing web/core Index: web/core/build.xml =================================================================== RCS file: /cvs/web/core/build.xml,v retrieving revision 1.10 diff -u -r1.10 build.xml --- web/core/build.xml 12 Sep 2002 11:04:36 -0000 1.10 +++ web/core/build.xml 16 Oct 2002 04:50:53 -0000 @@ -71,9 +71,9 @@ - - - + + + Index: web/core/manifest.mf =================================================================== RCS file: /cvs/web/core/manifest.mf,v retrieving revision 1.13 diff -u -r1.13 manifest.mf --- web/core/manifest.mf 19 Sep 2002 13:18:28 -0000 1.13 +++ web/core/manifest.mf 16 Oct 2002 04:50:53 -0000 @@ -2,10 +2,11 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/web/core/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/web/core/ServletSupportModule.class OpenIDE-Module-Layer: org/netbeans/modules/web/core/resources/layer.xml -OpenIDE-Module-Specification-Version: 1.10 +OpenIDE-Module-Specification-Version: 1.11 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.13 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1,org.netbeans.modules.j2eeserver/2, org.netbeans.modules.schema2beans/1, org.netbeans.modules.html/1, org.netbeans.modules.jarpackager/2, org.openidex.util/2, org.netbeans.api.xml/1 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1,org.netbeans.modules.debugger.core/3, org.netbeans.modules.j2eeserver/2, org.netbeans.modules.schema2beans/1, org.netbeans.modules.html/1, org.netbeans.modules.jarpackager/2, org.openidex.util/2, org.netbeans.api.xml/1, org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager Name: org/netbeans/modules/web/dd/DDDataLoader.class OpenIDE-Module-Class: Loader cvs server: Diffing web/core/src cvs server: Diffing web/core/src/META-INF cvs server: Diffing web/core/src/META-INF/netbeans cvs server: Diffing web/core/src/org cvs server: Diffing web/core/src/org/netbeans cvs server: Diffing web/core/src/org/netbeans/modules cvs server: Diffing web/core/src/org/netbeans/modules/web cvs server: Diffing web/core/src/org/netbeans/modules/web/context cvs server: Diffing web/core/src/org/netbeans/modules/web/context/actions cvs server: Diffing web/core/src/org/netbeans/modules/web/context/packager cvs server: Diffing web/core/src/org/netbeans/modules/web/context/resources cvs server: Diffing web/core/src/org/netbeans/modules/web/core cvs server: Diffing web/core/src/org/netbeans/modules/web/core/execution cvs server: Diffing web/core/src/org/netbeans/modules/web/core/jsploader cvs server: Diffing web/core/src/org/netbeans/modules/web/core/resources cvs server: Diffing web/core/src/org/netbeans/modules/web/core/resources/templates cvs server: Diffing web/core/src/org/netbeans/modules/web/dd cvs server: Diffing web/core/src/org/netbeans/modules/web/dd/event cvs server: Diffing web/core/src/org/netbeans/modules/web/dd/resources cvs server: Diffing web/core/src/org/netbeans/modules/web/dd/webapp cvs server: Diffing web/core/src/org/netbeans/modules/web/dd/wizards cvs server: Diffing web/core/src/org/netbeans/modules/web/execution cvs server: Diffing web/core/src/org/netbeans/modules/web/html cvs server: Diffing web/core/src/org/netbeans/modules/web/webdata cvs server: Diffing web/core/src/org/netbeans/modules/web/xmlutils cvs server: Diffing web/external cvs server: Diffing web/jspdebug Index: web/jspdebug/manifest.mf =================================================================== RCS file: /cvs/web/jspdebug/manifest.mf,v retrieving revision 1.6 diff -u -r1.6 manifest.mf --- web/jspdebug/manifest.mf 19 Sep 2002 13:18:28 -0000 1.6 +++ web/jspdebug/manifest.mf 16 Oct 2002 04:50:54 -0000 @@ -4,7 +4,7 @@ OpenIDE-Module-Layer: org/netbeans/modules/web/debug/layer.xml OpenIDE-Module-Specification-Version: 1.3 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.web.core/1 > 1.10 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.web.core/1 > 1.10, org.netbeans.modules.debugger.core/3 OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.24 Name: org/netbeans/modules/web/debug/JspLoaderIE.class cvs server: Diffing web/jspdebug/src cvs server: Diffing web/jspdebug/src/org cvs server: Diffing web/jspdebug/src/org/netbeans cvs server: Diffing web/jspdebug/src/org/netbeans/modules cvs server: Diffing web/jspdebug/src/org/netbeans/modules/web cvs server: Diffing web/jspdebug/src/org/netbeans/modules/web/debug cvs server: Diffing web/jspparser Index: web/jspparser/build.xml =================================================================== RCS file: /cvs/web/jspparser/build.xml,v retrieving revision 1.7 diff -u -r1.7 build.xml --- web/jspparser/build.xml 12 Sep 2002 11:04:43 -0000 1.7 +++ web/jspparser/build.xml 16 Oct 2002 04:50:54 -0000 @@ -41,9 +41,8 @@ - - - + + Index: web/jspparser/manifest.mf =================================================================== RCS file: /cvs/web/jspparser/manifest.mf,v retrieving revision 1.8 diff -u -r1.8 manifest.mf --- web/jspparser/manifest.mf 12 Sep 2002 11:04:44 -0000 1.8 +++ web/jspparser/manifest.mf 16 Oct 2002 04:50:54 -0000 @@ -1,10 +1,11 @@ OpenIDE-Module: org.netbeans.modules.web.jspparser/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/web/jspparser/Bundle.properties OpenIDE-Module-Layer: org/netbeans/modules/web/jspparser/layer.xml -OpenIDE-Module-Specification-Version: 1.3 +OpenIDE-Module-Specification-Version: 1.4 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.3 -OpenIDE-Module-Module-Dependencies: org.netbeans.modules.web.core/1 > 1.6, org.netbeans.modules.servletapi23/1 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Module-Dependencies: org.netbeans.modules.web.core/1 > 1.6, org.netbeans.modules.servletapi23/1, org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Package-Dependencies: [javax.servlet.ServletException], [org.apache.jasper.Constants], [org.apache.jasper.Options] Class-Path: ext/jasper-runtime-4.0.4.jar ext/jasper-compiler-4.0.4.jar cvs server: Diffing web/jspparser/src cvs server: Diffing web/jspparser/src/org cvs server: Diffing web/jspparser/src/org/netbeans cvs server: Diffing web/jspparser/src/org/netbeans/modules cvs server: Diffing web/jspparser/src/org/netbeans/modules/web cvs server: Diffing web/jspparser/src/org/netbeans/modules/web/jspparser cvs server: Diffing web/jspsyntax Index: web/jspsyntax/build.xml =================================================================== RCS file: /cvs/web/jspsyntax/build.xml,v retrieving revision 1.8 diff -u -r1.8 build.xml --- web/jspsyntax/build.xml 19 Sep 2002 10:07:57 -0000 1.8 +++ web/jspsyntax/build.xml 16 Oct 2002 04:50:54 -0000 @@ -38,9 +38,8 @@ - - - + + Index: web/jspsyntax/manifest.mf =================================================================== RCS file: /cvs/web/jspsyntax/manifest.mf,v retrieving revision 1.10 diff -u -r1.10 manifest.mf --- web/jspsyntax/manifest.mf 6 Aug 2002 08:53:50 -0000 1.10 +++ web/jspsyntax/manifest.mf 16 Oct 2002 04:50:54 -0000 @@ -2,11 +2,13 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/web/core/syntax/Bundle.properties OpenIDE-Module-Install: org/netbeans/modules/web/core/syntax/RestoreColoring.class OpenIDE-Module-Layer: org/netbeans/modules/web/core/syntax/layer.xml -OpenIDE-Module-Specification-Version: 1.10 +OpenIDE-Module-Specification-Version: 1.11 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.3 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.modules.web.core/1 > 1.6, org.netbeans.modules.editor/1 > 1.6, org.netbeans.modules.servletapi23/1, - org.netbeans.modules.xml.text/1 + org.netbeans.modules.xml.text/1, + org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager cvs server: Diffing web/jspsyntax/release cvs server: Diffing web/jspsyntax/release/system cvs server: Diffing web/jspsyntax/release/system/ParserDB cvs server: Diffing web/jspsyntax/src cvs server: Diffing web/jspsyntax/src/org cvs server: Diffing web/jspsyntax/src/org/netbeans cvs server: Diffing web/jspsyntax/src/org/netbeans/modules cvs server: Diffing web/jspsyntax/src/org/netbeans/modules/web cvs server: Diffing web/jspsyntax/src/org/netbeans/modules/web/core cvs server: Diffing web/jspsyntax/src/org/netbeans/modules/web/core/syntax cvs server: Diffing web/jspsyntax/src/org/netbeans/modules/web/core/xmlsyntax cvs server: Diffing web/servletapi23 cvs server: Diffing web/servletapi23/src cvs server: Diffing web/servletapi23/src/org cvs server: Diffing web/servletapi23/src/org/netbeans cvs server: Diffing web/servletapi23/src/org/netbeans/modules cvs server: Diffing web/servletapi23/src/org/netbeans/modules/servletapi23 cvs server: Diffing web/strutssupport cvs server: Diffing web/strutssupport/src cvs server: Diffing web/strutssupport/src/org cvs server: Diffing web/strutssupport/src/org/netbeans cvs server: Diffing web/strutssupport/src/org/netbeans/modules cvs server: Diffing web/strutssupport/src/org/netbeans/modules/struts cvs server: Diffing web/strutssupport/src/org/netbeans/modules/struts/actions cvs server: Diffing web/strutssupport/src/org/netbeans/modules/struts/nodes cvs server: Diffing web/strutssupport/src/org/netbeans/modules/struts/resources cvs server: Diffing web/taglibed cvs server: Diffing web/taglibed/src cvs server: Diffing web/taglibed/src/org cvs server: Diffing web/taglibed/src/org/netbeans cvs server: Diffing web/taglibed/src/org/netbeans/modules cvs server: Diffing web/taglibed/src/org/netbeans/modules/web cvs server: Diffing web/taglibed/src/org/netbeans/modules/web/taglibed cvs server: Diffing web/taglibed/src/org/netbeans/modules/web/taglibed/codegen cvs server: Diffing web/taglibed/src/org/netbeans/modules/web/taglibed/control cvs server: Diffing web/taglibed/src/org/netbeans/modules/web/taglibed/model cvs server: Diffing web/taglibed/src/org/netbeans/modules/web/taglibed/resources cvs server: Diffing web/taglibed/src/org/netbeans/modules/web/taglibed/templates cvs server: Diffing web/taglibed/src/org/netbeans/modules/web/taglibed/view cvs server: Diffing web/taglibed/src/org/netbeans/modules/web/taglibed/view/images cvs server: Diffing web/test cvs server: Diffing web/test/AppletDebug cvs server: Diffing web/test/AppletDebug/qa-functional cvs server: Diffing web/test/AppletDebug/qa-functional/src cvs server: Diffing web/test/AppletDebug/qa-functional/src/org cvs server: Diffing web/test/AppletDebug/qa-functional/src/org/netbeans cvs server: Diffing web/test/AppletDebug/qa-functional/src/org/netbeans/test cvs server: Diffing web/test/AppletDebug/qa-functional/src/org/netbeans/test/gui cvs server: Diffing web/test/AppletDebug/qa-functional/src/org/netbeans/test/gui/web cvs server: Diffing web/test/AppletDebug/qa-functional/src/org/netbeans/test/gui/web/AppletDebug cvs server: Diffing web/test/AppletDebug/qa-functional/src/org/netbeans/test/gui/web/util cvs server: Diffing web/test/AppletDebug/qa-functional/testdata cvs server: Diffing web/test/Common cvs server: Diffing web/test/Common/src cvs server: Diffing web/test/Common/src/org cvs server: Diffing web/test/Common/src/org/netbeans cvs server: Diffing web/test/Common/src/org/netbeans/web cvs server: Diffing web/test/Common/src/org/netbeans/web/test cvs server: Diffing web/test/Common/src/org/netbeans/web/test/actions cvs server: Diffing web/test/Common/src/org/netbeans/web/test/nodes cvs server: Diffing web/test/JSPDataObject cvs server: Diffing web/test/JSPDataObject/qa-functional cvs server: Diffing web/test/JSPDataObject/qa-functional/src cvs server: Diffing web/test/JSPDataObject/qa-functional/src/org cvs server: Diffing web/test/JSPDataObject/qa-functional/src/org/netbeans cvs server: Diffing web/test/JSPDataObject/qa-functional/src/org/netbeans/test cvs server: Diffing web/test/JSPDataObject/qa-functional/src/org/netbeans/test/gui cvs server: Diffing web/test/JSPDataObject/qa-functional/src/org/netbeans/test/gui/jspdo cvs server: Diffing web/test/JSPDataObject/qa-functional/src/org/netbeans/test/gui/web cvs server: Diffing web/test/JSPDataObject/qa-functional/src/org/netbeans/test/gui/web/util cvs server: Diffing web/test/JSPDataObject/qa-functional/testdata cvs server: Diffing web/test/JSPEditor cvs server: Diffing web/test/JSPEditor/qa-functional cvs server: Diffing web/test/JSPEditor/qa-functional/src cvs server: Diffing web/test/JSPEditor/qa-functional/src/org cvs server: Diffing web/test/JSPEditor/qa-functional/src/org/netbeans cvs server: Diffing web/test/JSPEditor/qa-functional/src/org/netbeans/test cvs server: Diffing web/test/JSPEditor/qa-functional/src/org/netbeans/test/gui cvs server: Diffing web/test/JSPEditor/qa-functional/src/org/netbeans/test/gui/editor cvs server: Diffing web/test/JSPEditor/qa-functional/testdata cvs server: Diffing web/test/JSPServletDebug cvs server: Diffing web/test/JSPServletDebug/qa-functional cvs server: Diffing web/test/JSPServletDebug/qa-functional/src cvs server: Diffing web/test/JSPServletDebug/qa-functional/src/org cvs server: Diffing web/test/JSPServletDebug/qa-functional/src/org/netbeans cvs server: Diffing web/test/JSPServletDebug/qa-functional/src/org/netbeans/test cvs server: Diffing web/test/JSPServletDebug/qa-functional/src/org/netbeans/test/gui cvs server: Diffing web/test/JSPServletDebug/qa-functional/src/org/netbeans/test/gui/web cvs server: Diffing web/test/JSPServletDebug/qa-functional/src/org/netbeans/test/gui/web/JSPServletDebug cvs server: Diffing web/test/JSPServletDebug/qa-functional/src/org/netbeans/test/gui/web/util cvs server: Diffing web/test/JSPServletDebug/qa-functional/testdata cvs server: Diffing web/test/JSP_Compilation_and_Execution cvs server: Diffing web/test/JSP_Compilation_and_Execution/qa-functional cvs server: Diffing web/test/JSP_Compilation_and_Execution/qa-functional/src cvs server: Diffing web/test/JSP_Compilation_and_Execution/qa-functional/src/org cvs server: Diffing web/test/JSP_Compilation_and_Execution/qa-functional/src/org/netbeans cvs server: Diffing web/test/JSP_Compilation_and_Execution/qa-functional/src/org/netbeans/test cvs server: Diffing web/test/JSP_Compilation_and_Execution/qa-functional/src/org/netbeans/test/gui cvs server: Diffing web/test/JSP_Compilation_and_Execution/qa-functional/src/org/netbeans/test/gui/web cvs server: Diffing web/test/JSP_Compilation_and_Execution/qa-functional/src/org/netbeans/test/gui/web/HTTPServerInt cvs server: Diffing web/test/JSP_Compilation_and_Execution/qa-functional/src/org/netbeans/test/gui/web/JSP_Compilation_and_Execution cvs server: Diffing web/test/JSP_Compilation_and_Execution/qa-functional/testdata cvs server: Diffing web/test/ServletExec cvs server: Diffing web/test/ServletExec/qa-functional cvs server: Diffing web/test/ServletExec/qa-functional/src cvs server: Diffing web/test/ServletExec/qa-functional/src/org cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/extbrowser cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/extbrowser/execution cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/extbrowser/open cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec/compilation cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec/creation cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec/execution cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec/properties cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec/servlet23 cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec/servlet23/filters cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec/servlet23/filters/creation cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec/servlet23/listeners cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec/servlet23/listeners/creation cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/servletexec/servletdo cvs server: Diffing web/test/ServletExec/qa-functional/src/org/netbeans/test/gui/web/util cvs server: Diffing web/test/ServletExec/qa-functional/testdata cvs server: Diffing web/test/WARPackager cvs server: Diffing web/test/WARPackager/qa-functional cvs server: Diffing web/test/WARPackager/qa-functional/src cvs server: Diffing web/test/WARPackager/qa-functional/src/org cvs server: Diffing web/test/WARPackager/qa-functional/src/org/netbeans cvs server: Diffing web/test/WARPackager/qa-functional/src/org/netbeans/test cvs server: Diffing web/test/WARPackager/qa-functional/src/org/netbeans/test/gui cvs server: Diffing web/test/WARPackager/qa-functional/src/org/netbeans/test/gui/web cvs server: Diffing web/test/WARPackager/qa-functional/src/org/netbeans/test/gui/web/warpackager cvs server: Diffing web/test/WARPackager/qa-functional/testdata cvs server: Diffing web/www cvs server: Diffing web/www/doc cvs server: Diffing web/www/doc/images cvs server: Diffing web/www/doc/jspeditor cvs server: Diffing web/www/doc/projects cvs server: Diffing web/www/plans cvs server: Diffing xml Index: xml/spec-vers.properties =================================================================== RCS file: /cvs/xml/spec-vers.properties,v retrieving revision 1.21 diff -u -r1.21 spec-vers.properties --- xml/spec-vers.properties 8 Aug 2002 23:30:15 -0000 1.21 +++ xml/spec-vers.properties 16 Oct 2002 04:50:56 -0000 @@ -16,7 +16,7 @@ # common module specification.version -xml.common=0.7 +xml.common=0.8 # XML tools API cvs server: Diffing xml/api cvs server: Diffing xml/api/doc cvs server: Diffing xml/api/doc/changes cvs server: Diffing xml/api/doc/doc-files cvs server: Diffing xml/api/doc/external cvs server: Diffing xml/api/doc/external/jdk cvs server: Diffing xml/api/doc/external/openide cvs server: Diffing xml/api/doc/external/sax cvs server: Diffing xml/api/samples cvs server: Diffing xml/api/samples/antbridge cvs server: Diffing xml/api/samples/antbridge/src cvs server: Diffing xml/api/samples/antbridge/src/org cvs server: Diffing xml/api/samples/antbridge/src/org/netbeans cvs server: Diffing xml/api/samples/antbridge/src/org/netbeans/samples cvs server: Diffing xml/api/samples/antbridge/src/org/netbeans/samples/xml cvs server: Diffing xml/api/samples/antbridge/src/org/netbeans/samples/xml/antbridge cvs server: Diffing xml/api/src cvs server: Diffing xml/api/src/org cvs server: Diffing xml/api/src/org/netbeans cvs server: Diffing xml/api/src/org/netbeans/api cvs server: Diffing xml/api/src/org/netbeans/api/xml cvs server: Diffing xml/api/src/org/netbeans/api/xml/actions cvs server: Diffing xml/api/src/org/netbeans/api/xml/cookies cvs server: Diffing xml/api/src/org/netbeans/api/xml/options cvs server: Diffing xml/api/src/org/netbeans/api/xml/parsers cvs server: Diffing xml/api/src/org/netbeans/api/xml/resources cvs server: Diffing xml/api/src/org/netbeans/api/xml/services cvs server: Diffing xml/api/src/org/netbeans/spi cvs server: Diffing xml/api/src/org/netbeans/spi/xml cvs server: Diffing xml/api/src/org/netbeans/spi/xml/cookies cvs server: Diffing xml/api/src/org/netbeans/spi/xml/services cvs server: Diffing xml/api/test cvs server: Diffing xml/api/test/unit cvs server: Diffing xml/api/test/unit/src cvs server: Diffing xml/api/test/unit/src/org cvs server: Diffing xml/api/test/unit/src/org/netbeans cvs server: Diffing xml/api/test/unit/src/org/netbeans/api cvs server: Diffing xml/api/test/unit/src/org/netbeans/api/xml cvs server: Diffing xml/api/test/unit/src/org/netbeans/api/xml/parsers cvs server: Diffing xml/api/test/unit/src/org/netbeans/api/xml/parsers/data cvs server: Diffing xml/api/test/unit/src/org/netbeans/spi cvs server: Diffing xml/api/test/unit/src/org/netbeans/spi/xml cvs server: Diffing xml/api/test/unit/src/org/netbeans/spi/xml/cookies cvs server: Diffing xml/api/test/unit/src/org/netbeans/spi/xml/cookies/data cvs server: Diffing xml/bin cvs server: Diffing xml/catalog Index: xml/catalog/build.xml =================================================================== RCS file: /cvs/xml/catalog/build.xml,v retrieving revision 1.43 diff -u -r1.43 build.xml --- xml/catalog/build.xml 19 Sep 2002 10:08:00 -0000 1.43 +++ xml/catalog/build.xml 16 Oct 2002 04:50:57 -0000 @@ -48,9 +48,8 @@ - - - + + Index: xml/catalog/manifest.mf =================================================================== RCS file: /cvs/xml/catalog/manifest.mf,v retrieving revision 1.13 diff -u -r1.13 manifest.mf --- xml/catalog/manifest.mf 29 Jul 2002 08:57:41 -0000 1.13 +++ xml/catalog/manifest.mf 16 Oct 2002 04:50:57 -0000 @@ -7,8 +7,11 @@ OpenIDE-Module-Public-Packages: org.netbeans.modules.xml.catalog.spi.**, org.netbeans.modules.xml.catalog.settings.* -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.api.xml/1 > @API_SPEC_VERS_SUBST@, - org.netbeans.modules.xml.core/1 = @BUILD_NUMBER_SUBST@ + org.netbeans.modules.xml.core/1 = @BUILD_NUMBER_SUBST@, + org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager Class-Path: ext/resolver-1_1_nb.jar + cvs server: Diffing xml/catalog/compat cvs server: Diffing xml/catalog/compat/src cvs server: Diffing xml/catalog/compat/src/META-INF cvs server: Diffing xml/catalog/compat/src/META-INF/netbeans cvs server: Diffing xml/catalog/compat/src/org cvs server: Diffing xml/catalog/compat/src/org/netbeans cvs server: Diffing xml/catalog/compat/src/org/netbeans/modules cvs server: Diffing xml/catalog/compat/src/org/netbeans/modules/xml cvs server: Diffing xml/catalog/compat/src/org/netbeans/modules/xml/catalog cvs server: Diffing xml/catalog/src cvs server: Diffing xml/catalog/src/org cvs server: Diffing xml/catalog/src/org/netbeans cvs server: Diffing xml/catalog/src/org/netbeans/modules cvs server: Diffing xml/catalog/src/org/netbeans/modules/xml cvs server: Diffing xml/catalog/src/org/netbeans/modules/xml/catalog cvs server: Diffing xml/catalog/src/org/netbeans/modules/xml/catalog/impl cvs server: Diffing xml/catalog/src/org/netbeans/modules/xml/catalog/impl/oasis cvs server: Diffing xml/catalog/src/org/netbeans/modules/xml/catalog/impl/sun cvs server: Diffing xml/catalog/src/org/netbeans/modules/xml/catalog/lib cvs server: Diffing xml/catalog/src/org/netbeans/modules/xml/catalog/resources cvs server: Diffing xml/catalog/src/org/netbeans/modules/xml/catalog/resources/templates cvs server: Diffing xml/catalog/src/org/netbeans/modules/xml/catalog/settings cvs server: Diffing xml/catalog/src/org/netbeans/modules/xml/catalog/spi cvs server: Diffing xml/catalog/test cvs server: Diffing xml/catalog/test/qa-functional cvs server: Diffing xml/catalog/test/qa-functional/src cvs server: Diffing xml/catalog/test/qa-functional/src/org cvs server: Diffing xml/catalog/test/qa-functional/src/org/netbeans cvs server: Diffing xml/catalog/test/qa-functional/src/org/netbeans/modules cvs server: Diffing xml/catalog/test/qa-functional/src/org/netbeans/modules/xml cvs server: Diffing xml/catalog/test/qa-functional/src/org/netbeans/modules/xml/catalog cvs server: Diffing xml/catalog/test/qa-functional/src/org/netbeans/modules/xml/catalog/data cvs server: Diffing xml/catalog/test/qa-functional/src/org/netbeans/modules/xml/catalog/data/dtd cvs server: Diffing xml/compat Index: xml/compat/manifest.mf =================================================================== RCS file: /cvs/xml/compat/manifest.mf,v retrieving revision 1.9 diff -u -r1.9 manifest.mf --- xml/compat/manifest.mf 18 Jul 2002 10:31:46 -0000 1.9 +++ xml/compat/manifest.mf 16 Oct 2002 04:50:57 -0000 @@ -2,7 +2,7 @@ OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/xml/resources/Bundle.properties OpenIDE-Module-Specification-Version: @COMPAT_SPEC_VERS_SUBST@ OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 1.42 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.modules.xml.catalog/1 > @CATALOG_SPEC_VERS_SUBST@, org.netbeans.modules.xml.core/1 > @CORE_SPEC_VERS_SUBST@, cvs server: Diffing xml/compat/src cvs server: Diffing xml/compat/src/org cvs server: Diffing xml/compat/src/org/netbeans cvs server: Diffing xml/compat/src/org/netbeans/modules cvs server: Diffing xml/compat/src/org/netbeans/modules/xml cvs server: Diffing xml/compat/src/org/netbeans/modules/xml/resources cvs server: Diffing xml/compat/src/org/netbeans/modules/xml/text cvs server: Diffing xml/compat/src/org/netbeans/modules/xml/text/syntax cvs server: Diffing xml/compat/src/org/netbeans/modules/xml/text/syntax/resources cvs server: Diffing xml/core Index: xml/core/build.xml =================================================================== RCS file: /cvs/xml/core/build.xml,v retrieving revision 1.46 diff -u -r1.46 build.xml --- xml/core/build.xml 19 Sep 2002 10:08:01 -0000 1.46 +++ xml/core/build.xml 16 Oct 2002 04:50:58 -0000 @@ -49,9 +49,8 @@ - - - + + Index: xml/core/manifest.mf =================================================================== RCS file: /cvs/xml/core/manifest.mf,v retrieving revision 1.23 diff -u -r1.23 manifest.mf --- xml/core/manifest.mf 2 Oct 2002 12:33:18 -0000 1.23 +++ xml/core/manifest.mf 16 Oct 2002 04:50:58 -0000 @@ -7,11 +7,13 @@ OpenIDE-Module-Public-Packages: org.netbeans.modules.xml.api.**, org.netbeans.modules.xml.spi.** -OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.8 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.api.xml/1 > @API_SPEC_VERS_SUBST@, org.netbeans.modules.xml.tax/1 = @BUILD_NUMBER_SUBST@, - org.openidex.util/2 > 2.1.1 + org.openidex.util/2 > 2.1.1, + org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager Class-Path: docs/xml-core.jar Name: org/netbeans/modules/xml/core/XMLDataLoader.class cvs server: Diffing xml/core/compat cvs server: Diffing xml/core/compat/src cvs server: Diffing xml/core/compat/src/META-INF cvs server: Diffing xml/core/compat/src/META-INF/netbeans cvs server: Diffing xml/core/compat/src/org cvs server: Diffing xml/core/compat/src/org/netbeans cvs server: Diffing xml/core/compat/src/org/netbeans/modules cvs server: Diffing xml/core/compat/src/org/netbeans/modules/xml cvs server: Diffing xml/core/compat/src/org/netbeans/modules/xml/settings Index: xml/core/compat/src/org/netbeans/modules/xml/settings/XMLSettings.java =================================================================== RCS file: /cvs/xml/core/compat/src/org/netbeans/modules/xml/settings/XMLSettings.java,v retrieving revision 1.4 diff -u -r1.4 XMLSettings.java --- xml/core/compat/src/org/netbeans/modules/xml/settings/XMLSettings.java 12 Mar 2002 14:38:49 -0000 1.4 +++ xml/core/compat/src/org/netbeans/modules/xml/settings/XMLSettings.java 16 Oct 2002 04:50:58 -0000 @@ -15,7 +15,6 @@ import java.io.ObjectStreamException; import java.lang.reflect.*; -import org.openide.TopManager; import org.openide.options.SystemOption; import org.netbeans.modules.xml.core.settings.CoreSettings; @@ -88,7 +87,7 @@ private void initTreeEditSettings () { try { - ClassLoader classLoader = TopManager.getDefault().systemClassLoader(); + ClassLoader classLoader = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); // TreeEditSettings treeEditSettings = TreeEditSettings.getDefault(); Class treeEditSettingsClass = classLoader.loadClass ("org.netbeans.modules.xml.tree.settings.TreeEditSettings"); @@ -157,7 +156,7 @@ klass = loader.loadClass("org.netbeans.modules.xml.catalog.setting.CatalogSettings"); //NOI18N readerKlass = loader.loadClass("org.netbeans.modules.xml.catalog.spi.CatalogReader"); //NOI18N } catch (ClassNotFoundException ex) { - ErrorManager err = TopManager.getDefault().getErrorManager(); + ErrorManager err = ErrorManager.getDefault(); err.annotate(ex, NbBundle.getMessage(getClass(), "EXC_catalog_transfer_fail")); err.notify(ErrorManager.INFORMATIONAL, ex); } @@ -178,7 +177,7 @@ addMethod.invoke(settings, new Object[] {next}); } } catch (Exception ex) { - ErrorManager err = TopManager.getDefault().getErrorManager(); + ErrorManager err = ErrorManager.getDefault(); err.annotate(ex, NbBundle.getMessage(getClass(), "EXC_catalog_transfer_fail")); err.notify(ErrorManager.INFORMATIONAL, ex); } cvs server: Diffing xml/core/javahelp cvs server: Diffing xml/core/javahelp/org cvs server: Diffing xml/core/javahelp/org/netbeans cvs server: Diffing xml/core/javahelp/org/netbeans/modules cvs server: Diffing xml/core/javahelp/org/netbeans/modules/xml cvs server: Diffing xml/core/javahelp/org/netbeans/modules/xml/core cvs server: Diffing xml/core/javahelp/org/netbeans/modules/xml/core/docs cvs server: Diffing xml/core/javahelp/org/netbeans/modules/xml/core/docs/html cvs server: Diffing xml/core/javahelp/org/netbeans/modules/xml/core/docs/html/images cvs server: Diffing xml/core/src cvs server: Diffing xml/core/src/org cvs server: Diffing xml/core/src/org/netbeans cvs server: Diffing xml/core/src/org/netbeans/modules cvs server: Diffing xml/core/src/org/netbeans/modules/xml cvs server: Diffing xml/core/src/org/netbeans/modules/xml/api cvs server: Diffing xml/core/src/org/netbeans/modules/xml/api/cookies cvs server: Diffing xml/core/src/org/netbeans/modules/xml/api/model cvs server: Diffing xml/core/src/org/netbeans/modules/xml/api/scenario cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/actions cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/cookies cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/lib cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/resources cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/resources/templates cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/scenario cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/settings cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/sync cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/text cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/tree cvs server: Diffing xml/core/src/org/netbeans/modules/xml/core/wizard cvs server: Diffing xml/core/src/org/netbeans/modules/xml/dtd cvs server: Diffing xml/core/src/org/netbeans/modules/xml/dtd/grammar cvs server: Diffing xml/core/src/org/netbeans/modules/xml/dtd/resources cvs server: Diffing xml/core/src/org/netbeans/modules/xml/spi cvs server: Diffing xml/core/src/org/netbeans/modules/xml/spi/dom cvs server: Diffing xml/core/src/org/netbeans/modules/xml/spi/model cvs server: Diffing xml/core/test cvs server: Diffing xml/core/test/qa-functional cvs server: Diffing xml/core/test/qa-functional/src cvs server: Diffing xml/core/test/qa-functional/src/org cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml/core cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml/core/actions cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml/core/actions/data cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml/core/data cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml/core/data/goldenfiles cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml/core/data/goldenfiles/CoreTemplatesTest cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml/core/settings cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml/core/settings/data cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml/core/settings/data/goldenfiles cvs server: Diffing xml/core/test/qa-functional/src/org/netbeans/modules/xml/core/settings/data/goldenfiles/CoreSettingsTest cvs server: Diffing xml/core/test/unit cvs server: Diffing xml/core/test/unit/src cvs server: Diffing xml/core/test/unit/src/org cvs server: Diffing xml/core/test/unit/src/org/netbeans cvs server: Diffing xml/core/test/unit/src/org/netbeans/modules cvs server: Diffing xml/core/test/unit/src/org/netbeans/modules/xml cvs server: Diffing xml/core/test/unit/src/org/netbeans/modules/xml/api cvs server: Diffing xml/core/test/unit/src/org/netbeans/modules/xml/api/model cvs server: Diffing xml/core/test/unit/src/org/netbeans/modules/xml/api/model/data cvs server: Diffing xml/core/test/unit/src/org/netbeans/modules/xml/core cvs server: Diffing xml/core/test/unit/src/org/netbeans/modules/xml/core/lib cvs server: Diffing xml/core/test/unit/src/org/netbeans/modules/xml/core/wizard cvs server: Diffing xml/core/test/unit/src/org/netbeans/modules/xml/core/wizard/data cvs server: Diffing xml/css Index: xml/css/build.xml =================================================================== RCS file: /cvs/xml/css/build.xml,v retrieving revision 1.47 diff -u -r1.47 build.xml --- xml/css/build.xml 19 Sep 2002 10:08:01 -0000 1.47 +++ xml/css/build.xml 16 Oct 2002 04:50:58 -0000 @@ -46,9 +46,8 @@ - - - + + Index: xml/css/manifest.mf =================================================================== RCS file: /cvs/xml/css/manifest.mf,v retrieving revision 1.10 diff -u -r1.10 manifest.mf --- xml/css/manifest.mf 18 Jul 2002 10:31:48 -0000 1.10 +++ xml/css/manifest.mf 16 Oct 2002 04:50:58 -0000 @@ -5,10 +5,12 @@ OpenIDE-Module-Specification-Version: @CSS_SPEC_VERS_SUBST@ OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Public-Packages: - -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager OpenIDE-Module-Module-Dependencies: org.netbeans.api.xml/1 > @API_SPEC_VERS_SUBST@, - org.netbeans.modules.editor/1 > 1.8 + org.netbeans.modules.editor/1 > 1.8, + org.openide.deprecated > 1.0 Class-Path: ext/flute.jar ext/sac.jar Name: org/netbeans/modules/css/CSSLoader.class @@ -16,3 +18,4 @@ Install-After: org.netbeans.modules.xml.core.XMLDataObject Install-After: org.netbeans.modules.xml.core.DTDDataObject Install-Before: org.netbeans.modules.text.TXTDataObject + cvs server: Diffing xml/css/compat cvs server: Diffing xml/css/compat/src cvs server: Diffing xml/css/compat/src/META-INF cvs server: Diffing xml/css/compat/src/META-INF/netbeans cvs server: Diffing xml/css/compat/src/org cvs server: Diffing xml/css/compat/src/org/netbeans cvs server: Diffing xml/css/compat/src/org/netbeans/modules cvs server: Diffing xml/css/compat/src/org/netbeans/modules/xml cvs server: Diffing xml/css/compat/src/org/netbeans/modules/xml/css cvs server: Diffing xml/css/src cvs server: Diffing xml/css/src/org cvs server: Diffing xml/css/src/org/netbeans cvs server: Diffing xml/css/src/org/netbeans/modules cvs server: Diffing xml/css/src/org/netbeans/modules/css cvs server: Diffing xml/css/src/org/netbeans/modules/css/actions cvs server: Diffing xml/css/src/org/netbeans/modules/css/resources cvs server: Diffing xml/css/src/org/netbeans/modules/css/resources/templates cvs server: Diffing xml/css/src/org/netbeans/modules/css/settings cvs server: Diffing xml/css/src/org/netbeans/modules/css/text cvs server: Diffing xml/css/src/org/netbeans/modules/css/text/syntax cvs server: Diffing xml/css/src/org/netbeans/modules/css/text/syntax/javacc cvs server: Diffing xml/css/src/org/netbeans/modules/css/text/syntax/javacc/lib cvs server: Diffing xml/external cvs server: Diffing xml/schema Index: xml/schema/manifest.mf =================================================================== RCS file: /cvs/xml/schema/manifest.mf,v retrieving revision 1.1 diff -u -r1.1 manifest.mf --- xml/schema/manifest.mf 8 Aug 2002 23:30:33 -0000 1.1 +++ xml/schema/manifest.mf 16 Oct 2002 04:50:58 -0000 @@ -3,7 +3,7 @@ OpenIDE-Module-Layer: org/netbeans/modules/xml/schema/resources/mf-layer.xml OpenIDE-Module-Specification-Version: @SCHEMA_SPEC_VERS_SUBST@ OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.api.xml/1 > @API_SPEC_VERS_SUBST@, org.netbeans.modules.xml.tax/1 = @BUILD_NUMBER_SUBST@, cvs server: Diffing xml/schema/src cvs server: Diffing xml/schema/src/org cvs server: Diffing xml/schema/src/org/netbeans cvs server: Diffing xml/schema/src/org/netbeans/modules cvs server: Diffing xml/schema/src/org/netbeans/modules/xml cvs server: Diffing xml/schema/src/org/netbeans/modules/xml/schema cvs server: Diffing xml/schema/src/org/netbeans/modules/xml/schema/actions cvs server: Diffing xml/schema/src/org/netbeans/modules/xml/schema/cookies Index: xml/schema/src/org/netbeans/modules/xml/schema/cookies/Util.java =================================================================== RCS file: /cvs/xml/schema/src/org/netbeans/modules/xml/schema/cookies/Util.java,v retrieving revision 1.1 diff -u -r1.1 Util.java --- xml/schema/src/org/netbeans/modules/xml/schema/cookies/Util.java 8 Aug 2002 23:30:40 -0000 1.1 +++ xml/schema/src/org/netbeans/modules/xml/schema/cookies/Util.java 16 Oct 2002 04:50:58 -0000 @@ -12,26 +12,9 @@ */ package org.netbeans.modules.xml.schema.cookies; -import java.awt.event.ActionEvent; import java.io.File; -import java.util.Iterator; -import java.util.Set; -import java.util.StringTokenizer; -import java.util.TreeSet; - -import javax.swing.JFileChooser; -import javax.swing.filechooser.FileFilter; - -import org.openide.NotifyDescriptor; -import org.openide.TopManager; - -import org.netbeans.api.xml.services.UserCatalog; import org.netbeans.modules.xml.core.lib.AbstractUtil; -import org.openide.loaders.DataObject; -import org.openide.nodes.Node; -import org.openide.util.Lookup; -import org.openide.util.actions.SystemAction; /** * Collection of static support methods. cvs server: Diffing xml/schema/src/org/netbeans/modules/xml/schema/resources cvs server: Diffing xml/schema/src/org/netbeans/modules/xml/schema/resources/templates cvs server: Diffing xml/schema/test cvs server: Diffing xml/schema/test/unit cvs server: Diffing xml/schema/test/unit/src cvs server: Diffing xml/schema/test/unit/src/org cvs server: Diffing xml/schema/test/unit/src/org/netbeans cvs server: Diffing xml/schema/test/unit/src/org/netbeans/modules cvs server: Diffing xml/schema/test/unit/src/org/netbeans/modules/xml cvs server: Diffing xml/schema/test/unit/src/org/netbeans/modules/xml/schema cvs server: Diffing xml/schema/test/unit/src/org/netbeans/modules/xml/schema/cookies cvs server: Diffing xml/schema/test/unit/src/org/netbeans/modules/xml/schema/cookies/data cvs server: Diffing xml/tax Index: xml/tax/build.xml =================================================================== RCS file: /cvs/xml/tax/build.xml,v retrieving revision 1.40 diff -u -r1.40 build.xml --- xml/tax/build.xml 19 Sep 2002 10:08:03 -0000 1.40 +++ xml/tax/build.xml 16 Oct 2002 04:50:58 -0000 @@ -47,9 +47,8 @@ - - - + + Index: xml/tax/manifest.mf =================================================================== RCS file: /cvs/xml/tax/manifest.mf,v retrieving revision 1.11 diff -u -r1.11 manifest.mf --- xml/tax/manifest.mf 23 Jul 2002 11:27:09 -0000 1.11 +++ xml/tax/manifest.mf 16 Oct 2002 04:50:58 -0000 @@ -3,8 +3,9 @@ OpenIDE-Module-Install: org/netbeans/modules/xml/tax/TAXModuleInstall.class OpenIDE-Module-Specification-Version: @TAX_SPEC_VERS_SUBST@ OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 -OpenIDE-Module-Module-Dependencies: org.netbeans.api.xml/1 > @API_SPEC_VERS_SUBST@ +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 +OpenIDE-Module-Requires: org.openide.TopManager +OpenIDE-Module-Module-Dependencies: org.netbeans.api.xml/1 > @API_SPEC_VERS_SUBST@, org.openide.deprecated > 1.0 Class-Path: ext/tax.jar ext/xerces2.jar OpenIDE-Module-Public-Packages: - cvs server: Diffing xml/tax/compat cvs server: Diffing xml/tax/compat/src cvs server: Diffing xml/tax/compat/src/META-INF cvs server: Diffing xml/tax/compat/src/META-INF/netbeans cvs server: Diffing xml/tax/compat/src/org cvs server: Diffing xml/tax/compat/src/org/netbeans cvs server: Diffing xml/tax/compat/src/org/netbeans/modules cvs server: Diffing xml/tax/compat/src/org/netbeans/modules/xml cvs server: Diffing xml/tax/compat/src/org/netbeans/modules/xml/tree cvs server: Diffing xml/tax/compat/src/org/netbeans/modules/xml/tree/traversal cvs server: Diffing xml/tax/lib cvs server: Diffing xml/tax/lib/compat cvs server: Diffing xml/tax/lib/compat/src cvs server: Diffing xml/tax/lib/compat/src/META-INF cvs server: Diffing xml/tax/lib/compat/src/META-INF/netbeans cvs server: Diffing xml/tax/lib/compat/src/org cvs server: Diffing xml/tax/lib/compat/src/org/netbeans cvs server: Diffing xml/tax/lib/compat/src/org/netbeans/modules cvs server: Diffing xml/tax/lib/compat/src/org/netbeans/modules/xml cvs server: Diffing xml/tax/lib/compat/src/org/netbeans/modules/xml/tree cvs server: Diffing xml/tax/lib/compat/src/org/netbeans/modules/xml/tree/traversal cvs server: Diffing xml/tax/lib/library cvs server: Diffing xml/tax/lib/src cvs server: Diffing xml/tax/lib/src/org cvs server: Diffing xml/tax/lib/src/org/netbeans cvs server: Diffing xml/tax/lib/src/org/netbeans/tax cvs server: Diffing xml/tax/lib/src/org/netbeans/tax/decl cvs server: Diffing xml/tax/lib/src/org/netbeans/tax/decl/parser cvs server: Diffing xml/tax/lib/src/org/netbeans/tax/dom cvs server: Diffing xml/tax/lib/src/org/netbeans/tax/event cvs server: Diffing xml/tax/lib/src/org/netbeans/tax/grammar cvs server: Diffing xml/tax/lib/src/org/netbeans/tax/io cvs server: Diffing xml/tax/lib/src/org/netbeans/tax/spec cvs server: Diffing xml/tax/lib/src/org/netbeans/tax/traversal cvs server: Diffing xml/tax/lib/test cvs server: Diffing xml/tax/lib/test/qa-functional cvs server: Diffing xml/tax/lib/test/qa-functional/src cvs server: Diffing xml/tax/lib/test/qa-functional/src/org cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans/tax cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans/tax/data cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans/tax/data/goldenfiles cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans/tax/data/goldenfiles/CreateXMLTest cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans/tax/io cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans/tax/io/data cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans/tax/io/data/dir cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans/tax/io/data/dir/dir-b cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans/tax/io/data/goldenfiles cvs server: Diffing xml/tax/lib/test/qa-functional/src/org/netbeans/tax/io/data/goldenfiles/TreeBuilderTest cvs server: Diffing xml/tax/lib/test/unit cvs server: Diffing xml/tax/lib/test/unit/src cvs server: Diffing xml/tax/lib/test/unit/src/org cvs server: Diffing xml/tax/lib/test/unit/src/org/netbeans cvs server: Diffing xml/tax/lib/test/unit/src/org/netbeans/tax cvs server: Diffing xml/tax/lib/test/unit/src/org/netbeans/tax/dom cvs server: Diffing xml/tax/lib/test/unit/src/org/netbeans/tax/dom/data cvs server: Diffing xml/tax/lib/test/unit/src/org/netbeans/tax/test cvs server: Diffing xml/tax/src cvs server: Diffing xml/tax/src/org cvs server: Diffing xml/tax/src/org/netbeans cvs server: Diffing xml/tax/src/org/netbeans/modules cvs server: Diffing xml/tax/src/org/netbeans/modules/xml cvs server: Diffing xml/tax/src/org/netbeans/modules/xml/tax cvs server: Diffing xml/tax/src/org/netbeans/modules/xml/tax/beans cvs server: Diffing xml/tax/src/org/netbeans/modules/xml/tax/beans/beaninfo cvs server: Diffing xml/tax/src/org/netbeans/modules/xml/tax/beans/customizer cvs server: Diffing xml/tax/src/org/netbeans/modules/xml/tax/beans/editor cvs server: Diffing xml/tax/src/org/netbeans/modules/xml/tax/resources cvs server: Diffing xml/tax/src/org/netbeans/modules/xml/tax/traversal cvs server: Diffing xml/tax/src/org/netbeans/modules/xml/tax/util cvs server: Diffing xml/test cvs server: Diffing xml/test/qa-functional cvs server: Diffing xml/test/qa-lib cvs server: Diffing xml/test/qa-lib/src cvs server: Diffing xml/test/qa-lib/src/org cvs server: Diffing xml/test/qa-lib/src/org/netbeans cvs server: Diffing xml/test/qa-lib/src/org/netbeans/jellytools cvs server: Diffing xml/test/qa-lib/src/org/netbeans/jellytools/modules cvs server: Diffing xml/test/qa-lib/src/org/netbeans/jellytools/modules/css cvs server: Diffing xml/test/qa-lib/src/org/netbeans/jellytools/modules/css/actions cvs server: Diffing xml/test/qa-lib/src/org/netbeans/jellytools/modules/xml cvs server: Diffing xml/test/qa-lib/src/org/netbeans/jellytools/modules/xml/actions cvs server: Diffing xml/test/qa-lib/src/org/netbeans/jellytools/modules/xml/actions/data cvs server: Diffing xml/test/qa-lib/src/org/netbeans/jellytools/modules/xml/saxwizard cvs server: Diffing xml/test/qa-lib/src/org/netbeans/jellytools/modules/xsl cvs server: Diffing xml/test/qa-lib/src/org/netbeans/jellytools/modules/xsl/actions cvs server: Diffing xml/test/qa-lib/src/org/netbeans/tests cvs server: Diffing xml/test/qa-lib/src/org/netbeans/tests/xml cvs server: Diffing xml/text-edit Index: xml/text-edit/manifest.mf =================================================================== RCS file: /cvs/xml/text-edit/manifest.mf,v retrieving revision 1.16 diff -u -r1.16 manifest.mf --- xml/text-edit/manifest.mf 6 Aug 2002 08:53:47 -0000 1.16 +++ xml/text-edit/manifest.mf 16 Oct 2002 04:50:59 -0000 @@ -5,9 +5,10 @@ OpenIDE-Module-Specification-Version: @TEXT_SPEC_VERS_SUBST@ OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Public-Packages: org.netbeans.modules.xml.text.syntax.* -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.api.xml/1 > @API_SPEC_VERS_SUBST@, org.netbeans.modules.xml.tax/1 = @BUILD_NUMBER_SUBST@, org.netbeans.modules.xml.core/1 = @BUILD_NUMBER_SUBST@, org.netbeans.modules.editor/1 > 1.7 + cvs server: Diffing xml/text-edit/compat cvs server: Diffing xml/text-edit/compat/src cvs server: Diffing xml/text-edit/compat/src/META-INF cvs server: Diffing xml/text-edit/compat/src/META-INF/netbeans cvs server: Diffing xml/text-edit/compat/src/org cvs server: Diffing xml/text-edit/compat/src/org/netbeans cvs server: Diffing xml/text-edit/compat/src/org/netbeans/modules cvs server: Diffing xml/text-edit/compat/src/org/netbeans/modules/xml cvs server: Diffing xml/text-edit/compat/src/org/netbeans/modules/xml/text cvs server: Diffing xml/text-edit/compat/src/org/netbeans/modules/xml/text/syntax cvs server: Diffing xml/text-edit/src cvs server: Diffing xml/text-edit/src/org cvs server: Diffing xml/text-edit/src/org/netbeans cvs server: Diffing xml/text-edit/src/org/netbeans/modules cvs server: Diffing xml/text-edit/src/org/netbeans/modules/xml cvs server: Diffing xml/text-edit/src/org/netbeans/modules/xml/text cvs server: Diffing xml/text-edit/src/org/netbeans/modules/xml/text/completion Index: xml/text-edit/src/org/netbeans/modules/xml/text/completion/GrammarManager.java =================================================================== RCS file: /cvs/xml/text-edit/src/org/netbeans/modules/xml/text/completion/GrammarManager.java,v retrieving revision 1.3 diff -u -r1.3 GrammarManager.java --- xml/text-edit/src/org/netbeans/modules/xml/text/completion/GrammarManager.java 23 Jul 2002 11:27:11 -0000 1.3 +++ xml/text-edit/src/org/netbeans/modules/xml/text/completion/GrammarManager.java 16 Oct 2002 04:50:59 -0000 @@ -31,7 +31,6 @@ import org.netbeans.modules.xml.text.syntax.SyntaxElement; import org.netbeans.modules.xml.text.syntax.XMLSyntaxSupport; import org.netbeans.modules.xml.text.syntax.dom.SyntaxNode; -import org.openide.TopManager; import org.openide.filesystems.FileObject; import org.openide.loaders.DataObject; import org.openide.text.NbDocument; @@ -40,6 +39,7 @@ import org.openide.util.enum.QueueEnumeration; import org.w3c.dom.Node; import org.xml.sax.InputSource; +import org.openide.awt.StatusDisplayer; /** * Manages grammar to text editor association. It is able to @@ -207,7 +207,7 @@ */ private void notifyProgress(Task loader, String msg) { if (this.loader != loader) return; - TopManager.getDefault().setStatusText(msg); + StatusDisplayer.getDefault().setStatusText(msg); } /** Index: xml/text-edit/src/org/netbeans/modules/xml/text/completion/XMLCompletionQuery.java =================================================================== RCS file: /cvs/xml/text-edit/src/org/netbeans/modules/xml/text/completion/XMLCompletionQuery.java,v retrieving revision 1.27 diff -u -r1.27 XMLCompletionQuery.java --- xml/text-edit/src/org/netbeans/modules/xml/text/completion/XMLCompletionQuery.java 15 Aug 2002 09:24:17 -0000 1.27 +++ xml/text-edit/src/org/netbeans/modules/xml/text/completion/XMLCompletionQuery.java 16 Oct 2002 04:50:59 -0000 @@ -44,7 +44,6 @@ import javax.swing.Icon; import org.netbeans.modules.xml.text.syntax.dom.SyntaxNode; -import org.openide.TopManager; /** * Consults grammar and presents list of possible choices cvs server: Diffing xml/text-edit/src/org/netbeans/modules/xml/text/completion/resources cvs server: Diffing xml/text-edit/src/org/netbeans/modules/xml/text/indent cvs server: Diffing xml/text-edit/src/org/netbeans/modules/xml/text/resources cvs server: Diffing xml/text-edit/src/org/netbeans/modules/xml/text/syntax Index: xml/text-edit/src/org/netbeans/modules/xml/text/syntax/XMLKit.java =================================================================== RCS file: /cvs/xml/text-edit/src/org/netbeans/modules/xml/text/syntax/XMLKit.java,v retrieving revision 1.4 diff -u -r1.4 XMLKit.java --- xml/text-edit/src/org/netbeans/modules/xml/text/syntax/XMLKit.java 2 Aug 2002 15:20:30 -0000 1.4 +++ xml/text-edit/src/org/netbeans/modules/xml/text/syntax/XMLKit.java 16 Oct 2002 04:50:59 -0000 @@ -27,6 +27,7 @@ import javax.swing.*; import org.openide.*; +import org.openide.awt.StatusDisplayer; // we depend on NetBeans editor stuff import org.netbeans.editor.*; @@ -131,7 +132,7 @@ * Uniform way of reporting problem while action executing #15589 */ protected void problem(String reason) { - if (reason != null) TopManager.getDefault().setStatusText("Cannot proceed: " + reason); + if (reason != null) StatusDisplayer.getDefault().setStatusText("Cannot proceed: " + reason); new Panel().getToolkit().beep(); } } cvs server: Diffing xml/text-edit/src/org/netbeans/modules/xml/text/syntax/dom cvs server: Diffing xml/text-edit/src/org/netbeans/modules/xml/text/syntax/javacc cvs server: Diffing xml/text-edit/src/org/netbeans/modules/xml/text/syntax/javacc/lib cvs server: Diffing xml/text-edit/test cvs server: Diffing xml/text-edit/test/qa-functional cvs server: Diffing xml/text-edit/test/qa-functional/src cvs server: Diffing xml/text-edit/test/qa-functional/src/org cvs server: Diffing xml/text-edit/test/qa-functional/src/org/netbeans cvs server: Diffing xml/text-edit/test/qa-functional/src/org/netbeans/modules cvs server: Diffing xml/text-edit/test/qa-functional/src/org/netbeans/modules/xml cvs server: Diffing xml/text-edit/test/qa-functional/src/org/netbeans/modules/xml/text cvs server: Diffing xml/text-edit/test/qa-functional/src/org/netbeans/modules/xml/text/syntax cvs server: Diffing xml/text-edit/test/qa-functional/src/org/netbeans/modules/xml/text/syntax/data cvs server: Diffing xml/text-edit/test/qa-functional/src/org/netbeans/modules/xml/text/syntax/data/goldenfiles cvs server: Diffing xml/text-edit/test/qa-functional/src/org/netbeans/modules/xml/text/syntax/data/goldenfiles/ColoringTest cvs server: Diffing xml/text-edit/test/unit cvs server: Diffing xml/text-edit/test/unit/src cvs server: Diffing xml/text-edit/test/unit/src/org cvs server: Diffing xml/text-edit/test/unit/src/org/netbeans cvs server: Diffing xml/text-edit/test/unit/src/org/netbeans/modules cvs server: Diffing xml/text-edit/test/unit/src/org/netbeans/modules/xml cvs server: Diffing xml/text-edit/test/unit/src/org/netbeans/modules/xml/text cvs server: Diffing xml/text-edit/test/unit/src/org/netbeans/modules/xml/text/completion cvs server: Diffing xml/text-edit/test/unit/src/org/netbeans/modules/xml/text/completion/dtd cvs server: Diffing xml/text-edit/test/unit/src/org/netbeans/modules/xml/text/syntax cvs server: Diffing xml/text-edit/test/unit/src/org/netbeans/modules/xml/text/syntax/data cvs server: Diffing xml/tools Index: xml/tools/build.xml =================================================================== RCS file: /cvs/xml/tools/build.xml,v retrieving revision 1.45 diff -u -r1.45 build.xml --- xml/tools/build.xml 19 Sep 2002 10:08:04 -0000 1.45 +++ xml/tools/build.xml 16 Oct 2002 04:51:00 -0000 @@ -48,9 +48,9 @@ - - - + + + Index: xml/tools/manifest.mf =================================================================== RCS file: /cvs/xml/tools/manifest.mf,v retrieving revision 1.18 diff -u -r1.18 manifest.mf --- xml/tools/manifest.mf 18 Jul 2002 10:31:50 -0000 1.18 +++ xml/tools/manifest.mf 16 Oct 2002 04:51:00 -0000 @@ -5,9 +5,12 @@ OpenIDE-Module-Specification-Version: @TOOLS_SPEC_VERS_SUBST@ OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Public-Packages: - -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.api.xml/1 > @API_SPEC_VERS_SUBST@, org.netbeans.modules.xml.tax/1 = @BUILD_NUMBER_SUBST@, org.netbeans.modules.xml.core/1 = @BUILD_NUMBER_SUBST@, - org.netbeans.libs.jaxp/1 + org.netbeans.libs.jaxp/1, + org.openide.deprecated > 1.0, org.openide.src > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager + cvs server: Diffing xml/tools/compat cvs server: Diffing xml/tools/compat/src cvs server: Diffing xml/tools/compat/src/META-INF cvs server: Diffing xml/tools/compat/src/META-INF/netbeans cvs server: Diffing xml/tools/release cvs server: Diffing xml/tools/release/docs cvs server: Diffing xml/tools/release/system cvs server: Diffing xml/tools/release/system/ParserDB cvs server: Diffing xml/tools/src cvs server: Diffing xml/tools/src/org cvs server: Diffing xml/tools/src/org/netbeans cvs server: Diffing xml/tools/src/org/netbeans/modules cvs server: Diffing xml/tools/src/org/netbeans/modules/xml cvs server: Diffing xml/tools/src/org/netbeans/modules/xml/tools cvs server: Diffing xml/tools/src/org/netbeans/modules/xml/tools/actions cvs server: Diffing xml/tools/src/org/netbeans/modules/xml/tools/doclet cvs server: Diffing xml/tools/src/org/netbeans/modules/xml/tools/generator cvs server: Diffing xml/tools/src/org/netbeans/modules/xml/tools/lib cvs server: Diffing xml/tools/src/org/netbeans/modules/xml/tools/resources cvs server: Diffing xml/tools/test cvs server: Diffing xml/tools/test/qa-functional cvs server: Diffing xml/tools/test/qa-functional/src cvs server: Diffing xml/tools/test/qa-functional/src/org cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/actions cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/actions/data cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/actions/data/dtd cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/actions/data/dtd/dtd2 cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/actions/data/schema cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/doclet cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/doclet/data cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/doclet/data/goldenfiles cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/doclet/data/goldenfiles/DTDDocletTest cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/generator cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/generator/data cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/generator/data/goldenfiles cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/generator/data/goldenfiles/GenerateDOMScannerSupportTest cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/generator/data/goldenfiles/GenerateDTDSupportTest cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/generator/data/goldenfiles/SAXGeneratorJTest cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xml/tools/generator/data/sax cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xsl cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xsl/action cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xsl/action/data cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xsl/action/data/out cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xsl/action/data/sources cvs server: Diffing xml/tools/test/qa-functional/src/org/netbeans/modules/xsl/action/data/styles cvs server: Diffing xml/tree-edit Index: xml/tree-edit/build.xml =================================================================== RCS file: /cvs/xml/tree-edit/build.xml,v retrieving revision 1.39 diff -u -r1.39 build.xml --- xml/tree-edit/build.xml 19 Sep 2002 10:08:04 -0000 1.39 +++ xml/tree-edit/build.xml 16 Oct 2002 04:51:01 -0000 @@ -51,9 +51,8 @@ - - - + + Index: xml/tree-edit/manifest.mf =================================================================== RCS file: /cvs/xml/tree-edit/manifest.mf,v retrieving revision 1.14 diff -u -r1.14 manifest.mf --- xml/tree-edit/manifest.mf 18 Jul 2002 10:31:50 -0000 1.14 +++ xml/tree-edit/manifest.mf 16 Oct 2002 04:51:01 -0000 @@ -5,9 +5,12 @@ OpenIDE-Module-Specification-Version: @TREE_SPEC_VERS_SUBST@ OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Public-Packages: - -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.api.xml/1 > @API_SPEC_VERS_SUBST@, org.netbeans.modules.xml.tax/1 = @BUILD_NUMBER_SUBST@, org.netbeans.modules.xml.core/1 = @BUILD_NUMBER_SUBST@, - org.openidex.util/2 > 2.1.1 + org.openidex.util/2 > 2.1.1, + org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.TopManager + cvs server: Diffing xml/tree-edit/compat cvs server: Diffing xml/tree-edit/compat/src cvs server: Diffing xml/tree-edit/compat/src/META-INF cvs server: Diffing xml/tree-edit/compat/src/META-INF/netbeans cvs server: Diffing xml/tree-edit/compat/src/org cvs server: Diffing xml/tree-edit/compat/src/org/netbeans cvs server: Diffing xml/tree-edit/compat/src/org/netbeans/modules cvs server: Diffing xml/tree-edit/compat/src/org/netbeans/modules/xml cvs server: Diffing xml/tree-edit/compat/src/org/netbeans/modules/xml/editor cvs server: Diffing xml/tree-edit/src cvs server: Diffing xml/tree-edit/src/org cvs server: Diffing xml/tree-edit/src/org/netbeans cvs server: Diffing xml/tree-edit/src/org/netbeans/modules cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml/tree cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml/tree/actions cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml/tree/children cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml/tree/cookies cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml/tree/editor cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml/tree/lib cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml/tree/nodes cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml/tree/nodes/looks cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml/tree/resources cvs server: Diffing xml/tree-edit/src/org/netbeans/modules/xml/tree/settings cvs server: Diffing xml/tree-edit/test cvs server: Diffing xml/tree-edit/test/qa-functional cvs server: Diffing xml/tree-edit/test/qa-functional/src cvs server: Diffing xml/tree-edit/test/qa-functional/src/org cvs server: Diffing xml/tree-edit/test/qa-functional/src/org/netbeans cvs server: Diffing xml/tree-edit/test/qa-functional/src/org/netbeans/modules cvs server: Diffing xml/tree-edit/test/qa-functional/src/org/netbeans/modules/xml cvs server: Diffing xml/tree-edit/test/qa-functional/src/org/netbeans/modules/xml/tree cvs server: Diffing xml/tree-edit/test/qa-functional/src/org/netbeans/modules/xml/tree/nodes cvs server: Diffing xml/tree-edit/test/qa-functional/src/org/netbeans/modules/xml/tree/nodes/data cvs server: Diffing xml/www cvs server: Diffing xml/www/api cvs server: Diffing xml/www/api/data cvs server: Diffing xml/www/api/data/features cvs server: Diffing xml/www/api/dev cvs server: Diffing xml/www/api/images cvs server: Diffing xml/www/api/plans cvs server: Diffing xml/www/api/uml cvs server: Diffing xml/www/api/user cvs server: Diffing xml/www/catalog cvs server: Diffing xml/www/catalog/data cvs server: Diffing xml/www/catalog/data/features cvs server: Diffing xml/www/catalog/dev cvs server: Diffing xml/www/catalog/images cvs server: Diffing xml/www/catalog/images/icons cvs server: Diffing xml/www/catalog/plans cvs server: Diffing xml/www/catalog/uml cvs server: Diffing xml/www/catalog/user cvs server: Diffing xml/www/core cvs server: Diffing xml/www/core/data cvs server: Diffing xml/www/core/data/features cvs server: Diffing xml/www/core/dev cvs server: Diffing xml/www/core/images cvs server: Diffing xml/www/core/images/icons cvs server: Diffing xml/www/core/plans cvs server: Diffing xml/www/core/slides cvs server: Diffing xml/www/core/slides/infrastructure032002 cvs server: Diffing xml/www/core/uml cvs server: Diffing xml/www/core/user cvs server: Diffing xml/www/css cvs server: Diffing xml/www/css/data cvs server: Diffing xml/www/css/data/features cvs server: Diffing xml/www/css/dev cvs server: Diffing xml/www/css/images cvs server: Diffing xml/www/css/images/icons cvs server: Diffing xml/www/css/plans cvs server: Diffing xml/www/css/uml cvs server: Diffing xml/www/css/user cvs server: Diffing xml/www/data cvs server: Diffing xml/www/data/features cvs server: Diffing xml/www/dev cvs server: Diffing xml/www/dtds cvs server: Diffing xml/www/images cvs server: Diffing xml/www/images/screenshots cvs server: Diffing xml/www/images/sources cvs server: Diffing xml/www/plans cvs server: Diffing xml/www/plans/external cvs server: Diffing xml/www/plans/model cvs server: Diffing xml/www/plans/proposal cvs server: Diffing xml/www/plans/roadmap cvs server: Diffing xml/www/qa cvs server: Diffing xml/www/qa/testspecs cvs server: Diffing xml/www/qa/testspecs/nb34 cvs server: Diffing xml/www/qa/testspecs/nb34/data cvs server: Diffing xml/www/samples cvs server: Diffing xml/www/schema cvs server: Diffing xml/www/schema/data cvs server: Diffing xml/www/schema/data/features cvs server: Diffing xml/www/styles cvs server: Diffing xml/www/tax cvs server: Diffing xml/www/tax/data cvs server: Diffing xml/www/tax/data/features cvs server: Diffing xml/www/tax/dev cvs server: Diffing xml/www/tax/images cvs server: Diffing xml/www/tax/images/icons cvs server: Diffing xml/www/tax/plans cvs server: Diffing xml/www/tax/uml cvs server: Diffing xml/www/tax/user cvs server: Diffing xml/www/text-edit cvs server: Diffing xml/www/text-edit/data cvs server: Diffing xml/www/text-edit/data/features cvs server: Diffing xml/www/text-edit/dev cvs server: Diffing xml/www/text-edit/images cvs server: Diffing xml/www/text-edit/images/icons cvs server: Diffing xml/www/text-edit/plans cvs server: Diffing xml/www/text-edit/uml cvs server: Diffing xml/www/text-edit/uml/completion cvs server: Diffing xml/www/text-edit/user cvs server: Diffing xml/www/tools cvs server: Diffing xml/www/tools/data cvs server: Diffing xml/www/tools/data/features cvs server: Diffing xml/www/tools/dev cvs server: Diffing xml/www/tools/images cvs server: Diffing xml/www/tools/images/icons cvs server: Diffing xml/www/tools/images/sources cvs server: Diffing xml/www/tools/plans cvs server: Diffing xml/www/tools/uml cvs server: Diffing xml/www/tools/user cvs server: Diffing xml/www/tree-edit cvs server: Diffing xml/www/tree-edit/data cvs server: Diffing xml/www/tree-edit/data/features cvs server: Diffing xml/www/tree-edit/dev cvs server: Diffing xml/www/tree-edit/images cvs server: Diffing xml/www/tree-edit/images/icons cvs server: Diffing xml/www/tree-edit/plans cvs server: Diffing xml/www/tree-edit/uml cvs server: Diffing xml/www/tree-edit/user cvs server: Diffing xml/www/uml cvs server: Diffing xml/www/uml/design cvs server: Diffing xml/www/uml/modules cvs server: Diffing xml/www/user cvs server: Diffing xml/www/user/guide cvs server: Diffing xml/www/user/guide/images cvs server: Diffing xml/www/user/guide/original cvs server: Diffing xml/www/xsl cvs server: Diffing xml/www/xsl/data cvs server: Diffing xml/www/xsl/data/features cvs server: Diffing xml/www/xsl/dev cvs server: Diffing xml/www/xsl/images cvs server: Diffing xml/www/xsl/plans cvs server: Diffing xml/www/xsl/uml cvs server: Diffing xml/www/xsl/uml/scenarios cvs server: Diffing xml/www/xsl/user cvs server: Diffing xml/xsl Index: xml/xsl/build.xml =================================================================== RCS file: /cvs/xml/xsl/build.xml,v retrieving revision 1.9 diff -u -r1.9 build.xml --- xml/xsl/build.xml 19 Sep 2002 10:08:05 -0000 1.9 +++ xml/xsl/build.xml 16 Oct 2002 04:51:02 -0000 @@ -51,9 +51,8 @@ - - - + + Index: xml/xsl/manifest.mf =================================================================== RCS file: /cvs/xml/xsl/manifest.mf,v retrieving revision 1.6 diff -u -r1.6 manifest.mf --- xml/xsl/manifest.mf 14 Oct 2002 12:45:20 -0000 1.6 +++ xml/xsl/manifest.mf 16 Oct 2002 04:51:02 -0000 @@ -4,16 +4,18 @@ OpenIDE-Module-Specification-Version: @XSL_SPEC_VERS_SUBST@ OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@ OpenIDE-Module-Public-Packages: org.netbeans.modules.xsl.api.** -OpenIDE-Module-IDE-Dependencies: IDE/1 > 2.19 +OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.14 OpenIDE-Module-Module-Dependencies: org.netbeans.api.xml/1 > @API_SPEC_VERS_SUBST@, org.netbeans.modules.xml.tax/1 = @BUILD_NUMBER_SUBST@, org.netbeans.modules.xml.core/1 = @BUILD_NUMBER_SUBST@, org.netbeans.libs.jaxp/1, org.netbeans.libs.xalan/1 > 1.1, - org.netbeans.modules.servletapi/1 -OpenIDE-Module-Requires: org.openide.util.HttpServer$Impl + org.netbeans.modules.servletapi/1, + org.openide.deprecated > 1.0 +OpenIDE-Module-Requires: org.openide.util.HttpServer$Impl, org.openide.TopManager Name: org/netbeans/modules/xsl/XSLDataLoader.class OpenIDE-Module-Class: Loader Install-Before: org.netbeans.modules.xml.core.XMLDataObject + cvs server: Diffing xml/xsl/src cvs server: Diffing xml/xsl/src/org cvs server: Diffing xml/xsl/src/org/netbeans cvs server: Diffing xml/xsl/src/org/netbeans/modules cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/actions cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/api cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/cookies cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/grammar cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/resources cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/resources/templates cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/scenario cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/settings cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/transform cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/ui cvs server: Diffing xml/xsl/src/org/netbeans/modules/xsl/utils cvs server: Diffing xml/xsl/test cvs server: Diffing xml/xsl/test/unit cvs server: Diffing xml/xsl/test/unit/src cvs server: Diffing xml/xsl/test/unit/src/org cvs server: Diffing xml/xsl/test/unit/src/org/netbeans cvs server: Diffing xml/xsl/test/unit/src/org/netbeans/modules cvs server: Diffing xml/xsl/test/unit/src/org/netbeans/modules/xsl cvs server: Diffing xml/xsl/test/unit/src/org/netbeans/modules/xsl/settings cvs server: Diffing xml/xsl/test/unit/src/org/netbeans/modules/xsl/transform cvs server: Diffing xml/xsl/test/unit/src/org/netbeans/modules/xsl/utils cvs server: Diffing xml/xsl/test/unit/src/org/netbeans/modules/xsl/utils/data cvs server: Diffing xtest cvs server: Diffing xtest/bin cvs server: Diffing xtest/examples cvs server: Diffing xtest/examples/MyModule cvs server: Diffing xtest/examples/MyModule/src cvs server: Diffing xtest/examples/MyModule/src/myorg cvs server: Diffing xtest/examples/MyModule/test cvs server: Diffing xtest/examples/MyModule/test/gui cvs server: Diffing xtest/examples/MyModule/test/gui/src cvs server: Diffing xtest/examples/MyModule/test/gui/src/data cvs server: Diffing xtest/examples/MyModule/test/gui/src/data/goldenfiles cvs server: Diffing xtest/examples/MyModule/test/gui/src/data/goldenfiles/GoldenGuiTest cvs server: Diffing xtest/examples/MyModule/test/logging cvs server: Diffing xtest/examples/MyModule/test/logging/src cvs server: Diffing xtest/examples/MyModule/test/logging/src/golden cvs server: Diffing xtest/examples/MyModule/test/logging/src/golden/data cvs server: Diffing xtest/examples/MyModule/test/logging/src/golden/data/goldenfiles cvs server: Diffing xtest/examples/MyModule/test/logging/src/golden/data/goldenfiles/GoldenTest1 cvs server: Diffing xtest/examples/MyModule/test/logging/src/golden/data/goldenfiles/GoldenTest2 cvs server: Diffing xtest/examples/MyModule/test/site-specific cvs server: Diffing xtest/examples/MyModule/test/site-specific/src cvs server: Diffing xtest/examples/MyModule/test/unit cvs server: Diffing xtest/examples/MyModule/test/unit/results cvs server: Diffing xtest/examples/MyModule/test/unit/results/html cvs server: Diffing xtest/examples/MyModule/test/unit/results/html/myorg cvs server: Diffing xtest/examples/MyModule/test/unit/results/work cvs server: Diffing xtest/examples/MyModule/test/unit/results/work/data cvs server: Diffing xtest/examples/MyModule/test/unit/src cvs server: Diffing xtest/examples/MyModule/test/unit/src/data cvs server: Diffing xtest/examples/MyModule/test/unit/src/myorg cvs server: Diffing xtest/examples/examples-instance cvs server: Diffing xtest/external Index: xtest/external/xtest-ext.jar.scrambled =================================================================== RCS file: /cvs/xtest/external/xtest-ext.jar.scrambled,v retrieving revision 1.4 diff -u -r1.4 xtest-ext.jar.scrambled Binary files /tmp/cvso7aGIK and xtest-ext.jar.scrambled differ cvs server: Diffing xtest/instance cvs server: Diffing xtest/lib cvs server: Diffing xtest/lib/xsl cvs server: Diffing xtest/lib/xsl/server cvs server: Diffing xtest/nativesrc cvs server: Diffing xtest/nativesrc/kill cvs server: Diffing xtest/nativesrc/kill/unix cvs server: Diffing xtest/nativesrc/kill/unix/killso cvs server: Diffing xtest/nativesrc/kill/win32 cvs server: Diffing xtest/nativesrc/kill/win32/killdll cvs server: Diffing xtest/nativesrc/kill/win32/killexe cvs server: Diffing xtest/server cvs server: Diffing xtest/server/bin cvs server: Diffing xtest/server/conf.samples cvs server: Diffing xtest/src cvs server: Diffing xtest/src/META-INF cvs server: Diffing xtest/src/META-INF/services cvs server: Diffing xtest/src/org cvs server: Diffing xtest/src/org/netbeans cvs server: Diffing xtest/src/org/netbeans/xtest Index: xtest/src/org/netbeans/xtest/NbMultiTaskDef.java =================================================================== RCS file: /cvs/xtest/src/org/netbeans/xtest/NbMultiTaskDef.java,v retrieving revision 1.6 diff -u -r1.6 NbMultiTaskDef.java --- xtest/src/org/netbeans/xtest/NbMultiTaskDef.java 14 Aug 2002 17:55:43 -0000 1.6 +++ xtest/src/org/netbeans/xtest/NbMultiTaskDef.java 16 Oct 2002 04:51:03 -0000 @@ -24,8 +24,6 @@ import java.util.LinkedList; import java.util.Iterator; -//import org.openide.TopManager; - /** * * @author vs124454 @@ -72,7 +70,6 @@ public void execute () throws BuildException { if (null != System.getProperty("test.ant.file")) { log("Using Netbeans classloader.", Project.MSG_DEBUG); - //loader = org.openide.TopManager.getDefault().currentClassLoader(); loader = Thread.currentThread().getContextClassLoader(); System.out.println("NetBeans class loader: "+loader); } cvs server: Diffing xtest/src/org/netbeans/xtest/driver cvs server: Diffing xtest/src/org/netbeans/xtest/ide Index: xtest/src/org/netbeans/xtest/ide/Main.java =================================================================== RCS file: /cvs/xtest/src/org/netbeans/xtest/ide/Main.java,v retrieving revision 1.10 diff -u -r1.10 Main.java --- xtest/src/org/netbeans/xtest/ide/Main.java 12 Sep 2002 16:45:23 -0000 1.10 +++ xtest/src/org/netbeans/xtest/ide/Main.java 16 Oct 2002 04:51:04 -0000 @@ -115,8 +115,7 @@ // second - use Runtime and Processes Nodes (to be sure) ... // get runtime node - Places places = TopManager.getDefault().getPlaces(); - Node runtime = places.nodes().environment(); + Node runtime = org.netbeans.core.NbPlaces.getDefault().environment(); // find Processes node // bundle = org.netbeans.core.execution.Bundle.properties @@ -222,6 +221,7 @@ // need to initialize org.openide.TopManager, not org.netbeans.core.Plain System.getProperties().put ( + // Note this is really the NbTopManager impl now: "org.openide.TopManager", // NOI18N "org.netbeans.core.Main" // NOI18N ); @@ -282,7 +282,7 @@ // get the static ErrorManager instance - errMan = TopManager.getDefault().getErrorManager(); + errMan = ErrorManager.getDefault(); // and initialize it (if XTestErrorManage is used) //errMan.log(ErrorManager.EXCEPTION,"Starting tests"); @@ -293,7 +293,7 @@ new QueueEmpty().waitEventQueueEmpty(2000); } catch (Exception ex) { - TopManager.getDefault().getErrorManager().notify(ErrorManager.EXCEPTION, ex); + errMan.notify(ErrorManager.EXCEPTION, ex); } } }); @@ -341,8 +341,7 @@ if (System.getProperty(TEST_CLASS) == null) return; - // Yarda Tulach's line - is this good for anything ? - Object jarda = org.openide.filesystems.Repository.getDefault (); + org.netbeans.core.NbTopManager.get(); if (System.getProperty(TEST_REDIRECT) != null && System.getProperty(TEST_REDIRECT).equals("true")) { OutputSettings os = (OutputSettings) Lookup.getDefault().lookup( OutputSettings.class ); @@ -419,7 +418,7 @@ } } catch (Exception ex) { - TopManager.getDefault().getErrorManager().notify(ErrorManager.EXCEPTION, ex); + errMan.notify(ErrorManager.EXCEPTION, ex); } } }); @@ -463,7 +462,7 @@ System.out.println("Exception when terminating processes started from IDE"); e.printStackTrace(); } - TopManager.getDefault().exit(); + LifecycleManager.getDefault().exit(); } }); // try to exit nicely first @@ -507,7 +506,7 @@ private static void mountFileSystems() { - Repository repo = TopManager.getDefault().getRepository(); + Repository repo = Repository.getDefault(); // unmount the currently mounted filesystems // (could be more sofisticated some day) @@ -535,14 +534,14 @@ } } catch (Exception ex) { - TopManager.getDefault().getErrorManager().notify(ErrorManager.EXCEPTION, ex); + ErrorManager.getDefault().notify(ErrorManager.EXCEPTION, ex); } } } private static void setNodeProperties() { - FileObject fo = TopManager.getDefault().getRepository().findResource(System.getProperty(TEST_CLASS) + ".java"); + FileObject fo = Repository.getDefault().findResource(System.getProperty(TEST_CLASS) + ".java"); if (fo != null) { try { DataObject obj = DataObject.find(fo); Index: xtest/src/org/netbeans/xtest/ide/XTestErrorManager.java =================================================================== RCS file: /cvs/xtest/src/org/netbeans/xtest/ide/XTestErrorManager.java,v retrieving revision 1.5 diff -u -r1.5 XTestErrorManager.java --- xtest/src/org/netbeans/xtest/ide/XTestErrorManager.java 16 Sep 2002 14:22:12 -0000 1.5 +++ xtest/src/org/netbeans/xtest/ide/XTestErrorManager.java 16 Oct 2002 04:51:04 -0000 @@ -22,7 +22,6 @@ import org.openide.ErrorManager; import org.openide.ErrorManager.Annotation; -import org.openide.TopManager; import java.util.*; import java.io.*; import java.lang.ref.*; @@ -125,10 +124,6 @@ } - - private static boolean isTopManagerInitialized() { - return (System.getProperty("org.openide.TopManager")!=null); - } private PrintWriter ideLogWriter = new PrintWriter(System.err); cvs server: Diffing xtest/src/org/netbeans/xtest/log cvs server: Diffing xtest/src/org/netbeans/xtest/pe cvs server: Diffing xtest/src/org/netbeans/xtest/pe/server cvs server: Diffing xtest/src/org/netbeans/xtest/pe/server/dbfeeder cvs server: Diffing xtest/src/org/netbeans/xtest/pe/server/xmlbeans cvs server: Diffing xtest/src/org/netbeans/xtest/pe/xmlbeans cvs server: Diffing xtest/src/org/netbeans/xtest/util cvs server: Diffing xtest/src/org/netbeans/xtest/xmlserializer cvs server: Diffing xtest/www cvs server: Diffing xtest/www/Download cvs server: Diffing xtest/www/HttpUnit cvs server: Diffing xtest/www/Images cvs server: Diffing xtest/www/unit cvs server: Diffing xtest/xslt cvs server: Diffing xtest/xslt/unit