1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 04:55:22 +02:00
cdt/rse/plugins/org.eclipse.rse.shells.ui/plugin.xml

170 lines
7.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2006, 2007 IBM Corporation and others. All rights reserved.
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:
Martin Oberhuber (Wind River) - [180519] declaratively register adapter factories
Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core
Martin Oberhuber (Wind River) - [186748] Move ISubSystemConfigurationAdapter from UI/rse.core.subsystems.util
-->
<?eclipse version="3.0"?>
<plugin>
<!-- ============================================ -->
<!-- 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"/>
<adapter type="org.eclipse.rse.core.subsystems.ISystemDragDropAdapter"/>
<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"/>
<adapter type="org.eclipse.rse.core.subsystems.ISystemDragDropAdapter"/>
<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"/>
<adapter type="org.eclipse.rse.core.subsystems.ISystemDragDropAdapter"/>
<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">
<adapter type="org.eclipse.rse.ui.subsystems.ISubSystemConfigurationAdapter"/>
</factory>
</extension>
<!-- ============================================ -->
<!-- Register Views -->
<!-- ============================================ -->
<extension
point="org.eclipse.ui.views">
<view
name="%View.RemoteCommands"
icon="icons/full/cview16/commands_view.gif"
category="org.eclipse.rse.ui.view"
class="org.eclipse.rse.internal.shells.ui.view.SystemCommandsViewPart"
id="org.eclipse.rse.shells.ui.view.commandsView">
</view>
</extension>
<!-- ============================================ -->
<!-- Define Workbench Properties Pages -->
<!-- ============================================ -->
<extension
point="org.eclipse.ui.propertyPages">
<page
name="%PropertyPage.EnvVariables"
class="org.eclipse.rse.internal.shells.ui.propertypages.EnvironmentVariablesPropertyPage"
id="org.eclipse.rse.shells.ui.propertypages.EnvironmentVariablesPropertyPage">
<!--
<filter name="envVarPP" value="true"/>
-->
<enabledWhen>
<instanceof value="org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCmdSubSystem"/>
</enabledWhen>
</page>
<page
name="%PropertyPage.ServerLauncherSettings"
class="org.eclipse.rse.internal.ui.propertypages.ServerLauncherPropertyPage"
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
name="%PropertyPage.Service"
class="org.eclipse.rse.internal.shells.ui.propertypages.ShellServicesPropertyPage"
id="org.eclipse.rse.shells.ui.propertypages.ShellServicesPropertyPage">
<enabledWhen>
<instanceof value="org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystem"/>
</enabledWhen>
</page>
</extension>
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFile"
id="org.eclipse.rse.shells.ui.launch">
<visibility>
<and>
<objectState name="isdirectory" value="true"/>
<objectState name="isCommandSubSystemExists" value="true"/>
</and>
</visibility>
<action
label="%Launch_Shell"
icon="icons/full/obj16/systemshell.gif"
tooltip="%Launch_Shell_Tooltip"
class="org.eclipse.rse.internal.shells.ui.actions.LaunchShellActionDelegate"
enablesFor="1"
id="org.eclipse.rse.shells.ui.actions.LaunchShellActionDelegate">
</action>
<!--
<action
label="test command"
icon="icons/full/obj16/systemshell.gif"
tooltip="%Launch_Shell_Tooltip"
class="org.eclipse.rse.shells.ui.actions.LaunchCommandActionDelegate"
enablesFor="1"
id="org.eclipse.rse.shells.ui.actions.LaunchCommandActionDelegate">
</action>
-->
</objectContribution>
</extension>
</plugin>