Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-11-04 11:13:56 -0500
committerUwe Stieber2013-11-04 11:19:00 -0500
commitf7783fb7a66710b21cf17ddf37977fcc27d78a73 (patch)
treee978a06b7e49195c28ddff4ee1d17f565a26ebda /target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/plugin.xml
parent72a6703f577922374bbac8b89ff4d8a81bedbf0e (diff)
downloadorg.eclipse.tcf-f7783fb7a66710b21cf17ddf37977fcc27d78a73.tar.gz
org.eclipse.tcf-f7783fb7a66710b21cf17ddf37977fcc27d78a73.tar.xz
org.eclipse.tcf-f7783fb7a66710b21cf17ddf37977fcc27d78a73.zip
Target Explorer: Several process monitor fixes
- Remove unused column comparator implementations - Remove "Properties" from context menu of process monitor editor page - Provide consistent "Show In > Properties" - Remove Alt+Shift+W shortcut definition from "Show In" (does not work)
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.xml66
1 files changed, 45 insertions, 21 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 f073f9d1a..367628a02 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
@@ -280,6 +280,25 @@
<menuContribution locationURI="popup:org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage?after=additions">
<separator
+ name="group.showIn"
+ visible="true">
+ </separator>
+ <menu
+ id="org.eclipse.tcf.te.launch.ui.editor.menu.showIn"
+ label="%ShowIn.menu.name">
+ <command
+ commandId="org.eclipse.tcf.te.ui.views.command.ShowInProperties"
+ id="org.eclipse.tcf.te.launch.ui.editor.commands.showInProperties"
+ icon="icons/eview16/prop_ps.gif"
+ label="%Properties.menu.name"
+ style="push">
+ <visibleWhen>
+ <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
+ </visibleWhen>
+ </command>
+ <visibleWhen checkEnabled="true"/>
+ </menu>
+ <separator
name="group.launch.rundebug"
visible="true">
</separator>
@@ -344,6 +363,15 @@
commandId="org.eclipse.tcf.te.ui.views.command.find"
label="%command.search.label"
style="push">
+ <visibleWhen checkEnabled="false">
+ <with variable="selection">
+ <iterate>
+ <adapt type="org.eclipse.tcf.te.ui.interfaces.ISearchable">
+ <instanceof value="org.eclipse.tcf.te.ui.interfaces.ISearchable"/>
+ </adapt>
+ </iterate>
+ </with>
+ </visibleWhen>
</command>
<separator
name="group.filter"
@@ -353,31 +381,31 @@
commandId="org.eclipse.tcf.te.ui.views.command.quickfilter"
label="%command.filter.label"
style="push">
+ <visibleWhen checkEnabled="false">
+ <with variable="selection">
+ <iterate>
+ <adapt type="org.eclipse.tcf.te.core.interfaces.IFilterable">
+ <instanceof value="org.eclipse.tcf.te.core.interfaces.IFilterable"/>
+ </adapt>
+ </iterate>
+ </with>
+ </visibleWhen>
</command>
<command
commandId="org.eclipse.tcf.te.ui.views.command.resetfilter"
label="%command.reset.label"
style="push">
- </command>
- <separator
- name="group.properties"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.ui.file.properties"
- id="properties"
- label="%command.properties.label.0">
- <visibleWhen>
+ <visibleWhen checkEnabled="false">
<with variable="selection">
- <count value="1"/>
- <iterate ifEmpty="false" operator="and">
- <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ <iterate>
+ <adapt type="org.eclipse.tcf.te.core.interfaces.IFilterable">
+ <instanceof value="org.eclipse.tcf.te.core.interfaces.IFilterable"/>
+ </adapt>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
-
</extension>
<!-- Command contributions -->
@@ -602,7 +630,6 @@
</viewer>
<columnContribution viewerId="org.eclipse.tcf.te.ui.controls.viewer.processes">
<column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.ProcessComparator"
id="name"
labelProvider="org.eclipse.tcf.te.tcf.processes.ui.navigator.runtime.LabelProviderDelegate"
moveable="true"
@@ -619,7 +646,6 @@
</activation>
</column>
<column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.PIDComparator"
id="pid"
labelProvider="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.PIDLabelProvider"
moveable="true"
@@ -636,7 +662,6 @@
</activation>
</column>
<column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.PPIDComparator"
id="ppid"
labelProvider="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.PPIDLabelProvider"
moveable="true"
@@ -653,7 +678,6 @@
</activation>
</column>
<column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.StateComparator"
id="state"
labelProvider="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.StateLabelProvider"
moveable="true"
@@ -670,7 +694,6 @@
</activation>
</column>
<column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.UserComparator"
id="user"
labelProvider="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.UserLabelProvider"
moveable="true"
@@ -687,7 +710,6 @@
</activation>
</column>
<column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.CommandLineComparator"
id="cmdline"
labelProvider="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.columns.CommandLineLabelProvider"
moveable="true"
@@ -714,7 +736,9 @@
name="%singlethreadfilter.name">
<activation>
<with variable="input">
- <test property="processMonitor.delegatedActivation.isFilterActive" args="singleThread" value="true"/>
+ <adapt type="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel">
+ <test property="processMonitor.delegatedActivation.isFilterActive" args="singleThread" value="true"/>
+ </adapt>
</with>
</activation>
</filter>

Back to the top