Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Rennie2012-04-12 19:10:55 +0000
committerPaul Webster2012-04-16 18:09:45 +0000
commit0c2287b25d3d76d620025cecf8adbcf0f57b4742 (patch)
treecb75c0144551657cd4cc6a982a9f4a96dac65968
parent89540eee88979a5b5dd6cd6a03916a865186e670 (diff)
downloadeclipse.platform.ui-0c2287b25d3d76d620025cecf8adbcf0f57b4742.tar.gz
eclipse.platform.ui-0c2287b25d3d76d620025cecf8adbcf0f57b4742.tar.xz
eclipse.platform.ui-0c2287b25d3d76d620025cecf8adbcf0f57b4742.zip
the parent (Workbench) Shell
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/services/WorkbenchSourceProvider.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/services/WorkbenchSourceProvider.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/services/WorkbenchSourceProvider.java
index 1f8d3c07154..ebccbb84e7e 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/services/WorkbenchSourceProvider.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/services/WorkbenchSourceProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009 IBM Corporation and others.
+ * Copyright (c) 2009, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -676,14 +676,6 @@ public class WorkbenchSourceProvider extends AbstractSourceProvider implements
}
return;
}
-
- Shell theShell = (Shell) event.widget;
- if (theShell != null && theShell.getParent() != null)
- return;
-
- if (display.getActiveShell() != null && display.getActiveShell().getParent() != null)
- return;
-
if (DEBUG) {
logDebuggingInfo("\tWSP:lastActiveShell: " + lastActiveShell); //$NON-NLS-1$
logDebuggingInfo("\tWSP:lastActiveWorkbenchWindowShell" + lastActiveWorkbenchWindowShell); //$NON-NLS-1$

Back to the top