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/IDEWorkbenchWindowAdvisor.java
productName = product.getName();
            }
            if (productName == null) {
                message = IDEWorkbenchMessages.PromptOnExitDialog_message0;
            } else {
                message = NLS.bind(IDEWorkbenchMessages.PromptOnExitDialog_message1, productName);
            }
            MessageDialogWithToggle dlg = MessageDialogWithToggle
                    .openOkCancelConfirm(getWindowConfigurer().getWindow()
                            .getShell(), IDEWorkbenchMessages.PromptOnExitDialog_shellTitle,
                            message, IDEWorkbenchMessages.PromptOnExitDialog_choice,
                            false, null, null);
            if (dlg.getReturnCode() != IDialogConstants.OK_ID) {
                return false;
            }
            if (dlg.getToggleState()) {
                store
                        .setValue(
                                IDEInternalPreferences.EXIT_PROMPT_ON_CLOSE_LAST_WINDOW,
                                false);
                IDEWorkbenchPlugin.getDefault().savePluginPreferences();
            }
        }
        return true;
    }
    /* (non-Javadoc)
     * @see org.eclipse.ui.application.WorkbenchAdvisor#preWindowOpen
     */
    public void preWindowOpen() {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();