summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMike Rennie2012-04-12 15:10:55 (EDT)
committer Paul Webster2012-04-16 14:09:45 (EDT)
commit0c2287b25d3d76d620025cecf8adbcf0f57b4742 (patch)
treecb75c0144551657cd4cc6a982a9f4a96dac65968
parent89540eee88979a5b5dd6cd6a03916a865186e670 (diff)
downloadeclipse.platform.ui-0c2287b25d3d76d620025cecf8adbcf0f57b4742.zip
eclipse.platform.ui-0c2287b25d3d76d620025cecf8adbcf0f57b4742.tar.gz
eclipse.platform.ui-0c2287b25d3d76d620025cecf8adbcf0f57b4742.tar.bz2
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 1f8d3c0..ebccbb8 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$