Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-12-20 01:56:14 -0500
committerUwe Stieber2012-12-20 01:56:14 -0500
commit8759e8304d98200d1192f52fcd516f8d4a37c6ff (patch)
treef8ec798f6e39855d1e692e4f3e48ef0c97eb6607
parent4493a64908becf8722dc83e0efcdc46bcd8e17d1 (diff)
downloadorg.eclipse.tcf-8759e8304d98200d1192f52fcd516f8d4a37c6ff.tar.gz
org.eclipse.tcf-8759e8304d98200d1192f52fcd516f8d4a37c6ff.tar.xz
org.eclipse.tcf-8759e8304d98200d1192f52fcd516f8d4a37c6ff.zip
Target Explorer: Update launchable expression to avoid forcing plugin activation and evaluate to false if o.e.debug.core is not active
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml26
1 files changed, 16 insertions, 10 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml
index 270c14761..d6124e733 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml
@@ -130,11 +130,14 @@
operator="and"
ifEmpty="false">
<and>
- <test
- forcePluginActivation="true"
- property="org.eclipse.debug.core.launchable"
- value="run">
- </test>
+ <and>
+ <with variable="org.eclipse.core.runtime.Platform">
+ <test property="org.eclipse.core.runtime.bundleState"
+ args="org.eclipse.debug.core"
+ value="ACTIVE"/>
+ </with>
+ <test property="org.eclipse.debug.core.launchable" value="run"/>
+ </and>
<test
forcePluginActivation="true"
property="org.eclipse.tcf.te.launch.core.isValidLaunchConfigType"
@@ -158,11 +161,14 @@
operator="and"
ifEmpty="false">
<and>
- <test
- forcePluginActivation="true"
- property="org.eclipse.debug.core.launchable"
- value="run">
- </test>
+ <and>
+ <with variable="org.eclipse.core.runtime.Platform">
+ <test property="org.eclipse.core.runtime.bundleState"
+ args="org.eclipse.debug.core"
+ value="ACTIVE"/>
+ </with>
+ <test property="org.eclipse.debug.core.launchable" value="run"/>
+ </and>
<test
forcePluginActivation="true"
property="org.eclipse.tcf.te.launch.core.isValidLaunchConfigType"

Back to the top