diff options
author | Tobias Schwarz | 2013-10-01 06:11:23 +0000 |
---|---|---|
committer | Tobias Schwarz | 2013-10-01 06:11:23 +0000 |
commit | bedf64eb4e7cfe04d157755ba5008683dc890397 (patch) | |
tree | 36ac27a469d3fb9951afc42b281d3164aa3c1b0a | |
parent | a5320a73826441b664ffe070a993b30de4e8a301 (diff) | |
download | org.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
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/plugin.xml | 25 |
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" |