Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 455 Details for
Bug 10569
[Workbench] user specified titles for eclipse.exe windows
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Implements a title-suffix
eclipse-title.patch (text/plain), 2.72 KB, created by
David Corbin
on 2002-03-08 23:32:13 EST
(
hide
)
Description:
Implements a title-suffix
Filename:
MIME Type:
Creator:
David Corbin
Created:
2002-03-08 23:32:13 EST
Size:
2.72 KB
patch
obsolete
>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 {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10569
: 455