Bug 50323 [Workbench] Add a -showlabel "Workspace Label" startup option
I have different workspaces (Development, Testing, ProductionTest) and sometimes have to run them simultaneously. It would be nice to have a -showlabel "SomeLabel" startup option that displays the specified label on the workspace titlebar to distinguish the workspaces from each other, something similar to the -showlocation option that currently displays the workspace location.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
* @return the workspace location string, or <code>null</code> if
     * the location is not being shown
     */
    public String getWorkspaceLocation() {
        return workspaceLocation;
    }
    /**
     * @return the welcome perspective infos, or <code>null</code> if none
     * or if they should be ignored due to the new intro being present
     */
    public AboutInfo[] getWelcomePerspectiveInfos() {
        if (welcomePerspectiveInfos == null) {
            
            if (!hasIntro()) {
                Map m = getNewlyAddedBundleGroups();
                ArrayList list = new ArrayList(m.size());
                for (Iterator i = m.values().iterator(); i.hasNext();) {
                    AboutInfo info = (AboutInfo) i.next();
                    if (info != null && info.getWelcomePerspectiveId() != null
                            && info.getWelcomePageURL() != null)
                        list.add(info);
                }
                welcomePerspectiveInfos = new AboutInfo[list.size()];
                list.toArray(welcomePerspectiveInfos);
            }
        }
        return welcomePerspectiveInfos;
    }
}