Index: core/execution/src/org/netbeans/core/execution/Install.java
===================================================================
RCS file: /cvs/core/execution/src/org/netbeans/core/execution/Install.java,v
retrieving revision 1.7
diff -u -r1.7 Install.java
--- core/execution/src/org/netbeans/core/execution/Install.java 18 Mar 2003 18:30:40 -0000 1.7
+++ core/execution/src/org/netbeans/core/execution/Install.java 19 May 2003 15:42:55 -0000
@@ -43,6 +43,7 @@
import org.netbeans.TopSecurityManager;
import org.netbeans.core.ModuleActions;
+import org.openide.ErrorManager;
/**
* Registers security manager for execution.
@@ -126,6 +127,15 @@
private static void startFolder(DataFolder f) {
DataObject[] obj = f.getChildren();
if (obj.length == 0) return;
+ ErrorManager err = ErrorManager.getDefault();
+ if (err.isLoggable(ErrorManager.WARNING)) {
+ StringBuffer b = new StringBuffer("Warning - using the Startup folder is deprecated. Found objects:"); // NOI18N
+ for (int i = 0; i < obj.length; i++) {
+ b.append(' '); // NOI18N
+ b.append(obj[i].getPrimaryFile().getPath());
+ }
+ err.log(ErrorManager.WARNING, b.toString());
+ }
ExecuteAction.execute(obj, true);
}
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.12
diff -u -r1.12 layer.xml
--- core/ide/src/org/netbeans/core/ide/resources/layer.xml 2 Nov 2002 21:06:33 -0000 1.12
+++ core/ide/src/org/netbeans/core/ide/resources/layer.xml 19 May 2003 15:42:55 -0000
@@ -8,7 +8,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-2003 Sun
Microsystems, Inc. All Rights Reserved.
-->
@@ -24,10 +24,6 @@
-
-
-
-
Index: core/src/org/netbeans/core/Bundle.properties
===================================================================
RCS file: /cvs/core/src/org/netbeans/core/Bundle.properties,v
retrieving revision 1.362
diff -u -r1.362 Bundle.properties
--- core/src/org/netbeans/core/Bundle.properties 6 May 2003 15:24:41 -0000 1.362
+++ core/src/org/netbeans/core/Bundle.properties 19 May 2003 15:42:55 -0000
@@ -89,8 +89,6 @@
CTL_Menu_hint=Provides access to the menu configuration.
CTL_Actions_name=Actions
CTL_Actions_hint=Provides access to all available actions.
-CTL_Startup_name=Startup
-CTL_Startup_hint=Contains items that are executed during IDE startup.
#FSPoolNode
CTL_FSPool_name=Filesystems Settings
@@ -535,7 +533,6 @@
Menu/Window=&Window
Menu/Help=&Help
Services/MIMEResolver=File Types
-Startup=Startup
Templates=Templates
Toolbars=Toolbars
Toolbars/Build=Build
Index: core/src/org/netbeans/core/ui/UINodes.java
===================================================================
RCS file: /cvs/core/src/org/netbeans/core/ui/UINodes.java,v
retrieving revision 1.8
diff -u -r1.8 UINodes.java
--- core/src/org/netbeans/core/ui/UINodes.java 5 Dec 2002 14:18:22 -0000 1.8
+++ core/src/org/netbeans/core/ui/UINodes.java 19 May 2003 15:42:55 -0000
@@ -44,8 +44,6 @@
private final static String templatesIconURL = "org/netbeans/core/resources/templates.gif"; // NOI18N
private final static String templatesIcon32URL = "org/netbeans/core/resources/templates32.gif"; // NOI18N
- private final static String startupIconURL = "org/netbeans/core/resources/startup.gif"; // NOI18N
- private final static String startupIcon32URL = "org/netbeans/core/resources/startup32.gif"; // NOI18N
private final static String objectTypesIconURL = "org/netbeans/core/resources/objectTypes.gif"; // NOI18N
private final static String objectTypesIcon32URL = "org/netbeans/core/resources/objectTypes32.gif"; // NOI18N
@@ -104,12 +102,6 @@
return new TemplatesNode ();
}
- /** Creates startup node.
- */
- public static Node createStartup () {
- return new StartupNode ();
- }
-
/** Creates object types node.
*/
public static Node createObjectTypes () {
@@ -207,39 +199,6 @@
return staticActions;
}
}
-
- /** Node representing startup folder */
- private static class StartupNode extends IconSubstituteNode {
- /** generated Serialized Version UID */
- static final long serialVersionUID = -8202001968004798680L;
-
- private static SystemAction[] staticActions;
-
- public StartupNode() {
- super (NbPlaces.getDefault().startup ().getNodeDelegate (), startupIconURL, startupIcon32URL);
- super.setDisplayName(bundle.getString("CTL_Startup_name"));
- super.setShortDescription(bundle.getString("CTL_Startup_hint"));
- }
-
- public HelpCtx getHelpCtx () {
- return new HelpCtx (StartupNode.class);
- }
-
- public SystemAction[] getActions () {
- if (staticActions == null) {
- staticActions = new SystemAction[] {
- SystemAction.get(PasteAction.class),
- null,
- SystemAction.get(ReorderAction.class),
- null,
- SystemAction.get(ToolsAction.class),
- SystemAction.get(PropertiesAction.class)
- };
- }
- return staticActions;
- }
- }
-
/** Node representing object types folder */
private static class ObjectTypesNode extends IconSubstituteNode {
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.44
diff -u -r1.44 layer.xml
--- core/ui/src/org/netbeans/core/ui/resources/layer.xml 9 May 2003 09:32:29 -0000 1.44
+++ core/ui/src/org/netbeans/core/ui/resources/layer.xml 19 May 2003 15:42:55 -0000
@@ -8,7 +8,7 @@
http://www.sun.com/
The Original Code is NetBeans. The Initial Developer of the Original
-Code is Sun Microsystems, Inc. Portions Copyright 1997-2002 Sun
+Code is Sun Microsystems, Inc. Portions Copyright 1997-2003 Sun
Microsystems, Inc. All Rights Reserved.
-->
@@ -583,11 +583,6 @@
-
-
-
-
-
Index: openide/api/doc/org/openide/modules/doc-files/api.html
===================================================================
RCS file: /cvs/openide/api/doc/org/openide/modules/doc-files/api.html,v
retrieving revision 1.88
diff -u -r1.88 api.html
--- openide/api/doc/org/openide/modules/doc-files/api.html 26 Feb 2003 06:09:43 -0000 1.88
+++ openide/api/doc/org/openide/modules/doc-files/api.html 19 May 2003 15:42:55 -0000
@@ -560,21 +560,6 @@
Create templates in the folder Templates/.
-Add a startup file to
-Startup/. It should be
-
-executable
-
-(typically a Java source file with associated classfile). Startup
-files should normally be executed when first added by an
-installed
method, and they will be automatically executed
-by the IDE every time it starts up (recompiling first if needed). They
-are generally intended to provide a way for users to customize some
-aspects of configuration using arbitrary code as an alternative to a
-module's restored()
method. (But if your configuration can
-be decently controlled using normal GUI settings than this should be done.
-Using the startup folder is mainly for expert users with complex needs.)
-
Other things such as bookmarks, Component Palette beans, Welcome
panel buttons, and so on - according to the
Index: usersguide/javahelp/org/netbeans/modules/usersguide/Map.jhm
===================================================================
RCS file: /cvs/usersguide/javahelp/org/netbeans/modules/usersguide/Map.jhm,v
retrieving revision 1.145
diff -u -r1.145 Map.jhm
--- usersguide/javahelp/org/netbeans/modules/usersguide/Map.jhm 25 Apr 2003 19:00:33 -0000 1.145
+++ usersguide/javahelp/org/netbeans/modules/usersguide/Map.jhm 19 May 2003 15:42:56 -0000
@@ -309,7 +309,6 @@
-
@@ -1505,7 +1504,6 @@
-
@@ -1618,7 +1616,6 @@
-
Index: usersguide/javahelp/org/netbeans/modules/usersguide/ide-idx.xml
===================================================================
RCS file: /cvs/usersguide/javahelp/org/netbeans/modules/usersguide/ide-idx.xml,v
retrieving revision 1.87
diff -u -r1.87 ide-idx.xml
--- usersguide/javahelp/org/netbeans/modules/usersguide/ide-idx.xml 5 May 2003 18:14:19 -0000 1.87
+++ usersguide/javahelp/org/netbeans/modules/usersguide/ide-idx.xml 19 May 2003 15:42:56 -0000
@@ -209,7 +209,6 @@
-
@@ -1175,7 +1174,6 @@
-
Index: usersguide/javahelp/org/netbeans/modules/usersguide/ide-toc.xml
===================================================================
RCS file: /cvs/usersguide/javahelp/org/netbeans/modules/usersguide/ide-toc.xml,v
retrieving revision 1.107
diff -u -r1.107 ide-toc.xml
--- usersguide/javahelp/org/netbeans/modules/usersguide/ide-toc.xml 25 Apr 2003 19:00:34 -0000 1.107
+++ usersguide/javahelp/org/netbeans/modules/usersguide/ide-toc.xml 19 May 2003 15:42:56 -0000
@@ -187,7 +187,6 @@
-
Index: usersguide/javahelp/org/netbeans/modules/usersguide/run/run_jump.html
===================================================================
RCS file: /cvs/usersguide/javahelp/org/netbeans/modules/usersguide/run/run_jump.html,v
retrieving revision 1.14
diff -u -r1.14 run_jump.html
--- usersguide/javahelp/org/netbeans/modules/usersguide/run/run_jump.html 27 Jan 2003 15:46:58 -0000 1.14
+++ usersguide/javahelp/org/netbeans/modules/usersguide/run/run_jump.html 19 May 2003 15:42:56 -0000
@@ -36,8 +36,6 @@
Specifying the Main Class to Run for a Project
-Running a Class When the IDE Starts
-
Running Java Sources in a Specific Locale
Legal Notices