Blame eclipse-workspace-chooser.patch
|
|
f11858d |
From ba6d6b9708a06fa267240471407c239d02484821 Mon Sep 17 00:00:00 2001
|
|
|
f11858d |
From: Timo Kinnunen
|
|
|
f11858d |
Date: Fri, 7 Nov 2014 15:28:21 +0100
|
|
|
f11858d |
Subject: Fixed bug 429308: Make workspace selection dialog visible in the task
|
|
|
f11858d |
manager of the OS
|
|
|
f11858d |
|
|
|
f11858d |
Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
|
|
|
f11858d |
diff --git a/eclipse.platform.ui/bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEApplication.java b/bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEApplication.java
|
|
|
f11858d |
index 4797d2d..d88f57f 100644
|
|
|
f11858d |
--- a/eclipse.platform.ui/bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEApplication.java
|
|
|
f11858d |
+++ b/eclipse.platform.ui/bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEApplication.java
|
|
|
f11858d |
@@ -314,7 +314,12 @@ public class IDEApplication implements IApplication, IExecutableExtension {
|
|
|
f11858d |
URL url = null;
|
|
|
f11858d |
do {
|
|
|
f11858d |
// okay to use the shell now - this is the splash shell
|
|
|
f11858d |
- new ChooseWorkspaceDialog(shell, launchData, false, true).prompt(force);
|
|
|
f11858d |
+ new ChooseWorkspaceDialog(shell, launchData, false, true) {
|
|
|
f11858d |
+ @Override
|
|
|
f11858d |
+ protected Shell getParentShell() {
|
|
|
f11858d |
+ return null;
|
|
|
f11858d |
+ }
|
|
|
f11858d |
+ }.prompt(force);
|
|
|
f11858d |
String instancePath = launchData.getSelection();
|
|
|
f11858d |
if (instancePath == null) {
|
|
|
f11858d |
return null;
|
|
|
f11858d |
--
|
|
|
f11858d |
cgit v0.10.1-9-gd18e
|
|
|
f11858d |
|