Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2013-05-28 07:32:26 -0400
committerUwe Stieber2013-05-28 10:17:53 -0400
commit8223d317a31f959fc9264a82c310eed19ddf4c4a (patch)
tree272892c1cac2b7501953f13ae109d6999680d479
parent06181de18bb8065d094478fa3b1695ac6f828e9c (diff)
downloadorg.eclipse.tcf-8223d317a31f959fc9264a82c310eed19ddf4c4a.tar.gz
org.eclipse.tcf-8223d317a31f959fc9264a82c310eed19ddf4c4a.tar.xz
org.eclipse.tcf-8223d317a31f959fc9264a82c310eed19ddf4c4a.zip
Target Explorer: fix illegal thread access
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml852
1 files changed, 432 insertions, 420 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
index 86929ca6c..466f06ba2 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
@@ -1,420 +1,432 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension-point id="newWizards" name="%extension-point.newWizards.name" schema="schema/newWizards.exsd"/>
- <extension-point id="wizardProviders" name="%extension-point.wizardProviders.name" schema="schema/wizardProviders.exsd"/>
- <extension-point id="viewers" name="%extension-point.viewers.name" schema="schema/viewers.exsd"/>
- <extension-point id="cellEditors" name="%extension-point.cellEditors.name" schema="schema/cellEditors.exsd"/>
-
-<!-- View contributions -->
- <extension point="org.eclipse.ui.views">
- <category
- id="org.eclipse.tcf.te.ui.views.category"
- name="%ViewCategory.name">
- </category>
- </extension>
-
-<!-- New target wizard contributions -->
- <extension point="org.eclipse.tcf.te.ui.newWizards">
- <category
- id="org.eclipse.tcf.te.ui.newWizards.category.general"
- name="%NewWizards.category.name">
- </category>
- </extension>
-
-<!-- Command contributions -->
- <extension point="org.eclipse.ui.commands">
- <category
- id="org.eclipse.tcf.te.ui.commands.category"
- name="%command.category.name">
- </category>
-
- <command
- id="org.eclipse.tcf.te.ui.command.newWizards"
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- defaultHandler="org.eclipse.tcf.te.ui.wizards.newWizard.NewWizardCommandHandler"
- description="%command.newWizards.description"
- helpContextId="org.eclipse.tcf.te.ui.command_NewWizards"
- name="%command.newWizards.name">
- </command>
-
- <command
- id="org.eclipse.tcf.te.ui.command.refresh"
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- description="%command.refresh.description"
- helpContextId="org.eclipse.tcf.te.ui.command_Refresh"
- name="%command.refresh.name">
- </command>
-
- <command
- id="org.eclipse.tcf.te.ui.command.showConsoleView"
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- description="%command.showConsoleView.description"
- helpContextId="org.eclipse.tcf.te.ui.command_ShowConsoleView"
- name="%command.showConsoleView.name">
- </command>
-
- <command
- id="org.eclipse.tcf.te.ui.command.connect"
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.ui.command_Connect"
- description="%command.connect.description"
- name="%command.connect.name">
- </command>
-
- <command
- id="org.eclipse.tcf.te.ui.editor.command.connect"
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.ui.command_Connect"
- description="%command.connect.description"
- name="%command.connect.name">
- </command>
-
- <command
- id="org.eclipse.tcf.te.ui.command.disconnect"
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.ui.command_Disconnect"
- description="%command.disconnect.description"
- name="%command.disconnect.name">
- </command>
-
- <command
- id="org.eclipse.tcf.te.ui.editor.command.disconnect"
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.ui.command_Disconnect"
- description="%command.disconnect.description"
- name="%command.disconnect.name">
- </command>
- </extension>
-
-<!-- Command image contributions -->
- <extension point="org.eclipse.ui.commandImages">
- <image
- commandId="org.eclipse.tcf.te.ui.command.connect"
- disabledIcon="icons/dlcl16/connect.gif"
- icon="icons/elcl16/connect.gif">
- </image>
- <image
- commandId="org.eclipse.tcf.te.ui.editor.command.connect"
- disabledIcon="icons/dlcl16/connect.gif"
- icon="icons/elcl16/connect.gif">
- </image>
- <image
- commandId="org.eclipse.tcf.te.ui.command.disconnect"
- disabledIcon="icons/dlcl16/disconnect.gif"
- icon="icons/elcl16/disconnect.gif">
- </image>
- <image
- commandId="org.eclipse.tcf.te.ui.editor.command.disconnect"
- disabledIcon="icons/dlcl16/disconnect.gif"
- icon="icons/elcl16/disconnect.gif">
- </image>
- <image
- commandId="org.eclipse.tcf.te.ui.command.newWizards"
- disabledIcon="icons/dlcl16/newtarget_wiz.gif"
- icon="icons/elcl16/newtarget_wiz.gif">
- </image>
- <image
- commandId="org.eclipse.tcf.te.ui.command.refresh"
- disabledIcon="platform:/plugin/org.eclipse.ui/icons/full/dlcl16/refresh_nav.gif"
- icon="platform:/plugin/org.eclipse.ui/icons/full/elcl16/refresh_nav.gif">
- </image>
- </extension>
-
-<!-- Command handler contributions -->
- <extension point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.tcf.te.ui.handler.ShowConsoleViewCommandHandler"
- commandId="org.eclipse.tcf.te.ui.command.showConsoleView">
- </handler>
-
- <handler commandId="org.eclipse.tcf.te.ui.command.connect">
- <class class="org.eclipse.tcf.te.ui.handler.StepperCommandHandler">
- <parameter name="operation" value="connect"/>
- </class>
- <activeWhen>
- <with variable="systemManagerViewSelection">
- <iterate operator="and" ifEmpty="false">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.services.hasService"
- value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
- <not>
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
- value="connect"/>
- </not>
- <not>
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
- value="disconnect"/>
- </not>
- </adapt>
- </iterate>
- </with>
- </activeWhen>
- <enabledWhen>
- <with variable="systemManagerViewSelection">
- <count value="1"/>
- <iterate operator="and" ifEmpty="false">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isEnabled"
- value="connect"/>
- </adapt>
- </iterate>
- </with>
- </enabledWhen>
- </handler>
- <handler commandId="org.eclipse.tcf.te.ui.editor.command.connect">
- <class class="org.eclipse.tcf.te.ui.handler.StepperCommandHandler">
- <parameter name="operation" value="connect"/>
- </class>
- <activeWhen>
- <with variable="activeEditorInput">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.services.hasService"
- value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
- <not>
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
- value="connect"/>
- </not>
- <not>
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
- value="disconnect"/>
- </not>
- </adapt>
- </with>
- </activeWhen>
- <enabledWhen>
- <and>
- <with variable="activeEditor">
- <test property="org.eclipse.tcf.te.ui.views.isDirty" value="false"/>
- </with>
- <with variable="activeEditorInput">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isEnabled"
- value="connect"/>
- </adapt>
- </with>
- </and>
- </enabledWhen>
- </handler>
-
- <handler commandId="org.eclipse.tcf.te.ui.command.disconnect">
- <class class="org.eclipse.tcf.te.ui.handler.StepperCommandHandler">
- <parameter name="operation" value="disconnect"/>
- </class>
- <activeWhen>
- <with variable="systemManagerViewSelection">
- <iterate operator="and" ifEmpty="false">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.services.hasService"
- value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
- <not>
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
- value="connect"/>
- </not>
- <not>
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
- value="disconnect"/>
- </not>
- </adapt>
- </iterate>
- </with>
- </activeWhen>
- <enabledWhen>
- <with variable="systemManagerViewSelection">
- <count value="1"/>
- <iterate operator="and" ifEmpty="false">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isEnabled"
- value="disconnect"/>
- </adapt>
- </iterate>
- </with>
- </enabledWhen>
- </handler>
- <handler commandId="org.eclipse.tcf.te.ui.editor.command.disconnect">
- <class class="org.eclipse.tcf.te.ui.handler.StepperCommandHandler">
- <parameter name="operation" value="disconnect"/>
- </class>
- <activeWhen>
- <with variable="activeEditorInput">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.services.hasService"
- value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
- <not>
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
- value="connect"/>
- </not>
- <not>
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
- value="disconnect"/>
- </not>
- </adapt>
- </with>
- </activeWhen>
- <enabledWhen>
- <with variable="activeEditorInput">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isEnabled"
- value="disconnect"/>
- </adapt>
- </with>
- </enabledWhen>
- </handler>
-
- <handler commandId="org.eclipse.tcf.te.ui.command.disconnect">
- <class class="org.eclipse.tcf.te.ui.handler.CancelStepperCommandHandler">
- <parameter name="operation" value="connect"/>
- </class>
- <activeWhen>
- <with variable="systemManagerViewSelection">
- <iterate operator="and" ifEmpty="false">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunning"
- value="connect"/>
- </adapt>
- </iterate>
- </with>
- </activeWhen>
- <enabledWhen>
- <with variable="systemManagerViewSelection">
- <count value="1"/>
- <iterate operator="and" ifEmpty="false">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunning"
- value="connect"/>
- </adapt>
- </iterate>
- </with>
- </enabledWhen>
- </handler>
- <handler commandId="org.eclipse.tcf.te.ui.editor.command.disconnect">
- <class class="org.eclipse.tcf.te.ui.handler.CancelStepperCommandHandler">
- <parameter name="operation" value="connect"/>
- </class>
- <activeWhen>
- <with variable="activeEditorInput">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunning"
- value="connect"/>
- </adapt>
- </with>
- </activeWhen>
- <enabledWhen>
- <with variable="activeEditorInput">
- <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
- <test forcePluginActivation="true"
- property="org.eclipse.tcf.te.runtime.stepper.isRunning"
- value="connect"/>
- </adapt>
- </with>
- </enabledWhen>
- </handler>
- </extension>
-
-<!-- Context and binding contributions -->
- <extension point="org.eclipse.ui.contexts">
- <context
- description="%context.view.description"
- id="org.eclipse.tcf.te.ui.views.View"
- name="%context.view.name"
- parentId="org.eclipse.ui.contexts.window">
- </context>
- <context
- description="%context.editor.description"
- id="org.eclipse.tcf.te.ui.views.Editor"
- name="%context.editor.name"
- parentId="org.eclipse.ui.contexts.window">
- </context>
- </extension>
-
- <extension point="org.eclipse.ui.bindings">
- <key
- commandId="org.eclipse.tcf.te.ui.command.newWizards"
- contextId="org.eclipse.tcf.te.ui.views.View"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M1+N">
- </key>
-
- <key
- commandId="org.eclipse.tcf.te.ui.command.refresh"
- contextId="org.eclipse.tcf.te.ui.views.View"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="F5">
- </key>
-
- <key
- commandId="org.eclipse.tcf.te.ui.command.refresh"
- contextId="org.eclipse.tcf.te.ui.views.Editor"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="F5">
- </key>
- </extension>
-
-<!-- Status handler contributions -->
- <extension point="org.eclipse.tcf.te.runtime.statushandler.handlers">
- <handler
- class="org.eclipse.tcf.te.ui.statushandler.DefaultStatusHandler"
- id="org.eclipse.tcf.te.statushandler.default"
- label="%DefaultStatusHandler.label">
- </handler>
- </extension>
-
-<!-- Executor service contributions -->
- <extension point="org.eclipse.tcf.te.runtime.concurrent.executorServices">
- <executorService
- id="org.eclipse.tcf.te.ui.executors.SWTDisplay"
- label="Eclipse Platform Display Executor"
- class="org.eclipse.tcf.te.ui.internal.executors.SWTDisplayExecutor">
- </executorService>
- </extension>
-
-<!-- Executor utility delegate contributions -->
- <extension point="org.eclipse.tcf.te.runtime.concurrent.executorUtilDelegates">
- <executorUtilDelegate
- class="org.eclipse.tcf.te.ui.internal.executors.SWTDisplayExecutorUtilDelegate"
- id="org.eclipse.tcf.te.ui.executors.delegate.SWTDisplay"
- label="%SWTDisplayExecutorUtilDelegate.label">
- </executorUtilDelegate>
- </extension>
-
-<!-- Event listener contributions -->
- <extension point="org.eclipse.tcf.te.runtime.eventListeners">
- <eventListener class="org.eclipse.tcf.te.ui.events.TriggerCommandEventListener">
- <eventType class="org.eclipse.tcf.te.runtime.events.TriggerCommandEvent"/>
- </eventListener>
- </extension>
-
-<!-- Preference page contributions -->
- <extension point="org.eclipse.ui.preferencePages">
- <page
- class="org.eclipse.tcf.te.ui.preferences.PreferencePage"
- id="org.eclipse.tcf.te.ui.preferences.general"
- name="%preference.page.name">
- </page>
- </extension>
-
-<!-- Preference contributions -->
- <extension point="org.eclipse.core.runtime.preferences">
- <initializer class="org.eclipse.tcf.te.ui.preferences.PreferencesInitializer"/>
- </extension>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension-point id="newWizards" name="%extension-point.newWizards.name" schema="schema/newWizards.exsd"/>
+ <extension-point id="wizardProviders" name="%extension-point.wizardProviders.name" schema="schema/wizardProviders.exsd"/>
+ <extension-point id="viewers" name="%extension-point.viewers.name" schema="schema/viewers.exsd"/>
+ <extension-point id="cellEditors" name="%extension-point.cellEditors.name" schema="schema/cellEditors.exsd"/>
+
+<!-- View contributions -->
+ <extension point="org.eclipse.ui.views">
+ <category
+ id="org.eclipse.tcf.te.ui.views.category"
+ name="%ViewCategory.name">
+ </category>
+ </extension>
+
+<!-- New target wizard contributions -->
+ <extension point="org.eclipse.tcf.te.ui.newWizards">
+ <category
+ id="org.eclipse.tcf.te.ui.newWizards.category.general"
+ name="%NewWizards.category.name">
+ </category>
+ </extension>
+
+<!-- Command contributions -->
+ <extension point="org.eclipse.ui.commands">
+ <category
+ id="org.eclipse.tcf.te.ui.commands.category"
+ name="%command.category.name">
+ </category>
+
+ <command
+ id="org.eclipse.tcf.te.ui.command.newWizards"
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ defaultHandler="org.eclipse.tcf.te.ui.wizards.newWizard.NewWizardCommandHandler"
+ description="%command.newWizards.description"
+ helpContextId="org.eclipse.tcf.te.ui.command_NewWizards"
+ name="%command.newWizards.name">
+ </command>
+
+ <command
+ id="org.eclipse.tcf.te.ui.command.refresh"
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ description="%command.refresh.description"
+ helpContextId="org.eclipse.tcf.te.ui.command_Refresh"
+ name="%command.refresh.name">
+ </command>
+
+ <command
+ id="org.eclipse.tcf.te.ui.command.showConsoleView"
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ description="%command.showConsoleView.description"
+ helpContextId="org.eclipse.tcf.te.ui.command_ShowConsoleView"
+ name="%command.showConsoleView.name">
+ </command>
+
+ <command
+ id="org.eclipse.tcf.te.ui.command.connect"
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ helpContextId="org.eclipse.tcf.te.ui.command_Connect"
+ description="%command.connect.description"
+ name="%command.connect.name">
+ </command>
+
+ <command
+ id="org.eclipse.tcf.te.ui.editor.command.connect"
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ helpContextId="org.eclipse.tcf.te.ui.command_Connect"
+ description="%command.connect.description"
+ name="%command.connect.name">
+ </command>
+
+ <command
+ id="org.eclipse.tcf.te.ui.command.disconnect"
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ helpContextId="org.eclipse.tcf.te.ui.command_Disconnect"
+ description="%command.disconnect.description"
+ name="%command.disconnect.name">
+ </command>
+
+ <command
+ id="org.eclipse.tcf.te.ui.editor.command.disconnect"
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ helpContextId="org.eclipse.tcf.te.ui.command_Disconnect"
+ description="%command.disconnect.description"
+ name="%command.disconnect.name">
+ </command>
+ </extension>
+
+<!-- Command image contributions -->
+ <extension point="org.eclipse.ui.commandImages">
+ <image
+ commandId="org.eclipse.tcf.te.ui.command.connect"
+ disabledIcon="icons/dlcl16/connect.gif"
+ icon="icons/elcl16/connect.gif">
+ </image>
+ <image
+ commandId="org.eclipse.tcf.te.ui.editor.command.connect"
+ disabledIcon="icons/dlcl16/connect.gif"
+ icon="icons/elcl16/connect.gif">
+ </image>
+ <image
+ commandId="org.eclipse.tcf.te.ui.command.disconnect"
+ disabledIcon="icons/dlcl16/disconnect.gif"
+ icon="icons/elcl16/disconnect.gif">
+ </image>
+ <image
+ commandId="org.eclipse.tcf.te.ui.editor.command.disconnect"
+ disabledIcon="icons/dlcl16/disconnect.gif"
+ icon="icons/elcl16/disconnect.gif">
+ </image>
+ <image
+ commandId="org.eclipse.tcf.te.ui.command.newWizards"
+ disabledIcon="icons/dlcl16/newtarget_wiz.gif"
+ icon="icons/elcl16/newtarget_wiz.gif">
+ </image>
+ <image
+ commandId="org.eclipse.tcf.te.ui.command.refresh"
+ disabledIcon="platform:/plugin/org.eclipse.ui/icons/full/dlcl16/refresh_nav.gif"
+ icon="platform:/plugin/org.eclipse.ui/icons/full/elcl16/refresh_nav.gif">
+ </image>
+ </extension>
+
+<!-- Command handler contributions -->
+ <extension point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.tcf.te.ui.handler.ShowConsoleViewCommandHandler"
+ commandId="org.eclipse.tcf.te.ui.command.showConsoleView">
+ </handler>
+
+ <handler commandId="org.eclipse.tcf.te.ui.command.connect">
+ <class class="org.eclipse.tcf.te.ui.handler.StepperCommandHandler">
+ <parameter name="operation" value="connect"/>
+ </class>
+ <activeWhen>
+ <with variable="systemManagerViewSelection">
+ <iterate operator="and" ifEmpty="false">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.services.hasService"
+ value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
+ <not>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
+ value="connect"/>
+ </not>
+ <not>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
+ value="disconnect"/>
+ </not>
+ </adapt>
+ </iterate>
+ </with>
+ </activeWhen>
+ <enabledWhen>
+ <with variable="systemManagerViewSelection">
+ <count value="1"/>
+ <iterate operator="and" ifEmpty="false">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isEnabled"
+ value="connect"/>
+ </adapt>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
+ <handler commandId="org.eclipse.tcf.te.ui.editor.command.connect">
+ <class class="org.eclipse.tcf.te.ui.handler.StepperCommandHandler">
+ <parameter name="operation" value="connect"/>
+ </class>
+ <activeWhen>
+ <with variable="activeEditorInput">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.services.hasService"
+ value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
+ <not>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
+ value="connect"/>
+ </not>
+ <not>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
+ value="disconnect"/>
+ </not>
+ </adapt>
+ </with>
+ </activeWhen>
+ <enabledWhen>
+ <and>
+ <with variable="activeEditor">
+ <test property="org.eclipse.tcf.te.ui.views.isDirty" value="false"/>
+ </with>
+ <with variable="activeEditorInput">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isEnabled"
+ value="connect"/>
+ </adapt>
+ </with>
+ </and>
+ </enabledWhen>
+ </handler>
+
+ <handler commandId="org.eclipse.tcf.te.ui.command.disconnect">
+ <class class="org.eclipse.tcf.te.ui.handler.StepperCommandHandler">
+ <parameter name="operation" value="disconnect"/>
+ </class>
+ <activeWhen>
+ <with variable="systemManagerViewSelection">
+ <iterate operator="and" ifEmpty="false">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.services.hasService"
+ value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
+ <not>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
+ value="connect"/>
+ </not>
+ <not>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
+ value="disconnect"/>
+ </not>
+ </adapt>
+ </iterate>
+ </with>
+ </activeWhen>
+ <enabledWhen>
+ <with variable="systemManagerViewSelection">
+ <count value="1"/>
+ <iterate operator="and" ifEmpty="false">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isEnabled"
+ value="disconnect"/>
+ </adapt>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
+ <handler commandId="org.eclipse.tcf.te.ui.editor.command.disconnect">
+ <class class="org.eclipse.tcf.te.ui.handler.StepperCommandHandler">
+ <parameter name="operation" value="disconnect"/>
+ </class>
+ <activeWhen>
+ <with variable="activeEditorInput">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.services.hasService"
+ value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
+ <not>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
+ value="connect"/>
+ </not>
+ <not>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunningOrCanceled"
+ value="disconnect"/>
+ </not>
+ </adapt>
+ </with>
+ </activeWhen>
+ <enabledWhen>
+ <with variable="activeEditorInput">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isEnabled"
+ value="disconnect"/>
+ </adapt>
+ </with>
+ </enabledWhen>
+ </handler>
+
+ <handler commandId="org.eclipse.tcf.te.ui.command.disconnect">
+ <class class="org.eclipse.tcf.te.ui.handler.CancelStepperCommandHandler">
+ <parameter name="operation" value="connect"/>
+ </class>
+ <activeWhen>
+ <with variable="systemManagerViewSelection">
+ <iterate operator="and" ifEmpty="false">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.services.hasService"
+ value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunning"
+ value="connect"/>
+ </adapt>
+ </iterate>
+ </with>
+ </activeWhen>
+ <enabledWhen>
+ <with variable="systemManagerViewSelection">
+ <count value="1"/>
+ <iterate operator="and" ifEmpty="false">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.services.hasService"
+ value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunning"
+ value="connect"/>
+ </adapt>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
+ <handler commandId="org.eclipse.tcf.te.ui.editor.command.disconnect">
+ <class class="org.eclipse.tcf.te.ui.handler.CancelStepperCommandHandler">
+ <parameter name="operation" value="connect"/>
+ </class>
+ <activeWhen>
+ <with variable="activeEditorInput">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.services.hasService"
+ value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunning"
+ value="connect"/>
+ </adapt>
+ </with>
+ </activeWhen>
+ <enabledWhen>
+ <with variable="activeEditorInput">
+ <adapt type="org.eclipse.tcf.te.runtime.model.interfaces.IModelNode">
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.services.hasService"
+ value="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepperService"/>
+ <test forcePluginActivation="true"
+ property="org.eclipse.tcf.te.runtime.stepper.isRunning"
+ value="connect"/>
+ </adapt>
+ </with>
+ </enabledWhen>
+ </handler>
+ </extension>
+
+<!-- Context and binding contributions -->
+ <extension point="org.eclipse.ui.contexts">
+ <context
+ description="%context.view.description"
+ id="org.eclipse.tcf.te.ui.views.View"
+ name="%context.view.name"
+ parentId="org.eclipse.ui.contexts.window">
+ </context>
+ <context
+ description="%context.editor.description"
+ id="org.eclipse.tcf.te.ui.views.Editor"
+ name="%context.editor.name"
+ parentId="org.eclipse.ui.contexts.window">
+ </context>
+ </extension>
+
+ <extension point="org.eclipse.ui.bindings">
+ <key
+ commandId="org.eclipse.tcf.te.ui.command.newWizards"
+ contextId="org.eclipse.tcf.te.ui.views.View"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="M1+N">
+ </key>
+
+ <key
+ commandId="org.eclipse.tcf.te.ui.command.refresh"
+ contextId="org.eclipse.tcf.te.ui.views.View"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="F5">
+ </key>
+
+ <key
+ commandId="org.eclipse.tcf.te.ui.command.refresh"
+ contextId="org.eclipse.tcf.te.ui.views.Editor"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="F5">
+ </key>
+ </extension>
+
+<!-- Status handler contributions -->
+ <extension point="org.eclipse.tcf.te.runtime.statushandler.handlers">
+ <handler
+ class="org.eclipse.tcf.te.ui.statushandler.DefaultStatusHandler"
+ id="org.eclipse.tcf.te.statushandler.default"
+ label="%DefaultStatusHandler.label">
+ </handler>
+ </extension>
+
+<!-- Executor service contributions -->
+ <extension point="org.eclipse.tcf.te.runtime.concurrent.executorServices">
+ <executorService
+ id="org.eclipse.tcf.te.ui.executors.SWTDisplay"
+ label="Eclipse Platform Display Executor"
+ class="org.eclipse.tcf.te.ui.internal.executors.SWTDisplayExecutor">
+ </executorService>
+ </extension>
+
+<!-- Executor utility delegate contributions -->
+ <extension point="org.eclipse.tcf.te.runtime.concurrent.executorUtilDelegates">
+ <executorUtilDelegate
+ class="org.eclipse.tcf.te.ui.internal.executors.SWTDisplayExecutorUtilDelegate"
+ id="org.eclipse.tcf.te.ui.executors.delegate.SWTDisplay"
+ label="%SWTDisplayExecutorUtilDelegate.label">
+ </executorUtilDelegate>
+ </extension>
+
+<!-- Event listener contributions -->
+ <extension point="org.eclipse.tcf.te.runtime.eventListeners">
+ <eventListener class="org.eclipse.tcf.te.ui.events.TriggerCommandEventListener">
+ <eventType class="org.eclipse.tcf.te.runtime.events.TriggerCommandEvent"/>
+ </eventListener>
+ </extension>
+
+<!-- Preference page contributions -->
+ <extension point="org.eclipse.ui.preferencePages">
+ <page
+ class="org.eclipse.tcf.te.ui.preferences.PreferencePage"
+ id="org.eclipse.tcf.te.ui.preferences.general"
+ name="%preference.page.name">
+ </page>
+ </extension>
+
+<!-- Preference contributions -->
+ <extension point="org.eclipse.core.runtime.preferences">
+ <initializer class="org.eclipse.tcf.te.ui.preferences.PreferencesInitializer"/>
+ </extension>
+
+</plugin>

Back to the top