2006-04-10 21:04:06 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2007-04-24 12:26:57 +00:00
|
|
|
Copyright (c) 2006, 2007 IBM Corporation and others. All rights reserved.
|
2006-04-10 21:04:06 +00:00
|
|
|
This program and the accompanying materials are made available under the terms
|
|
|
|
of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
|
|
|
available at http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
|
|
|
|
Initial Contributors:
|
|
|
|
The following IBM employees contributed to the Remote System Explorer
|
|
|
|
component that contains this file: David McKnight, Kushal Munir,
|
|
|
|
Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson,
|
|
|
|
Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
|
|
|
|
|
|
|
|
Contributors:
|
2007-04-24 12:26:57 +00:00
|
|
|
Martin Oberhuber (Wind River) - [180519] declaratively register adapter factories
|
|
|
|
Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core
|
2007-05-14 08:10:07 +00:00
|
|
|
Martin Oberhuber (Wind River) - [186748] Move ISubSystemConfigurationAdapter from UI/rse.core.subsystems.util
|
2006-04-10 21:04:06 +00:00
|
|
|
-->
|
|
|
|
<?eclipse version="3.0"?>
|
|
|
|
<plugin>
|
|
|
|
|
2007-04-04 11:37:46 +00:00
|
|
|
<!-- ============================================ -->
|
|
|
|
<!-- Register Adapter Factories -->
|
|
|
|
<!-- ============================================ -->
|
|
|
|
|
|
|
|
<extension point="org.eclipse.core.runtime.adapters">
|
|
|
|
<!-- Remote Error -->
|
|
|
|
<factory
|
|
|
|
class="org.eclipse.rse.internal.shells.ui.view.SystemViewOutputAdapterFactory"
|
|
|
|
adaptableType="org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteError">
|
|
|
|
<adapter type="org.eclipse.rse.ui.view.ISystemViewElementAdapter"/>
|
2007-04-24 12:26:57 +00:00
|
|
|
<adapter type="org.eclipse.rse.core.subsystems.ISystemDragDropAdapter"/>
|
2007-04-04 11:37:46 +00:00
|
|
|
<adapter type="org.eclipse.rse.ui.view.ISystemRemoteElementAdapter"/>
|
|
|
|
<adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
|
|
|
|
<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
|
|
|
|
<adapter type="org.eclipse.ui.IActionFilter"/>
|
|
|
|
<!-- TODO Check: These are not in the adapter factories
|
|
|
|
getAdapterList() Although the adapter implements them
|
|
|
|
<adapter type="org.eclipse.ui.progress.IDeferredWorkbenchAdapter"/>
|
|
|
|
<adapter type="org.eclipse.rse.core.subsystems.IRemoteObjectIdentifier"/>
|
|
|
|
-->
|
|
|
|
</factory>
|
|
|
|
<!-- Remote Output -->
|
|
|
|
<factory
|
|
|
|
class="org.eclipse.rse.internal.shells.ui.view.SystemViewOutputAdapterFactory"
|
|
|
|
adaptableType="org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteOutput">
|
|
|
|
<adapter type="org.eclipse.rse.ui.view.ISystemViewElementAdapter"/>
|
2007-04-24 12:26:57 +00:00
|
|
|
<adapter type="org.eclipse.rse.core.subsystems.ISystemDragDropAdapter"/>
|
2007-04-04 11:37:46 +00:00
|
|
|
<adapter type="org.eclipse.rse.ui.view.ISystemRemoteElementAdapter"/>
|
|
|
|
<adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
|
|
|
|
<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
|
|
|
|
<adapter type="org.eclipse.ui.IActionFilter"/>
|
|
|
|
<!-- TODO Check: These are not in the adapter factories
|
|
|
|
getAdapterList() Although the adapter implements them
|
|
|
|
<adapter type="org.eclipse.ui.progress.IDeferredWorkbenchAdapter"/>
|
|
|
|
<adapter type="org.eclipse.rse.core.subsystems.IRemoteObjectIdentifier"/>
|
|
|
|
-->
|
|
|
|
</factory>
|
|
|
|
<!-- Remote Command Shell -->
|
|
|
|
<factory
|
|
|
|
class="org.eclipse.rse.internal.shells.ui.view.SystemViewOutputAdapterFactory"
|
|
|
|
adaptableType="org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCommandShell">
|
|
|
|
<adapter type="org.eclipse.rse.ui.view.ISystemViewElementAdapter"/>
|
2007-04-24 12:26:57 +00:00
|
|
|
<adapter type="org.eclipse.rse.core.subsystems.ISystemDragDropAdapter"/>
|
2007-04-04 11:37:46 +00:00
|
|
|
<adapter type="org.eclipse.rse.ui.view.ISystemRemoteElementAdapter"/>
|
|
|
|
<adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
|
|
|
|
<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
|
|
|
|
<adapter type="org.eclipse.ui.IActionFilter"/>
|
|
|
|
<!-- TODO Check: These are not in the adapter factories
|
|
|
|
getAdapterList() Although the adapter implements them
|
|
|
|
<adapter type="org.eclipse.ui.progress.IDeferredWorkbenchAdapter"/>
|
|
|
|
<adapter type="org.eclipse.rse.core.subsystems.IRemoteObjectIdentifier"/>
|
|
|
|
-->
|
|
|
|
</factory>
|
|
|
|
<!-- IShellServiceSubSystemConfiguration -->
|
|
|
|
<factory
|
|
|
|
class="org.eclipse.rse.internal.shells.ui.view.ShellServiceSubSystemConfigurationAdapterFactory"
|
|
|
|
adaptableType="org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.IShellServiceSubSystemConfiguration">
|
2007-05-14 08:10:07 +00:00
|
|
|
<adapter type="org.eclipse.rse.ui.subsystems.ISubSystemConfigurationAdapter"/>
|
2007-04-04 11:37:46 +00:00
|
|
|
</factory>
|
|
|
|
</extension>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<!-- Register Views -->
|
|
|
|
<!-- ============================================ -->
|
2006-04-10 21:04:06 +00:00
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.views">
|
|
|
|
<view
|
|
|
|
name="%View.RemoteCommands"
|
2006-06-29 22:35:35 +00:00
|
|
|
icon="icons/full/cview16/commands_view.gif"
|
2006-05-31 12:45:05 +00:00
|
|
|
category="org.eclipse.rse.ui.view"
|
2007-03-28 18:30:13 +00:00
|
|
|
class="org.eclipse.rse.internal.shells.ui.view.SystemCommandsViewPart"
|
2006-04-10 21:04:06 +00:00
|
|
|
id="org.eclipse.rse.shells.ui.view.commandsView">
|
|
|
|
</view>
|
|
|
|
</extension>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<!-- Define Workbench Properties Pages -->
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.propertyPages">
|
|
|
|
|
|
|
|
<page
|
|
|
|
name="%PropertyPage.EnvVariables"
|
2007-03-28 18:30:13 +00:00
|
|
|
class="org.eclipse.rse.internal.shells.ui.propertypages.EnvironmentVariablesPropertyPage"
|
2006-04-10 21:04:06 +00:00
|
|
|
id="org.eclipse.rse.shells.ui.propertypages.EnvironmentVariablesPropertyPage">
|
|
|
|
<!--
|
|
|
|
<filter name="envVarPP" value="true"/>
|
|
|
|
-->
|
2007-01-30 19:25:38 +00:00
|
|
|
<enabledWhen>
|
|
|
|
<instanceof value="org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCmdSubSystem"/>
|
|
|
|
</enabledWhen>
|
2006-04-10 21:04:06 +00:00
|
|
|
</page>
|
|
|
|
|
2007-03-22 10:49:56 +00:00
|
|
|
<page
|
|
|
|
name="%PropertyPage.ServerLauncherSettings"
|
2007-04-04 11:37:46 +00:00
|
|
|
class="org.eclipse.rse.internal.ui.propertypages.ServerLauncherPropertyPage"
|
2007-03-22 10:49:56 +00:00
|
|
|
id="org.eclipse.rse.ui.propertypages.serverLauncherPropertyPage">
|
|
|
|
<filter name="serverLaunchPP" value="true"/>
|
|
|
|
<enabledWhen>
|
|
|
|
<instanceof value="org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystem"/>
|
|
|
|
</enabledWhen>
|
|
|
|
</page>
|
|
|
|
<page
|
2006-04-10 21:04:06 +00:00
|
|
|
name="%PropertyPage.Service"
|
2007-03-28 18:30:13 +00:00
|
|
|
class="org.eclipse.rse.internal.shells.ui.propertypages.ShellServicesPropertyPage"
|
2006-04-10 21:04:06 +00:00
|
|
|
id="org.eclipse.rse.shells.ui.propertypages.ShellServicesPropertyPage">
|
2007-01-30 19:25:38 +00:00
|
|
|
<enabledWhen>
|
|
|
|
<instanceof value="org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystem"/>
|
|
|
|
</enabledWhen>
|
2006-04-10 21:04:06 +00:00
|
|
|
</page>
|
|
|
|
|
|
|
|
</extension>
|
|
|
|
|
|
|
|
|
|
|
|
<extension
|
2007-02-06 19:23:13 +00:00
|
|
|
point="org.eclipse.ui.popupMenus">
|
2006-04-10 21:04:06 +00:00
|
|
|
<objectContribution
|
2007-02-06 19:23:13 +00:00
|
|
|
objectClass="org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFile"
|
2006-04-10 21:04:06 +00:00
|
|
|
id="org.eclipse.rse.shells.ui.launch">
|
|
|
|
<visibility>
|
2007-04-24 23:26:35 +00:00
|
|
|
<and>
|
|
|
|
<objectState name="isdirectory" value="true"/>
|
|
|
|
<objectState name="isCommandSubSystemExists" value="true"/>
|
|
|
|
</and>
|
2006-04-10 21:04:06 +00:00
|
|
|
</visibility>
|
|
|
|
<action
|
|
|
|
label="%Launch_Shell"
|
2006-06-30 07:46:48 +00:00
|
|
|
icon="icons/full/obj16/systemshell.gif"
|
2006-04-10 21:04:06 +00:00
|
|
|
tooltip="%Launch_Shell_Tooltip"
|
2007-03-28 19:50:16 +00:00
|
|
|
class="org.eclipse.rse.internal.shells.ui.actions.LaunchShellActionDelegate"
|
2006-04-10 21:04:06 +00:00
|
|
|
enablesFor="1"
|
|
|
|
id="org.eclipse.rse.shells.ui.actions.LaunchShellActionDelegate">
|
|
|
|
</action>
|
2006-06-08 19:40:14 +00:00
|
|
|
<!--
|
|
|
|
<action
|
|
|
|
label="test command"
|
2006-06-30 07:46:48 +00:00
|
|
|
icon="icons/full/obj16/systemshell.gif"
|
2006-06-08 19:40:14 +00:00
|
|
|
tooltip="%Launch_Shell_Tooltip"
|
|
|
|
class="org.eclipse.rse.shells.ui.actions.LaunchCommandActionDelegate"
|
|
|
|
enablesFor="1"
|
|
|
|
id="org.eclipse.rse.shells.ui.actions.LaunchCommandActionDelegate">
|
|
|
|
</action>
|
|
|
|
-->
|
2006-04-10 21:04:06 +00:00
|
|
|
</objectContribution>
|
|
|
|
</extension>
|
|
|
|
|
2006-06-29 22:35:35 +00:00
|
|
|
</plugin>
|