Index: src/org/eclipse/core/internal/boot/InternalBootLoader.java =================================================================== RCS file: /home/eclipse/org.eclipse.core.boot/src/org/eclipse/core/internal/boot/InternalBootLoader.java,v retrieving revision 1.21 diff -u -r1.21 InternalBootLoader.java --- src/org/eclipse/core/internal/boot/InternalBootLoader.java 7 Feb 2002 16:03:12 -0000 1.21 +++ src/org/eclipse/core/internal/boot/InternalBootLoader.java 9 Mar 2002 04:28:55 -0000 @@ -35,6 +35,7 @@ private static String[] commandLine; private static ClassLoader loader = null; private static String baseLocation = null; + private static String titleSuffix = ""; private static String applicationR10 = null; // R1.0 compatibility private static URL installURL = null; private static boolean debugRequested = false; @@ -104,6 +105,7 @@ private static final String DATA = "-data"; private static final String DEV = "-dev"; private static final String WS = "-ws"; + private static final String TITLE = "-title"; private static final String OS = "-os"; private static final String ARCH = "-arch"; private static final String NL = "-nl"; @@ -472,6 +474,12 @@ /** * @see BootLoader */ +public static String getTitleSuffix() { + return titleSuffix; +} +/** + * @see BootLoader + */ public static String getWS() { return ws; } @@ -679,6 +687,11 @@ found = true; if (baseLocation == null) baseLocation = arg; + } + + if (args[i-1].equalsIgnoreCase(TITLE)) { + found = true; + titleSuffix = arg; } // look for the window system. Index: Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java =================================================================== RCS file: /home/eclipse/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java,v retrieving revision 1.22 diff -u -r1.22 WorkbenchWindow.java --- Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java 8 Mar 2002 23:20:03 -0000 1.22 +++ Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java 9 Mar 2002 04:29:12 -0000 @@ -7,6 +7,7 @@ import org.eclipse.core.resources.*; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.internal.boot.InternalBootLoader; import org.eclipse.ui.*; import org.eclipse.ui.help.*; import org.eclipse.ui.internal.registry.*; @@ -1096,7 +1097,7 @@ label = currentPage.getLabel(); title = WorkbenchMessages.format("WorkbenchWindow.shellTitle", new Object[] {label, title}); //$NON-NLS-1$ } - getShell().setText(title); + getShell().setText(title+" "+InternalBootLoader.getTitleSuffix()); } class PageList {