? 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.
-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.