Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2014-02-17 08:14:47 -0500
committerUwe Stieber2014-02-17 08:14:47 -0500
commit934d9414c83636d9cbcdf4c9e6bdc39798009c16 (patch)
tree9595ed0be03c8a0a2600740b39655b3a4c850889
parente85dc160eab51d269bcc33e2cfce9931b9b75d59 (diff)
downloadorg.eclipse.tcf-934d9414c83636d9cbcdf4c9e6bdc39798009c16.tar.gz
org.eclipse.tcf-934d9414c83636d9cbcdf4c9e6bdc39798009c16.tar.xz
org.eclipse.tcf-934d9414c83636d9cbcdf4c9e6bdc39798009c16.zip
Target Explorer: Initialize process runtime model only if process service is available for the connected target
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/plugin.xml22
1 files changed, 17 insertions, 5 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/plugin.xml
index f9eceaa20..b8b5144fd 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/plugin.xml
@@ -66,16 +66,28 @@
<!-- Step group contributions -->
<extension point="org.eclipse.tcf.te.runtime.stepper.stepGroups">
- <stepGroup
- id="org.eclipse.tcf.te.tcf.locator.connectStepGroup">
+ <stepGroup id="org.eclipse.tcf.te.tcf.locator.connectStepGroup">
<references>
<reference
id="org.eclipse.tcf.te.tcf.processes.core.initializeModelStep"
- insertAfter="org.eclipse.tcf.te.tcf.locator.connectNoAttachStepGroup"/>
+ insertAfter="org.eclipse.tcf.te.tcf.locator.connectNoAttachStepGroup">
+ <requires id="org.eclipse.tcf.te.tcf.locator.waitForReadyStepGroup"/>
+ <enablement>
+ <with variable="context">
+ <adapt type="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerNode">
+ <or>
+ <test property="org.eclipse.tcf.te.tcf.locator.hasRemoteService" value="Processes"/>
+ <test property="org.eclipse.tcf.te.tcf.locator.hasRemoteService" value="ProcessesV1"/>
+ </or>
+ <test property="org.eclipse.tcf.te.tcf.locator.hasRemoteService" value="SysMonitor"/>
+ </adapt>
+ </with>
+ </enablement>
+ </reference>
</references>
</stepGroup>
- <stepGroup
- id="org.eclipse.tcf.te.tcf.locator.disconnectStepGroup">
+
+ <stepGroup id="org.eclipse.tcf.te.tcf.locator.disconnectStepGroup">
<references>
<reference
id="org.eclipse.tcf.te.tcf.processes.core.disposeModelStep"

Back to the top