Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-09-21 07:54:51 -0400
committerUwe Stieber2012-09-21 07:54:51 -0400
commiteb7c913f69ce1e99bca24117d1e71d547309ff41 (patch)
treecc2d1d0b669fb7b10e09b703b3758a1069ca5961 /target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core
parent60b715a4f3d12d9ba6bb99fd93b7d20ce3b78be0 (diff)
downloadorg.eclipse.tcf-eb7c913f69ce1e99bca24117d1e71d547309ff41.tar.gz
org.eclipse.tcf-eb7c913f69ce1e99bca24117d1e71d547309ff41.tar.xz
org.eclipse.tcf-eb7c913f69ce1e99bca24117d1e71d547309ff41.zip
Target Explorer: Improve adaptable matching and selectionChanged handling on refresh of the System Manager tree
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/adapters/StepContextAdapter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/adapters/StepContextAdapter.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/adapters/StepContextAdapter.java
index fe207d802..3c613e9da 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/adapters/StepContextAdapter.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/adapters/StepContextAdapter.java
@@ -150,11 +150,11 @@ public class StepContextAdapter extends PlatformObject implements IStepContext {
return launch;
}
- if (ILaunchConfiguration.class.equals(adapter)) {
+ if (ILaunchConfiguration.class.isAssignableFrom(adapter)) {
return launch.getLaunchConfiguration();
}
- if (ILaunchConfigurationType.class.equals(adapter)) {
+ if (ILaunchConfigurationType.class.isAssignableFrom(adapter)) {
try {
return launch.getLaunchConfiguration().getType();
}

Back to the top