Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2013-10-01 02:11:23 -0400
committerTobias Schwarz2013-10-01 02:11:23 -0400
commitbedf64eb4e7cfe04d157755ba5008683dc890397 (patch)
tree36ac27a469d3fb9951afc42b281d3164aa3c1b0a /target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/plugin.xml
parenta5320a73826441b664ffe070a993b30de4e8a301 (diff)
downloadorg.eclipse.tcf-bedf64eb4e7cfe04d157755ba5008683dc890397.tar.gz
org.eclipse.tcf-bedf64eb4e7cfe04d157755ba5008683dc890397.tar.xz
org.eclipse.tcf-bedf64eb4e7cfe04d157755ba5008683dc890397.zip
Target Explorer: add "Del" key to terminate a process
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/plugin.xml')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/plugin.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/plugin.xml
index 301589175..fd27be258 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/plugin.xml
@@ -509,6 +509,31 @@
</with>
</enabledWhen>
</handler>
+ <handler
+ class="org.eclipse.tcf.te.tcf.processes.ui.handler.TerminateHandler"
+ commandId="org.eclipse.ui.edit.delete">
+ <activeWhen>
+ <with variable="activePartId">
+ <or>
+ <equals value="org.eclipse.tcf.te.ui.views.View"/>
+ <equals value="org.eclipse.tcf.te.ui.views.Editor"/>
+ </or>
+ </with>
+ </activeWhen>
+ <enabledWhen>
+ <with variable="selection">
+ <count value="+"/>
+ <iterate operator="and" ifEmpty="false">
+ <adapt type="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode">
+ <and>
+ <test property="org.eclipse.tcf.te.tcf.processes.core.hasProcessContext" value="true"/>
+ <test property="org.eclipse.tcf.te.tcf.processes.core.canTerminate" value="true"/>
+ </and>
+ </adapt>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
<handler
class="org.eclipse.tcf.te.tcf.processes.ui.handler.RefreshHandler"

Back to the top