Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-08-30 02:30:21 -0400
committerUwe Stieber2012-08-30 03:53:57 -0400
commitc20d113ec54c9ec737a2972ff63bbdd015103a56 (patch)
tree4a49e6a38e027989b3eb2895de64bb955ae6959c /target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/plugin.xml
parent4ea5a7690c1cdc07b5b1ffaa8bdd7b3db65299e5 (diff)
downloadorg.eclipse.tcf-c20d113ec54c9ec737a2972ff63bbdd015103a56.tar.gz
org.eclipse.tcf-c20d113ec54c9ec737a2972ff63bbdd015103a56.tar.xz
org.eclipse.tcf-c20d113ec54c9ec737a2972ff63bbdd015103a56.zip
Target Explorer: Reworked Process Monitor to use new process model
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.xml1450
1 files changed, 669 insertions, 781 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 6e8d8fa3b..e30d80c21 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
@@ -1,781 +1,669 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-
-<!-- Adapter factory contributions -->
- <extension point="org.eclipse.core.runtime.adapters">
- <factory
- adaptableType="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode"
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.adapters.AdapterFactory">
- <adapter type="org.eclipse.jface.viewers.ILabelProvider"/>
- <adapter type="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
- <adapter
- type="org.eclipse.tcf.te.ui.interfaces.ILazyLoader">
- </adapter>
- <adapter
- type="org.eclipse.tcf.te.ui.interfaces.ISearchable">
- </adapter>
- </factory>
- </extension>
-
-<!-- Editor page contributions -->
- <extension point="org.eclipse.tcf.te.ui.views.editorPages">
- <editorPage
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.pages.ProcessMonitorEditorPage"
- icon="icons/obj16/process_root.gif"
- id="org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage"
- name="%ProcessExplorerEditorPage.name">
- </editorPage>
- </extension>
-
-<!-- Editor page binding contributions -->
- <extension point="org.eclipse.tcf.te.ui.views.editorPageBindings">
- <editorPageBinding
- id="org.eclipse.tcf.te.tcf.processes.ui.binding.ProcessExplorerEditorPage"
- pageId="org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage">
- <enablement>
- <with variable="activeEditorInput">
- <and>
- <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
- <test property="org.eclipse.tcf.te.tcf.locator.hasRemoteService" value="Processes"/>
- </and>
- </with>
- </enablement>
- </editorPageBinding>
- </extension>
-
-<!-- Processes menu contributions -->
- <extension point="org.eclipse.ui.menus">
-
- <menuContribution locationURI="toolbar:org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage?before=additions">
- <command
- commandId="org.eclipse.tcf.te.tcf.processes.ui.command.refreshViewer"
- icon="icons/obj16/refresh.gif"
- label="%command.refresh.label"
- style="push"
- tooltip="%command.refresh.tooltip">
- </command>
- <command
- commandId="org.eclipse.tcf.te.tcf.processes.ui.command.refreshInterval"
- icon="icons/obj16/refresh_interval.png"
- id="org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage.refreshInterval"
- label="%command.configure.label"
- style="pulldown"
- tooltip="%command.configure.tooltip">
- </command>
- </menuContribution>
-
- <menuContribution locationURI="menu:org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage.refreshInterval">
- <dynamic
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.handler.ConfigIntervalDynamicContribution"
- id="org.eclipse.tcf.te.tcf.processes.ui.menu.refreshIntervalDynamic">
- </dynamic>
- </menuContribution>
-
- <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.launch.rundebug">
- <command
- commandId="org.eclipse.tcf.te.launch.command.attach"
- disabledIcon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/dlcl16/attach.gif"
- icon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/elcl16/attach.gif"
- id="org.eclipse.tcf.te.tcf.processes.ui.commands.attach"
- label="%command.attach.label"
- style="push"
- tooltip="%command.attach.tooltip">
- <visibleWhen checkEnabled="false">
- <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
- </visibleWhen>
- </command>
-
- <command
- commandId="org.eclipse.tcf.te.launch.command.detach"
- disabledIcon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/dlcl16/detach.gif"
- icon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/elcl16/detach.gif"
- id="org.eclipse.tcf.te.tcf.processes.ui.commands.detach"
- label="%command.detach.label"
- style="push"
- tooltip="%command.detach.tooltip">
- <visibleWhen checkEnabled="false">
- <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
- </visibleWhen>
- </command>
- <command
- commandId="org.eclipse.tcf.te.launch.command.terminate"
- icon="platform:/plugin/org.eclipse.debug.ui/icons/full/elcl16/terminate_co.gif"
- id="org.eclipse.tcf.te.launch.menu.terminate"
- label="%command.terminate.label"
- style="push"
- tooltip="%command.terminate.tooltip">
- <visibleWhen
- checkEnabled="false">
- <reference
- definitionId="te.expressions.processes.isProcessTreeNode">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
-
- <menuContribution
- locationURI="popup:org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage?after=additions">
- <separator
- name="group.launch.rundebug"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.tcf.te.launch.command.attach"
- disabledIcon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/dlcl16/attach.gif"
- icon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/elcl16/attach.gif"
- id="org.eclipse.tcf.te.tcf.processes.ui.commands.attach"
- label="%command.attach.label"
- style="push"
- tooltip="%command.attach.tooltip">
- <visibleWhen
- checkEnabled="false">
- <reference
- definitionId="te.expressions.processes.isProcessTreeNode">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="org.eclipse.tcf.te.launch.command.detach"
- disabledIcon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/dlcl16/detach.gif"
- icon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/elcl16/detach.gif"
- id="org.eclipse.tcf.te.tcf.processes.ui.commands.detach"
- label="%command.detach.label"
- style="push"
- tooltip="%command.detach.tooltip">
- <visibleWhen
- checkEnabled="false">
- <reference
- definitionId="te.expressions.processes.isProcessTreeNode">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="org.eclipse.tcf.te.launch.command.terminate"
- icon="platform:/plugin/org.eclipse.debug.ui/icons/full/elcl16/terminate_co.gif"
- id="org.eclipse.tcf.te.launch.menu.terminate"
- label="%command.terminate.label"
- style="push"
- tooltip="%command.terminate.tooltip">
- <visibleWhen
- checkEnabled="false">
- <reference
- definitionId="te.expressions.processes.isProcessTreeNode">
- </reference>
- </visibleWhen>
- </command>
- <separator
- name="group.refresh"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.tcf.te.ui.command.refresh"
- label="%command.refresh.label.1"
- style="push"
- tooltip="%command.refresh.tooltip.1">
- <visibleWhen
- checkEnabled="false">
- <with
- variable="selection">
- <count
- value="+">
- </count>
- <iterate
- ifEmpty="false"
- operator="and">
- <instanceof
- value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </instanceof>
- </iterate>
- </with>
- </visibleWhen>
- </command>
- <separator
- name="group.search"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.tcf.te.ui.views.command.find"
- label="%command.search.label"
- style="push">
- </command>
- <separator
- name="group.filter"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.tcf.te.ui.views.command.quickfilter"
- label="%command.filter.label"
- style="push">
- </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>
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate
- ifEmpty="false"
- operator="and">
- <and>
- <instanceof
- value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </instanceof>
- <not>
- <test
- property="org.eclipse.tcf.te.tcf.processes.ui.model.isSystemRoot">
- </test>
- </not>
- </and>
- </iterate>
- </with>
- </visibleWhen>
- </command>
- </menuContribution>
- <menuContribution
- locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.properties">
- <command
- commandId="org.eclipse.ui.file.properties"
- id="properties"
- label="%command.properties.label.1">
- <visibleWhen>
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate
- ifEmpty="false"
- operator="and">
- <and>
- <instanceof
- value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </instanceof>
- <not>
- <test
- property="org.eclipse.tcf.te.tcf.processes.ui.model.isSystemRoot">
- </test>
- </not>
- </and>
- </iterate>
- </with>
- </visibleWhen>
- </command>
- </menuContribution>
- <menuContribution
- locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.refresh">
- <command
- commandId="org.eclipse.tcf.te.ui.command.refresh"
- label="%command.refresh.label.1"
- style="push"
- tooltip="%command.refresh.tooltip.1">
- <visibleWhen
- checkEnabled="false">
- <with
- variable="selection">
- <count
- value="+">
- </count>
- <iterate
- ifEmpty="false"
- operator="and">
- <instanceof
- value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </instanceof>
- </iterate>
- </with>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
-
-<!-- Command contributions -->
- <extension point="org.eclipse.ui.commands">
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.tcf.processes.ui.command_Refresh"
- id="org.eclipse.tcf.te.tcf.processes.ui.command.refreshViewer"
- name="%command.refresh.name">
- </command>
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.tcf.processes.ui.command_RefreshInterval"
- id="org.eclipse.tcf.te.tcf.processes.ui.command.refreshInterval"
- name="%command.configure.name">
- </command>
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.launch.command_erminate"
- id="org.eclipse.tcf.te.launch.command.terminate"
- name="%command.terminate.name">
- </command>
- </extension>
-
-<!-- Handler contributions -->
- <extension point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.handler.RefreshProcessListHandler"
- commandId="org.eclipse.tcf.te.tcf.processes.ui.command.refreshViewer">
- </handler>
-
- <handler
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.handler.ConfigRefreshIntervalHandler"
- commandId="org.eclipse.tcf.te.tcf.processes.ui.command.refreshInterval">
- </handler>
-
- <handler
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.handler.AttachHandler"
- commandId="org.eclipse.tcf.te.launch.command.attach">
- <activeWhen>
- <and>
- <with variable="activePartId">
- <or>
- <equals
- value="org.eclipse.tcf.te.ui.views.View">
- </equals>
- <equals
- value="org.eclipse.tcf.te.ui.views.Editor">
- </equals>
- </or>
- </with>
- <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
- </and>
- </activeWhen>
- <enabledWhen>
- <with variable="selection">
- <count value="+"/>
- <iterate operator="and" ifEmpty="false">
- <adapt type="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- <test property="org.eclipse.tcf.te.tcf.processes.ui.model.isAttached" value="false"/>
- </adapt>
- </iterate>
- </with>
- </enabledWhen>
- </handler>
-
- <handler
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.handler.DetachHandler"
- commandId="org.eclipse.tcf.te.launch.command.detach">
- <activeWhen>
- <and>
- <with variable="activePartId">
- <or>
- <equals
- value="org.eclipse.tcf.te.ui.views.View">
- </equals>
- <equals
- value="org.eclipse.tcf.te.ui.views.Editor">
- </equals>
- </or>
- </with>
- <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
- </and>
- </activeWhen>
- <enabledWhen>
- <with variable="selection">
- <count value="+"/>
- <iterate operator="and" ifEmpty="false">
- <adapt type="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- <test property="org.eclipse.tcf.te.tcf.processes.ui.model.isAttached" value="true"/>
- </adapt>
- </iterate>
- </with>
- </enabledWhen>
- </handler>
- <handler
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.handler.TerminateHandler"
- commandId="org.eclipse.tcf.te.launch.command.terminate">
- <activeWhen>
- <and>
- <with
- variable="activePartId">
- <or>
- <equals
- value="org.eclipse.tcf.te.ui.views.View">
- </equals>
- <equals
- value="org.eclipse.tcf.te.ui.views.Editor">
- </equals>
- </or>
- </with>
- <reference
- definitionId="te.expressions.processes.isProcessTreeNode">
- </reference>
- </and>
- </activeWhen>
- <enabledWhen>
- <with
- variable="selection">
- <count
- value="+">
- </count>
- <iterate
- ifEmpty="false"
- operator="and">
- <adapt
- type="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </adapt>
- </iterate>
- </with>
- </enabledWhen>
- </handler>
- <handler
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.handler.RefreshHandler"
- commandId="org.eclipse.tcf.te.ui.command.refresh">
- <activeWhen>
- <and>
- <with
- variable="activePartId">
- <or>
- <equals
- value="org.eclipse.tcf.te.ui.views.View">
- </equals>
- <equals
- value="org.eclipse.tcf.te.ui.views.Editor">
- </equals>
- </or>
- </with>
- <with
- variable="selection">
- <iterate
- ifEmpty="false"
- operator="and">
- <instanceof
- value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </instanceof>
- </iterate>
- </with>
- </and>
- </activeWhen>
- <enabledWhen>
- <with
- variable="selection">
- <count
- value="+">
- </count>
- <iterate
- ifEmpty="false"
- operator="and">
- <instanceof
- value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </instanceof>
- </iterate>
- </with>
- </enabledWhen>
- </handler>
- </extension>
-
-<!-- Reusable core expression fragments -->
- <extension point="org.eclipse.core.expressions.definitions">
-
- <!--
- Expression to test if the selection contains single process tree nodes only.
- -->
- <definition id="te.expressions.processes.isProcessTreeNode">
- <with variable="selection">
- <count value="+"/>
- <iterate operator="and" ifEmpty="false">
- <and>
- <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode"/>
- <adapt type="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel">
- <test
- property="org.eclipse.tcf.te.tcf.locator.hasRemoteService"
- value="Processes">
- </test>
- </adapt>
- </and>
- </iterate>
- </with>
- </definition>
-
- </extension>
-
-<!-- Eclipse core expressions property tester -->
-
- <extension point="org.eclipse.tcf.te.ui.viewers">
- <viewer
- autoExpandLevel="0"
- contentProvider="org.eclipse.tcf.te.tcf.processes.ui.controls.ProcessTreeContentProvider"
- id="org.eclipse.tcf.te.ui.controls.viewer.processes"
- persistent="true">
- <creation>
- <style
- name="SWT.FULL_SELECTION">
- </style>
- <style
- name="SWT.MULTI">
- </style>
- </creation>
- </viewer>
- <columnContribution
- viewerId="org.eclipse.tcf.te.ui.controls.viewer.processes">
- <column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.ProcessComparator"
- id="name"
- labelProvider="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.ProcessLabelProvider"
- moveable="true"
- name="%column.name.name"
- resizable="true"
- visible="true"
- width="250">
- </column>
- <column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.PIDComparator"
- id="pid"
- labelProvider="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.PIDLabelProvider"
- moveable="true"
- name="%column.name.pid"
- resizable="true"
- style="SWT.RIGHT"
- visible="true"
- width="50">
- </column>
- <column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.PPIDComparator"
- id="ppid"
- labelProvider="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.PPIDLabelProvider"
- moveable="true"
- name="%column.name.ppid"
- resizable="true"
- style="SWT.RIGHT"
- visible="true"
- width="50">
- </column>
- <column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.StateComparator"
- id="state"
- labelProvider="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.StateLabelProvider"
- moveable="true"
- name="%column.name.state"
- resizable="true"
- style="SWT.RIGHT"
- visible="true"
- width="50">
- </column>
- <column
- comparator="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.UserComparator"
- id="user"
- labelProvider="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.UserLabelProvider"
- moveable="true"
- name="%column.name.user"
- resizable="true"
- style="SWT.RIGHT"
- visible="true"
- width="100">
- </column>
- </columnContribution>
- <filterContribution
- viewerId="org.eclipse.tcf.te.ui.controls.viewer.processes">
- <filter
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.filters.SingleThreadFilter"
- description="%singlethreadfilter.description"
- enabled="true"
- id="org.eclipse.tcf.te.tcf.processes.ui.navigator.filter.singleThread"
- name="%singlethreadfilter.name">
- </filter>
- </filterContribution>
- </extension>
-
- <extension point="org.eclipse.ui.navigator.navigatorContent">
- <navigatorContent
- activeByDefault="false"
- contentProvider="org.eclipse.tcf.te.tcf.processes.ui.controls.ProcessNavigatorContentProvider"
- icon="icons/obj16/process_root.gif"
- id="org.eclipse.tcf.te.tcf.processes.ui.navigator.content"
- labelProvider="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.ProcessLabelProvider"
- name="%navigatorContent.name"
- priority="normal">
- <triggerPoints>
- <instanceof
- value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel">
- </instanceof>
- <test
- property="org.eclipse.tcf.te.tcf.locator.hasRemoteService"
- value="SysMonitor">
- </test>
- </triggerPoints>
- <possibleChildren>
- <instanceof
- value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </instanceof>
- </possibleChildren>
- <commonSorter
- class="org.eclipse.tcf.te.tcf.processes.ui.controls.ProcessViewerSorter">
- </commonSorter>
- </navigatorContent>
- <commonFilter
- activeByDefault="true"
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.filters.SingleThreadFilter"
- id="org.eclipse.tcf.te.tcf.processes.ui.navigator.filter.singleThread"
- name="%commonFilter.singlethread.name"
- visibleInUI="false">
- </commonFilter>
- </extension>
-
- <extension point="org.eclipse.ui.navigator.viewer">
- <viewerContentBinding
- viewerId="org.eclipse.tcf.te.ui.views.View">
- <includes>
- <contentExtension
- pattern="org.eclipse.tcf.te.tcf.processes.ui.navigator.*">
- </contentExtension>
- </includes>
- </viewerContentBinding>
- </extension>
-
- <extension point="org.eclipse.core.runtime.preferences">
- <initializer class="org.eclipse.tcf.te.tcf.processes.ui.internal.preferences.PreferencesInitializer"/>
- </extension>
-
- <extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
- <propertyTabs
- contributorId="org.eclipse.tcf.te.ui">
- <propertyTab
- category="org.eclipse.tcf.te"
- id="org.eclipse.tcf.te.tcf.processes.ui.propertytab.general"
- label="%propertyTab.general.label">
- </propertyTab>
- <propertyTab
- afterTab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.general"
- category="org.eclipse.tcf.te"
- id="org.eclipse.tcf.te.tcf.processes.ui.propertytab.context"
- label="%propertyTab.context.label">
- </propertyTab>
- <propertyTab
- afterTab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.context"
- category="org.eclipse.tcf.te"
- id="org.eclipse.tcf.te.tcf.processes.ui.propertytab.advanced"
- label="%propertyTab.advanced.label">
- </propertyTab>
- </propertyTabs>
- </extension>
-
- <extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
- <propertySections
- contributorId="org.eclipse.tcf.te.ui">
- <propertySection
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.BasicInformationSection"
- enablesFor="1"
- filter="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.ProcessFilter"
- id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.general.basic"
- tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.general">
- </propertySection>
- <propertySection
- afterSection="org.eclipse.tcf.te.tcf.processes.ui.propertysection.general.basic"
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.IDSection"
- enablesFor="1"
- filter="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.ProcessFilter"
- id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.general.id"
- tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.general">
- </propertySection>
- <propertySection
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.BasicContextSection"
- enablesFor="1"
- filter="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.ProcessFilter"
- id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.context.basicContext"
- tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.context">
- </propertySection>
- <propertySection
- afterSection="org.eclipse.tcf.te.tcf.processes.ui.propertysection.context.basicContext"
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.ContextIDSection"
- enablesFor="1"
- filter="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.ProcessFilter"
- id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.context.contextId"
- tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.context">
- </propertySection>
- <propertySection
- afterSection="org.eclipse.tcf.te.tcf.processes.ui.propertysection.context.contextId"
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.MemorySection"
- enablesFor="1"
- filter="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.ProcessFilter"
- id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.context.memory"
- tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.context">
- </propertySection>
- <propertySection
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.AdvancedPropertiesSection"
- enablesFor="1"
- filter="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.ProcessFilter"
- id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.advanced"
- tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.advanced">
- </propertySection>
- </propertySections>
- </extension>
- <extension
- point="org.eclipse.ui.propertyPages">
- <page
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.properties.AdvancedPropertiesPage"
- id="org.eclipse.tcf.te.tcf.processes.ui.pages.advanced"
- name="%page.properties.name">
- <enabledWhen>
- <and>
- <instanceof
- value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </instanceof>
- <not>
- <test
- property="org.eclipse.tcf.te.tcf.processes.ui.model.isSystemRoot">
- </test>
- </not>
- </and>
- </enabledWhen>
- </page>
- <page
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.properties.ContextPage"
- id="org.eclipse.tcf.te.tcf.processes.ui.pages.context"
- name="%page.context.name">
- <enabledWhen>
- <and>
- <instanceof
- value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </instanceof>
- <not>
- <test
- property="org.eclipse.tcf.te.tcf.processes.ui.model.isSystemRoot">
- </test>
- </not>
- </and>
- </enabledWhen>
- </page>
- <page
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.properties.GeneralInformationPage"
- id="org.eclipse.tcf.te.tcf.processes.ui.pages.basic"
- name="%page.basic.name">
- <enabledWhen>
- <and>
- <instanceof
- value="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </instanceof>
- <not>
- <test
- property="org.eclipse.tcf.te.tcf.processes.ui.model.isSystemRoot">
- </test>
- </not>
- </and>
- </enabledWhen>
- </page>
- </extension>
- <extension
- point="org.eclipse.core.expressions.propertyTesters">
- <propertyTester
- class="org.eclipse.tcf.te.tcf.processes.ui.internal.testers.ProcessPropertyTester"
- id="org.eclipse.tcf.te.tcf.processes.ui.propertytester.process"
- namespace="org.eclipse.tcf.te.tcf.processes.ui.model"
- properties="isSystemRoot, isAttached"
- type="org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode">
- </propertyTester>
- </extension>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+
+<!-- Adapter factory contributions -->
+ <extension point="org.eclipse.core.runtime.adapters">
+ <factory
+ adaptableType="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.adapters.AdapterFactory">
+ <adapter type="org.eclipse.jface.viewers.ILabelProvider"/>
+ <adapter type="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
+ <adapter type="org.eclipse.tcf.te.ui.interfaces.ISearchable"/>
+ </factory>
+
+ <factory
+ adaptableType="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.runtime.IRuntimeModel"
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.adapters.AdapterFactory">
+ <adapter type="org.eclipse.tcf.te.ui.interfaces.ISearchable"/>
+ </factory>
+ </extension>
+
+<!-- Event listener contributions -->
+ <extension point="org.eclipse.tcf.te.runtime.eventListeners">
+ <eventListener
+ class="org.eclipse.tcf.te.tcf.processes.ui.navigator.events.EventListener">
+ <eventSourceType
+ bundleId="org.eclipse.tcf.te.tcf.processes.core"
+ class="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.runtime.IRuntimeModel">
+ </eventSourceType>
+ <eventSourceType
+ bundleId="org.eclipse.tcf.te.tcf.processes.core"
+ class="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode">
+ </eventSourceType>
+ </eventListener>
+ </extension>
+
+<!-- Eclipse core expressions property tester -->
+ <extension point="org.eclipse.core.expressions.propertyTesters">
+ <propertyTester
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.testers.ProcessPropertyTester"
+ id="org.eclipse.tcf.te.tcf.processes.ui.propertytester.process"
+ namespace="org.eclipse.tcf.te.tcf.processes.ui.model"
+ properties="isAttached"
+ type="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode">
+ </propertyTester>
+ </extension>
+
+<!-- Common navigator contributions -->
+ <extension point="org.eclipse.ui.navigator.viewer">
+ <viewerContentBinding
+ viewerId="org.eclipse.tcf.te.ui.views.View">
+ <includes>
+ <contentExtension
+ pattern="org.eclipse.tcf.te.tcf.processes.ui.navigator.*">
+ </contentExtension>
+ </includes>
+ </viewerContentBinding>
+ </extension>
+
+ <extension point="org.eclipse.ui.navigator.navigatorContent">
+ <navigatorContent
+ activeByDefault="false"
+ contentProvider="org.eclipse.tcf.te.tcf.processes.ui.navigator.runtime.ContentProviderDelegate"
+ icon="icons/obj16/process_root.gif"
+ id="org.eclipse.tcf.te.tcf.processes.ui.navigator.content"
+ labelProvider="org.eclipse.tcf.te.tcf.processes.ui.navigator.runtime.LabelProviderDelegate"
+ name="%navigatorContent.name"
+ priority="normal">
+
+ <triggerPoints>
+ <or>
+ <and>
+ <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
+ <and>
+ <test property="org.eclipse.tcf.te.tcf.locator.hasRemoteService" value="Processes"/>
+ <test property="org.eclipse.tcf.te.tcf.locator.hasRemoteService" value="SysMonitor"/>
+ </and>
+ </and>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.runtime.IRuntimeModel"/>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IPendingOperationNode"/>
+ </or>
+ </triggerPoints>
+ <possibleChildren>
+ <or>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.runtime.IRuntimeModel"/>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IPendingOperationNode"/>
+ </or>
+ </possibleChildren>
+ <commonSorter
+ class="org.eclipse.tcf.te.ui.trees.TreeViewerSorter">
+ </commonSorter>
+ </navigatorContent>
+ <commonFilter
+ activeByDefault="true"
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.filters.SingleThreadFilter"
+ id="org.eclipse.tcf.te.tcf.processes.ui.navigator.filter.singleThread"
+ name="%commonFilter.singlethread.name"
+ visibleInUI="false">
+ </commonFilter>
+ </extension>
+
+<!-- Editor page contributions -->
+ <extension point="org.eclipse.tcf.te.ui.views.editorPages">
+ <editorPage
+ class="org.eclipse.tcf.te.tcf.processes.ui.editor.ProcessMonitorEditorPage"
+ icon="icons/obj16/process_root.gif"
+ id="org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage"
+ name="%ProcessExplorerEditorPage.name">
+ </editorPage>
+ </extension>
+
+<!-- Editor page binding contributions -->
+ <extension point="org.eclipse.tcf.te.ui.views.editorPageBindings">
+ <editorPageBinding
+ id="org.eclipse.tcf.te.tcf.processes.ui.binding.ProcessExplorerEditorPage"
+ pageId="org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage">
+ <enablement>
+ <with variable="activeEditorInput">
+ <and>
+ <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
+ <and>
+ <test property="org.eclipse.tcf.te.tcf.locator.hasRemoteService" value="Processes"/>
+ <test property="org.eclipse.tcf.te.tcf.locator.hasRemoteService" value="SysMonitor"/>
+ </and>
+ </and>
+ </with>
+ </enablement>
+ </editorPageBinding>
+ </extension>
+
+<!-- Processes menu contributions -->
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.launch.rundebug">
+ <command
+ commandId="org.eclipse.tcf.te.launch.command.attach"
+ disabledIcon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/dlcl16/attach.gif"
+ icon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/elcl16/attach.gif"
+ id="org.eclipse.tcf.te.tcf.processes.ui.commands.attach"
+ label="%command.attach.label"
+ style="push"
+ tooltip="%command.attach.tooltip">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
+ </visibleWhen>
+ </command>
+
+ <command
+ commandId="org.eclipse.tcf.te.launch.command.detach"
+ disabledIcon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/dlcl16/detach.gif"
+ icon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/elcl16/detach.gif"
+ id="org.eclipse.tcf.te.tcf.processes.ui.commands.detach"
+ label="%command.detach.label"
+ style="push"
+ tooltip="%command.detach.tooltip">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
+ </visibleWhen>
+ </command>
+
+ <command
+ commandId="org.eclipse.tcf.te.launch.command.terminate"
+ icon="platform:/plugin/org.eclipse.debug.ui/icons/full/elcl16/terminate_co.gif"
+ id="org.eclipse.tcf.te.launch.menu.terminate"
+ label="%command.terminate.label"
+ style="push"
+ tooltip="%command.terminate.tooltip">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+
+ <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.refresh">
+ <command
+ commandId="org.eclipse.tcf.te.ui.command.refresh"
+ id="org.eclipse.tcf.te.ui.commands.refresh"
+ label="%command.refresh.label"
+ mnemonic="f"
+ style="push"
+ tooltip="%command.refresh.tooltip">
+ <visibleWhen checkEnabled="false">
+ <with variable="selection">
+ <count value="+"/>
+ <iterate operator="and" ifEmpty="false">
+ <or>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.runtime.IRuntimeModel"/>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </or>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+
+ <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.properties">
+ <command
+ commandId="org.eclipse.ui.file.properties"
+ id="properties"
+ label="%command.properties.label.1">
+ <visibleWhen>
+ <with variable="selection">
+ <count value="1"/>
+ <iterate ifEmpty="false" operator="and">
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+
+ <menuContribution locationURI="toolbar:org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage?before=additions">
+ <command
+ commandId="org.eclipse.tcf.te.tcf.processes.ui.command.refreshViewer"
+ icon="icons/obj16/refresh.gif"
+ label="%command.refreshviewer.label"
+ style="push"
+ tooltip="%command.refreshviewer.tooltip">
+ </command>
+ <command
+ commandId="org.eclipse.tcf.te.tcf.processes.ui.command.refreshInterval"
+ icon="icons/obj16/refresh_interval.png"
+ id="org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage.refreshInterval"
+ label="%command.configure.label"
+ style="pulldown"
+ tooltip="%command.configure.tooltip">
+ </command>
+ </menuContribution>
+
+ <menuContribution locationURI="menu:org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage.refreshInterval">
+ <dynamic
+ class="org.eclipse.tcf.te.tcf.processes.ui.handler.ConfigIntervalDynamicContribution"
+ id="org.eclipse.tcf.te.tcf.processes.ui.menu.refreshIntervalDynamic">
+ </dynamic>
+ </menuContribution>
+
+ <menuContribution locationURI="popup:org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage?after=additions">
+ <separator
+ name="group.launch.rundebug"
+ visible="true">
+ </separator>
+ <command
+ commandId="org.eclipse.tcf.te.launch.command.attach"
+ disabledIcon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/dlcl16/attach.gif"
+ icon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/elcl16/attach.gif"
+ id="org.eclipse.tcf.te.tcf.processes.ui.commands.attach"
+ label="%command.attach.label"
+ style="push"
+ tooltip="%command.attach.tooltip">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.tcf.te.launch.command.detach"
+ disabledIcon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/dlcl16/detach.gif"
+ icon="platform:/plugin/org.eclipse.tcf.te.launch.ui/icons/elcl16/detach.gif"
+ id="org.eclipse.tcf.te.tcf.processes.ui.commands.detach"
+ label="%command.detach.label"
+ style="push"
+ tooltip="%command.detach.tooltip">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.tcf.te.launch.command.terminate"
+ icon="platform:/plugin/org.eclipse.debug.ui/icons/full/elcl16/terminate_co.gif"
+ id="org.eclipse.tcf.te.launch.menu.terminate"
+ label="%command.terminate.label"
+ style="push"
+ tooltip="%command.terminate.tooltip">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="te.expressions.processes.isProcessTreeNode"/>
+ </visibleWhen>
+ </command>
+ <separator
+ name="group.refresh"
+ visible="true">
+ </separator>
+ <command
+ commandId="org.eclipse.tcf.te.ui.command.refresh"
+ label="%command.refresh.label"
+ style="push"
+ tooltip="%command.refresh.tooltip">
+ <visibleWhen checkEnabled="false">
+ <with variable="selection">
+ <count value="+"/>
+ <iterate ifEmpty="false" operator="and">
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
+ <separator
+ name="group.search"
+ visible="true">
+ </separator>
+ <command
+ commandId="org.eclipse.tcf.te.ui.views.command.find"
+ label="%command.search.label"
+ style="push">
+ </command>
+ <separator
+ name="group.filter"
+ visible="true">
+ </separator>
+ <command
+ commandId="org.eclipse.tcf.te.ui.views.command.quickfilter"
+ label="%command.filter.label"
+ style="push">
+ </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>
+ <with variable="selection">
+ <count value="1"/>
+ <iterate ifEmpty="false" operator="and">
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+
+ </extension>
+
+<!-- Command contributions -->
+ <extension point="org.eclipse.ui.commands">
+ <command
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ helpContextId="org.eclipse.tcf.te.tcf.processes.ui.command_Refresh"
+ id="org.eclipse.tcf.te.tcf.processes.ui.command.refreshViewer"
+ name="%command.refreshviewer.name">
+ </command>
+ <command
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ helpContextId="org.eclipse.tcf.te.tcf.processes.ui.command_RefreshInterval"
+ id="org.eclipse.tcf.te.tcf.processes.ui.command.refreshInterval"
+ name="%command.configure.name">
+ </command>
+ <command
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ helpContextId="org.eclipse.tcf.te.launch.command_erminate"
+ id="org.eclipse.tcf.te.launch.command.terminate"
+ name="%command.terminate.name">
+ </command>
+ </extension>
+
+<!-- Handler contributions -->
+ <extension point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.tcf.te.tcf.processes.ui.handler.RefreshProcessListHandler"
+ commandId="org.eclipse.tcf.te.tcf.processes.ui.command.refreshViewer">
+ </handler>
+
+ <handler
+ class="org.eclipse.tcf.te.tcf.processes.ui.handler.ConfigRefreshIntervalHandler"
+ commandId="org.eclipse.tcf.te.tcf.processes.ui.command.refreshInterval">
+ </handler>
+
+ <handler
+ class="org.eclipse.tcf.te.tcf.processes.ui.handler.AttachHandler"
+ commandId="org.eclipse.tcf.te.launch.command.attach">
+ <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">
+ <test property="org.eclipse.tcf.te.tcf.processes.ui.model.isAttached" value="false"/>
+ </adapt>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
+
+ <handler
+ class="org.eclipse.tcf.te.tcf.processes.ui.handler.DetachHandler"
+ commandId="org.eclipse.tcf.te.launch.command.detach">
+ <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">
+ <test property="org.eclipse.tcf.te.tcf.processes.ui.model.isAttached" value="true"/>
+ </adapt>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
+ <handler
+ class="org.eclipse.tcf.te.tcf.processes.ui.handler.TerminateHandler"
+ commandId="org.eclipse.tcf.te.launch.command.terminate">
+ <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 ifEmpty="false" operator="and">
+ <adapt type="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode">
+ </adapt>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
+
+ <handler
+ class="org.eclipse.tcf.te.tcf.processes.ui.handler.RefreshHandler"
+ commandId="org.eclipse.tcf.te.ui.command.refresh">
+ <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 ifEmpty="false" operator="and">
+ <or>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.runtime.IRuntimeModel"/>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </or>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
+ </extension>
+
+<!-- Reusable core expression fragments -->
+ <extension point="org.eclipse.core.expressions.definitions">
+
+ <!--
+ Expression to test if the selection contains single process tree nodes only.
+ -->
+ <definition id="te.expressions.processes.isProcessTreeNode">
+ <with variable="selection">
+ <count value="+"/>
+ <iterate operator="and" ifEmpty="false">
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </iterate>
+ </with>
+ </definition>
+
+ </extension>
+
+<!-- Column viewer contributions -->
+ <extension point="org.eclipse.tcf.te.ui.viewers">
+ <viewer
+ autoExpandLevel="0"
+ contentProvider="org.eclipse.tcf.te.tcf.processes.ui.editor.tree.ContentProvider"
+ id="org.eclipse.tcf.te.ui.controls.viewer.processes"
+ persistent="true">
+ <creation>
+ <style name="SWT.FULL_SELECTION"/>
+ <style name="SWT.MULTI"/>
+ </creation>
+ </viewer>
+ <columnContribution viewerId="org.eclipse.tcf.te.ui.controls.viewer.processes">
+ <column
+ comparator="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.ProcessComparator"
+ id="name"
+ labelProvider="org.eclipse.tcf.te.tcf.processes.ui.navigator.runtime.LabelProviderDelegate"
+ moveable="true"
+ name="%column.name.name"
+ resizable="true"
+ visible="true"
+ width="250">
+ </column>
+ <column
+ comparator="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.PIDComparator"
+ id="pid"
+ labelProvider="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.PIDLabelProvider"
+ moveable="true"
+ name="%column.name.pid"
+ resizable="true"
+ style="SWT.RIGHT"
+ visible="true"
+ width="50">
+ </column>
+ <column
+ comparator="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.PPIDComparator"
+ id="ppid"
+ labelProvider="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.PPIDLabelProvider"
+ moveable="true"
+ name="%column.name.ppid"
+ resizable="true"
+ style="SWT.RIGHT"
+ visible="true"
+ width="50">
+ </column>
+ <column
+ comparator="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.StateComparator"
+ id="state"
+ labelProvider="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.StateLabelProvider"
+ moveable="true"
+ name="%column.name.state"
+ resizable="true"
+ style="SWT.RIGHT"
+ visible="true"
+ width="50">
+ </column>
+ <column
+ comparator="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.UserComparator"
+ id="user"
+ labelProvider="org.eclipse.tcf.te.tcf.processes.ui.internal.columns.UserLabelProvider"
+ moveable="true"
+ name="%column.name.user"
+ resizable="true"
+ style="SWT.RIGHT"
+ visible="true"
+ width="100">
+ </column>
+ </columnContribution>
+ <filterContribution
+ viewerId="org.eclipse.tcf.te.ui.controls.viewer.processes">
+ <filter
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.filters.SingleThreadFilter"
+ description="%singlethreadfilter.description"
+ enabled="true"
+ id="org.eclipse.tcf.te.tcf.processes.ui.navigator.filter.singleThread"
+ name="%singlethreadfilter.name">
+ </filter>
+ </filterContribution>
+ </extension>
+
+<!-- Preference contributions -->
+ <extension point="org.eclipse.core.runtime.preferences">
+ <initializer class="org.eclipse.tcf.te.tcf.processes.ui.internal.preferences.PreferencesInitializer"/>
+ </extension>
+
+<!-- Tabbed properties view contributions -->
+ <extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
+ <propertyTabs contributorId="org.eclipse.tcf.te.ui">
+ <propertyTab
+ category="org.eclipse.tcf.te"
+ id="org.eclipse.tcf.te.tcf.processes.ui.propertytab.general"
+ label="%propertyTab.general.label">
+ </propertyTab>
+ <propertyTab
+ afterTab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.general"
+ category="org.eclipse.tcf.te"
+ id="org.eclipse.tcf.te.tcf.processes.ui.propertytab.context"
+ label="%propertyTab.context.label">
+ </propertyTab>
+ <propertyTab
+ afterTab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.context"
+ category="org.eclipse.tcf.te"
+ id="org.eclipse.tcf.te.tcf.processes.ui.propertytab.advanced"
+ label="%propertyTab.advanced.label">
+ </propertyTab>
+ </propertyTabs>
+ </extension>
+
+ <extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
+ <propertySections contributorId="org.eclipse.tcf.te.ui">
+ <propertySection
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.BasicInformationSection"
+ enablesFor="1"
+ id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.general.basic"
+ tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.general">
+ <input type="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </propertySection>
+ <propertySection
+ afterSection="org.eclipse.tcf.te.tcf.processes.ui.propertysection.general.basic"
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.IDSection"
+ enablesFor="1"
+ id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.general.id"
+ tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.general">
+ <input type="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </propertySection>
+ <propertySection
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.BasicContextSection"
+ enablesFor="1"
+ id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.context.basicContext"
+ tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.context">
+ <input type="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </propertySection>
+ <propertySection
+ afterSection="org.eclipse.tcf.te.tcf.processes.ui.propertysection.context.basicContext"
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.ContextIDSection"
+ enablesFor="1"
+ id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.context.contextId"
+ tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.context">
+ <input type="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </propertySection>
+ <propertySection
+ afterSection="org.eclipse.tcf.te.tcf.processes.ui.propertysection.context.contextId"
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.MemorySection"
+ enablesFor="1"
+ id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.context.memory"
+ tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.context">
+ <input type="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </propertySection>
+ <propertySection
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.tabbed.AdvancedPropertiesSection"
+ enablesFor="1"
+ id="org.eclipse.tcf.te.tcf.processes.ui.propertysection.advanced"
+ tab="org.eclipse.tcf.te.tcf.processes.ui.propertytab.advanced">
+ <input type="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </propertySection>
+ </propertySections>
+ </extension>
+
+<!-- Property page contributions -->
+ <extension point="org.eclipse.ui.propertyPages">
+ <page
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.properties.AdvancedPropertiesPage"
+ id="org.eclipse.tcf.te.tcf.processes.ui.pages.advanced"
+ name="%page.properties.name">
+ <enabledWhen>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </enabledWhen>
+ </page>
+ <page
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.properties.ContextPage"
+ id="org.eclipse.tcf.te.tcf.processes.ui.pages.context"
+ name="%page.context.name">
+ <enabledWhen>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </enabledWhen>
+ </page>
+ <page
+ class="org.eclipse.tcf.te.tcf.processes.ui.internal.properties.GeneralInformationPage"
+ id="org.eclipse.tcf.te.tcf.processes.ui.pages.basic"
+ name="%page.basic.name">
+ <enabledWhen>
+ <instanceof value="org.eclipse.tcf.te.tcf.processes.core.model.interfaces.IProcessContextNode"/>
+ </enabledWhen>
+ </page>
+ </extension>
+
+</plugin>

Back to the top