mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 18:56:02 +02:00
[259363][api][rseterminals] Move RSE-Terminals out of incubation
This commit is contained in:
parent
f304881272
commit
24c87c49f8
28 changed files with 172 additions and 30 deletions
|
@ -435,10 +435,10 @@
|
||||||
<feature url="features/org.eclipse.rse.remotecdt_2.1.100.qualifier.jar" id="org.eclipse.rse.remotecdt" version="2.1.100.qualifier">
|
<feature url="features/org.eclipse.rse.remotecdt_2.1.100.qualifier.jar" id="org.eclipse.rse.remotecdt" version="2.1.100.qualifier">
|
||||||
<category name="TM and RSE 3.1"/>
|
<category name="TM and RSE 3.1"/>
|
||||||
</feature>
|
</feature>
|
||||||
<feature url="features/org.eclipse.rse.terminals_0.1.100.qualifier.jar" id="org.eclipse.rse.terminals" version="0.1.100.qualifier">
|
<feature url="features/org.eclipse.rse.terminals_1.0.0.qualifier.jar" id="org.eclipse.rse.terminals" version="1.0.0.qualifier">
|
||||||
<category name="TM and RSE 3.1"/>
|
<category name="TM and RSE 3.1"/>
|
||||||
</feature>
|
</feature>
|
||||||
<feature url="features/org.eclipse.rse.tests_3.0.100.qualifier.jar" id="org.eclipse.rse.tests" version="3.0.100.qualifier">
|
<feature url="features/org.eclipse.rse.tests_3.1.0.qualifier.jar" id="org.eclipse.rse.tests" version="3.1.0.qualifier">
|
||||||
<category name="TM and RSE 3.1"/>
|
<category name="TM and RSE 3.1"/>
|
||||||
</feature>
|
</feature>
|
||||||
<feature url="features/org.eclipse.rse.useractions_1.1.100.qualifier.jar" id="org.eclipse.rse.useractions" version="1.1.100.qualifier">
|
<feature url="features/org.eclipse.rse.useractions_1.1.100.qualifier.jar" id="org.eclipse.rse.useractions" version="1.1.100.qualifier">
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
;../org.eclipse.rse.subsystems.shells.local/src
|
;../org.eclipse.rse.subsystems.shells.local/src
|
||||||
;../org.eclipse.rse.subsystems.shells.ssh/src
|
;../org.eclipse.rse.subsystems.shells.ssh/src
|
||||||
;../org.eclipse.rse.subsystems.shells.telnet/src
|
;../org.eclipse.rse.subsystems.shells.telnet/src
|
||||||
|
;../org.eclipse.rse.subsystems.terminals.core/src
|
||||||
|
;../org.eclipse.rse.subsystems.terminals.ssh/src
|
||||||
;../org.eclipse.rse.ui/model
|
;../org.eclipse.rse.ui/model
|
||||||
;../org.eclipse.rse.ui/UI
|
;../org.eclipse.rse.ui/UI
|
||||||
;../org.eclipse.rse.ui/subsystems"
|
;../org.eclipse.rse.ui/subsystems"
|
||||||
|
@ -72,7 +74,6 @@ org.eclipse.rse.files.ui.dialogs
|
||||||
org.eclipse.rse.files.ui.resources
|
org.eclipse.rse.files.ui.resources
|
||||||
org.eclipse.rse.files.ui.widgets
|
org.eclipse.rse.files.ui.widgets
|
||||||
org.eclipse.rse.filters
|
org.eclipse.rse.filters
|
||||||
org.eclipse.rse.internal.services.terminals
|
|
||||||
org.eclipse.rse.logging
|
org.eclipse.rse.logging
|
||||||
org.eclipse.rse.model
|
org.eclipse.rse.model
|
||||||
org.eclipse.rse.persistence
|
org.eclipse.rse.persistence
|
||||||
|
@ -92,6 +93,7 @@ org.eclipse.rse.services.files
|
||||||
org.eclipse.rse.services.processes
|
org.eclipse.rse.services.processes
|
||||||
org.eclipse.rse.services.search
|
org.eclipse.rse.services.search
|
||||||
org.eclipse.rse.services.shells
|
org.eclipse.rse.services.shells
|
||||||
|
org.eclipse.rse.services.terminals
|
||||||
org.eclipse.rse.shells.ui
|
org.eclipse.rse.shells.ui
|
||||||
org.eclipse.rse.shells.ui.view
|
org.eclipse.rse.shells.ui.view
|
||||||
org.eclipse.rse.subsystems.files.core
|
org.eclipse.rse.subsystems.files.core
|
||||||
|
@ -117,6 +119,9 @@ org.eclipse.rse.subsystems.shells.dstore
|
||||||
org.eclipse.rse.subsystems.shells.local
|
org.eclipse.rse.subsystems.shells.local
|
||||||
org.eclipse.rse.subsystems.shells.ssh
|
org.eclipse.rse.subsystems.shells.ssh
|
||||||
org.eclipse.rse.subsystems.shells.telnet
|
org.eclipse.rse.subsystems.shells.telnet
|
||||||
|
org.eclipse.rse.subsystems.terminals.core
|
||||||
|
org.eclipse.rse.subsystems.terminals.core.elements
|
||||||
|
org.eclipse.rse.subsystems.terminals.ssh
|
||||||
org.eclipse.rse.ui
|
org.eclipse.rse.ui
|
||||||
org.eclipse.rse.ui.actions
|
org.eclipse.rse.ui.actions
|
||||||
org.eclipse.rse.ui.dialogs
|
org.eclipse.rse.ui.dialogs
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
<topic label="org.eclipse.rse.services.processes" href="reference/api/org/eclipse/rse/services/processes/package-summary.html"/>
|
<topic label="org.eclipse.rse.services.processes" href="reference/api/org/eclipse/rse/services/processes/package-summary.html"/>
|
||||||
<topic label="org.eclipse.rse.services.search" href="reference/api/org/eclipse/rse/services/search/package-summary.html"/>
|
<topic label="org.eclipse.rse.services.search" href="reference/api/org/eclipse/rse/services/search/package-summary.html"/>
|
||||||
<topic label="org.eclipse.rse.services.shells" href="reference/api/org/eclipse/rse/services/shells/package-summary.html"/>
|
<topic label="org.eclipse.rse.services.shells" href="reference/api/org/eclipse/rse/services/shells/package-summary.html"/>
|
||||||
<topic label="org.eclipse.rse.internal.services.terminals" href="reference/api/org/eclipse/rse/internal/services/terminals/package-summary.html"/>
|
<topic label="org.eclipse.rse.services.terminals" href="reference/api/org/eclipse/rse/services/terminals/package-summary.html"/>
|
||||||
</topic>
|
</topic>
|
||||||
<topic label="Services Implementations" href="provisional_api.html">
|
<topic label="Services Implementations" href="provisional_api.html">
|
||||||
<topic label="org.eclipse.rse.services.dstore" href="reference/api/org/eclipse/rse/services/dstore/package-summary.html"/>
|
<topic label="org.eclipse.rse.services.dstore" href="reference/api/org/eclipse/rse/services/dstore/package-summary.html"/>
|
||||||
|
@ -103,6 +103,11 @@
|
||||||
<topic label="org.eclipse.rse.subsystems.shells.ssh" href="reference/api/org/eclipse/rse/subsystems/shells/ssh/package-summary.html"/>
|
<topic label="org.eclipse.rse.subsystems.shells.ssh" href="reference/api/org/eclipse/rse/subsystems/shells/ssh/package-summary.html"/>
|
||||||
<topic label="org.eclipse.rse.subsystems.shells.telnet" href="reference/api/org/eclipse/rse/subsystems/shells/telnet/package-summary.html"/>
|
<topic label="org.eclipse.rse.subsystems.shells.telnet" href="reference/api/org/eclipse/rse/subsystems/shells/telnet/package-summary.html"/>
|
||||||
</topic>
|
</topic>
|
||||||
|
<topic label="Terminal Subsystem" href="provisional_api.html">
|
||||||
|
<topic label="org.eclipse.rse.subsystems.terminals.core" href="reference/api/org/eclipse/rse/subsystems/terminals/core/package-summary.html"/>
|
||||||
|
<topic label="org.eclipse.rse.subsystems.terminals.core.elements" href="reference/api/org/eclipse/rse/subsystems/terminals/core/elements/package-summary.html"/>
|
||||||
|
<topic label="org.eclipse.rse.subsystems.terminals.ssh" href="reference/api/org/eclipse/rse/subsystems/terminals/ssh/package-summary.html"/>
|
||||||
|
</topic>
|
||||||
<topic label="User Interface" href="provisional_api.html">
|
<topic label="User Interface" href="provisional_api.html">
|
||||||
<topic label="org.eclipse.rse.ui" href="reference/api/org/eclipse/rse/ui/package-summary.html"/>
|
<topic label="org.eclipse.rse.ui" href="reference/api/org/eclipse/rse/ui/package-summary.html"/>
|
||||||
<topic label="org.eclipse.rse.ui.actions" href="reference/api/org/eclipse/rse/ui/actions/package-summary.html"/>
|
<topic label="org.eclipse.rse.ui.actions" href="reference/api/org/eclipse/rse/ui/actions/package-summary.html"/>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# NLS_ENCODING=UTF-8
|
# NLS_ENCODING=UTF-8
|
||||||
|
|
||||||
# "featureName" property - name of the feature
|
# "featureName" property - name of the feature
|
||||||
featureName=RSE Terminals UI (Incubation)
|
featureName=RSE Terminals UI
|
||||||
|
|
||||||
# "providerName" property - name of the company that provides the feature
|
# "providerName" property - name of the company that provides the feature
|
||||||
providerName=Eclipse.org
|
providerName=Eclipse.org
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<feature
|
<feature
|
||||||
id="org.eclipse.rse.terminals"
|
id="org.eclipse.rse.terminals"
|
||||||
label="%featureName"
|
label="%featureName"
|
||||||
version="0.1.100.qualifier"
|
version="1.0.0.qualifier"
|
||||||
provider-name="%providerName"
|
provider-name="%providerName"
|
||||||
plugin="org.eclipse.rse.terminals.ui"
|
plugin="org.eclipse.rse.terminals.ui"
|
||||||
image="eclipse_update_120.jpg">
|
image="eclipse_update_120.jpg">
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
# This file should be translated.
|
# This file should be translated.
|
||||||
|
|
||||||
# "featureName" property - name of the feature
|
# "featureName" property - name of the feature
|
||||||
featureName=RSE Terminals UI Source (Incubation)
|
featureName=RSE Terminals UI Source
|
||||||
|
|
||||||
# "providerName" property - name of the company that provides the feature
|
# "providerName" property - name of the company that provides the feature
|
||||||
providerName=Eclipse.org
|
providerName=Eclipse.org
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#
|
#
|
||||||
# Do not translate any values surrounded by {}
|
# Do not translate any values surrounded by {}
|
||||||
|
|
||||||
blurb=RSE Terminals UI Source (Incubation)\n\
|
blurb=RSE Terminals UI Source\n\
|
||||||
\n\
|
\n\
|
||||||
Version: {featureVersion}\n\
|
Version: {featureVersion}\n\
|
||||||
Build id: {0}\n\
|
Build id: {0}\n\
|
||||||
|
|
|
@ -12,5 +12,5 @@
|
||||||
# NLS_MESSAGEFORMAT_NONE
|
# NLS_MESSAGEFORMAT_NONE
|
||||||
# NLS_ENCODING=UTF-8
|
# NLS_ENCODING=UTF-8
|
||||||
|
|
||||||
pluginName=RSE Terminals UI Source (Incubation)
|
pluginName=RSE Terminals UI Source
|
||||||
providerName=Eclipse.org
|
providerName=Eclipse.org
|
||||||
|
|
|
@ -20,9 +20,15 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
</arguments>
|
</arguments>
|
||||||
</buildCommand>
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
</buildSpec>
|
</buildSpec>
|
||||||
<natures>
|
<natures>
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
<nature>org.eclipse.pde.PluginNature</nature>
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
|
||||||
</natures>
|
</natures>
|
||||||
</projectDescription>
|
</projectDescription>
|
||||||
|
|
|
@ -2,11 +2,11 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-SymbolicName: org.eclipse.rse.subsystems.terminals.core;singleton:=true
|
Bundle-SymbolicName: org.eclipse.rse.subsystems.terminals.core;singleton:=true
|
||||||
Bundle-Version: 0.1.1.qualifier
|
Bundle-Version: 1.0.0.qualifier
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
Require-Bundle: org.eclipse.ui,
|
Require-Bundle: org.eclipse.ui,
|
||||||
org.eclipse.core.runtime,
|
org.eclipse.core.runtime,
|
||||||
org.eclipse.rse.services;bundle-version="[3.0.0,4.0.0)",
|
org.eclipse.rse.services;bundle-version="[3.1.0,4.0.0)",
|
||||||
org.eclipse.rse.ui;bundle-version="[3.0.0,4.0.0)",
|
org.eclipse.rse.ui;bundle-version="[3.0.0,4.0.0)",
|
||||||
org.eclipse.rse.core;bundle-version="[3.0.0,4.0.0)"
|
org.eclipse.rse.core;bundle-version="[3.0.0,4.0.0)"
|
||||||
Eclipse-LazyStart: true
|
Eclipse-LazyStart: true
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# NLS_MESSAGEFORMAT_NONE
|
# NLS_MESSAGEFORMAT_NONE
|
||||||
# NLS_ENCODING=UTF-8
|
# NLS_ENCODING=UTF-8
|
||||||
|
|
||||||
pluginName = RSE Terminals Core (Incubation)
|
pluginName = RSE Terminals Core
|
||||||
providerName = Eclipse.org
|
providerName = Eclipse.org
|
||||||
|
|
||||||
TerminalSubsystemName = Terminals
|
TerminalSubsystemName = Terminals
|
||||||
|
|
|
@ -21,6 +21,20 @@ import org.eclipse.rse.services.clientserver.messages.SystemMessageException;
|
||||||
import org.eclipse.rse.services.terminals.ITerminalService;
|
import org.eclipse.rse.services.terminals.ITerminalService;
|
||||||
import org.eclipse.rse.services.terminals.ITerminalShell;
|
import org.eclipse.rse.services.terminals.ITerminalShell;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Base class that can be used for decorating an existing terminal service with
|
||||||
|
* additional functionality. By default, all method calls are passed through to
|
||||||
|
* the original service.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as part
|
||||||
|
* of a work in progress. There is no guarantee that this API will work or that
|
||||||
|
* it will remain the same. Please do not use this API without consulting with
|
||||||
|
* the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a> team.
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @since org.eclipse.rse.subsystems.terminals.core 1.0
|
||||||
|
*/
|
||||||
public class DelegatingTerminalService implements ITerminalService {
|
public class DelegatingTerminalService implements ITerminalService {
|
||||||
|
|
||||||
private IHost _host;
|
private IHost _host;
|
||||||
|
|
|
@ -14,6 +14,16 @@ package org.eclipse.rse.subsystems.terminals.core;
|
||||||
import org.eclipse.rse.core.subsystems.ISubSystem;
|
import org.eclipse.rse.core.subsystems.ISubSystem;
|
||||||
import org.eclipse.rse.subsystems.terminals.core.elements.TerminalElement;
|
import org.eclipse.rse.subsystems.terminals.core.elements.TerminalElement;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Specialized interface for remote terminal subsystems.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as part
|
||||||
|
* of a work in progress. There is no guarantee that this API will work or that
|
||||||
|
* it will remain the same. Please do not use this API without consulting with
|
||||||
|
* the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a> team.
|
||||||
|
* </p>
|
||||||
|
*/
|
||||||
public interface ITerminalServiceSubSystem extends ISubSystem {
|
public interface ITerminalServiceSubSystem extends ISubSystem {
|
||||||
public void addChild(TerminalElement element);
|
public void addChild(TerminalElement element);
|
||||||
|
|
||||||
|
@ -26,6 +36,7 @@ public interface ITerminalServiceSubSystem extends ISubSystem {
|
||||||
/**
|
/**
|
||||||
* @return parent subsystem factory, cast to a
|
* @return parent subsystem factory, cast to a
|
||||||
* ITerminalServiceSubSystemConfiguration
|
* ITerminalServiceSubSystemConfiguration
|
||||||
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
public ITerminalServiceSubSystemConfiguration getParentRemoteTerminalSubSystemConfiguration();
|
public ITerminalServiceSubSystemConfiguration getParentRemoteTerminalSubSystemConfiguration();
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,35 @@ import org.eclipse.rse.core.model.IHost;
|
||||||
import org.eclipse.rse.core.subsystems.ISubSystemConfiguration;
|
import org.eclipse.rse.core.subsystems.ISubSystemConfiguration;
|
||||||
import org.eclipse.rse.services.terminals.ITerminalService;
|
import org.eclipse.rse.services.terminals.ITerminalService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An interface representing factories for creating TerminalServiceSubSystem
|
||||||
|
* objects.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as part
|
||||||
|
* of a work in progress. There is no guarantee that this API will work or that
|
||||||
|
* it will remain the same. Please do not use this API without consulting with
|
||||||
|
* the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a> team.
|
||||||
|
* </p>
|
||||||
|
*/
|
||||||
public interface ITerminalServiceSubSystemConfiguration extends
|
public interface ITerminalServiceSubSystemConfiguration extends
|
||||||
ISubSystemConfiguration {
|
ISubSystemConfiguration {
|
||||||
|
/**
|
||||||
|
* Return the terminal service.
|
||||||
|
*
|
||||||
|
* @param host connection
|
||||||
|
* @return the internal terminal service interface.
|
||||||
|
* @since 1.0
|
||||||
|
*/
|
||||||
public ITerminalService getTerminalService(IHost host);
|
public ITerminalService getTerminalService(IHost host);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create the terminal service.
|
||||||
|
*
|
||||||
|
* @param host connection
|
||||||
|
* @return the new terminal service interface.
|
||||||
|
* @since 1.0
|
||||||
|
*/
|
||||||
public ITerminalService createTerminalService(IHost host);
|
public ITerminalService createTerminalService(IHost host);
|
||||||
|
|
||||||
}
|
}
|
|
@ -36,6 +36,13 @@ import org.eclipse.swt.widgets.Display;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A Subsystem that has terminal instances as children.
|
* A Subsystem that has terminal instances as children.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as part
|
||||||
|
* of a work in progress. There is no guarantee that this API will work or that
|
||||||
|
* it will remain the same. Please do not use this API without consulting with
|
||||||
|
* the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a> team.
|
||||||
|
* </p>
|
||||||
*/
|
*/
|
||||||
public class TerminalServiceSubSystem extends SubSystem implements
|
public class TerminalServiceSubSystem extends SubSystem implements
|
||||||
ITerminalServiceSubSystem, ICommunicationsListener {
|
ITerminalServiceSubSystem, ICommunicationsListener {
|
||||||
|
@ -46,6 +53,8 @@ public class TerminalServiceSubSystem extends SubSystem implements
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
*
|
||||||
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
public TerminalServiceSubSystem(IHost host,
|
public TerminalServiceSubSystem(IHost host,
|
||||||
IConnectorService connectorService, ITerminalService hostService) {
|
IConnectorService connectorService, ITerminalService hostService) {
|
||||||
|
@ -66,6 +75,8 @@ public class TerminalServiceSubSystem extends SubSystem implements
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the Terminal Service associated with this subsystem.
|
* Return the Terminal Service associated with this subsystem.
|
||||||
|
*
|
||||||
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
public ITerminalService getTerminalService() {
|
public ITerminalService getTerminalService() {
|
||||||
return _hostService;
|
return _hostService;
|
||||||
|
@ -122,6 +133,8 @@ public class TerminalServiceSubSystem extends SubSystem implements
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the terminal service associated with this subsystem.
|
* Set the terminal service associated with this subsystem.
|
||||||
|
*
|
||||||
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
public void setTerminalService(ITerminalService service) {
|
public void setTerminalService(ITerminalService service) {
|
||||||
_hostService = service;
|
_hostService = service;
|
||||||
|
@ -196,6 +209,10 @@ public class TerminalServiceSubSystem extends SubSystem implements
|
||||||
return (configuration instanceof ITerminalServiceSubSystemConfiguration);
|
return (configuration instanceof ITerminalServiceSubSystemConfiguration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @inheritDoc
|
||||||
|
* @since 1.0
|
||||||
|
*/
|
||||||
public ITerminalServiceSubSystemConfiguration getParentRemoteTerminalSubSystemConfiguration() {
|
public ITerminalServiceSubSystemConfiguration getParentRemoteTerminalSubSystemConfiguration() {
|
||||||
return (ITerminalServiceSubSystemConfiguration) super
|
return (ITerminalServiceSubSystemConfiguration) super
|
||||||
.getSubSystemConfiguration();
|
.getSubSystemConfiguration();
|
||||||
|
|
|
@ -19,6 +19,18 @@ import org.eclipse.rse.core.subsystems.SubSystemConfiguration;
|
||||||
import org.eclipse.rse.services.IService;
|
import org.eclipse.rse.services.IService;
|
||||||
import org.eclipse.rse.services.terminals.ITerminalService;
|
import org.eclipse.rse.services.terminals.ITerminalService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The implementation of the ITerminalServiceSubSystemConfiguration interface
|
||||||
|
* contains information about what features the subsystem supports, and creates
|
||||||
|
* TerminalServiceSubSystem instances.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as part
|
||||||
|
* of a work in progress. There is no guarantee that this API will work or that
|
||||||
|
* it will remain the same. Please do not use this API without consulting with
|
||||||
|
* the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a> team.
|
||||||
|
* </p>
|
||||||
|
*/
|
||||||
public abstract class TerminalServiceSubSystemConfiguration extends
|
public abstract class TerminalServiceSubSystemConfiguration extends
|
||||||
SubSystemConfiguration implements
|
SubSystemConfiguration implements
|
||||||
ITerminalServiceSubSystemConfiguration {
|
ITerminalServiceSubSystemConfiguration {
|
||||||
|
@ -34,6 +46,10 @@ public abstract class TerminalServiceSubSystemConfiguration extends
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @inheritDoc
|
||||||
|
* @since 1.0
|
||||||
|
*/
|
||||||
public final ITerminalService getTerminalService(IHost host) {
|
public final ITerminalService getTerminalService(IHost host) {
|
||||||
ITerminalService service = (ITerminalService) _services.get(host);
|
ITerminalService service = (ITerminalService) _services.get(host);
|
||||||
if (service == null) {
|
if (service == null) {
|
||||||
|
|
|
@ -19,6 +19,13 @@ import org.eclipse.rse.subsystems.terminals.core.ITerminalServiceSubSystem;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An element in the RSE Tree that resembles a Terminal connection.
|
* An element in the RSE Tree that resembles a Terminal connection.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as part
|
||||||
|
* of a work in progress. There is no guarantee that this API will work or that
|
||||||
|
* it will remain the same. Please do not use this API without consulting with
|
||||||
|
* the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a> team.
|
||||||
|
* </p>
|
||||||
*/
|
*/
|
||||||
public class TerminalElement extends AbstractResource {
|
public class TerminalElement extends AbstractResource {
|
||||||
private String name;
|
private String name;
|
||||||
|
@ -65,6 +72,8 @@ public class TerminalElement extends AbstractResource {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the back-end connection of this terminal instance.
|
* Return the back-end connection of this terminal instance.
|
||||||
|
*
|
||||||
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
public ITerminalShell getTerminalShell() {
|
public ITerminalShell getTerminalShell() {
|
||||||
return terminalShell;
|
return terminalShell;
|
||||||
|
@ -72,6 +81,8 @@ public class TerminalElement extends AbstractResource {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the back-end connection of this terminal instance.
|
* Set the back-end connection of this terminal instance.
|
||||||
|
*
|
||||||
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
public void setTerminalShell(ITerminalShell terminalShell) {
|
public void setTerminalShell(ITerminalShell terminalShell) {
|
||||||
this.terminalShell = terminalShell;
|
this.terminalShell = terminalShell;
|
||||||
|
|
|
@ -20,9 +20,15 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
</arguments>
|
</arguments>
|
||||||
</buildCommand>
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
</buildSpec>
|
</buildSpec>
|
||||||
<natures>
|
<natures>
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
<nature>org.eclipse.pde.PluginNature</nature>
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
|
||||||
</natures>
|
</natures>
|
||||||
</projectDescription>
|
</projectDescription>
|
||||||
|
|
|
@ -2,13 +2,13 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-SymbolicName: org.eclipse.rse.subsystems.terminals.ssh;singleton:=true
|
Bundle-SymbolicName: org.eclipse.rse.subsystems.terminals.ssh;singleton:=true
|
||||||
Bundle-Version: 0.1.0.qualifier
|
Bundle-Version: 1.0.0.qualifier
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
Require-Bundle: org.eclipse.core.runtime,
|
Require-Bundle: org.eclipse.core.runtime,
|
||||||
org.eclipse.rse.services;bundle-version="[3.0.0,4.0.0)",
|
org.eclipse.rse.services;bundle-version="[3.1.0,4.0.0)",
|
||||||
org.eclipse.rse.connectorservice.ssh;bundle-version="[2.1.0,3.0.0)",
|
org.eclipse.rse.connectorservice.ssh;bundle-version="[2.1.0,3.0.0)",
|
||||||
org.eclipse.rse.services.ssh;bundle-version="[2.1.0,2.2.0)",
|
org.eclipse.rse.services.ssh;bundle-version="[2.1.0,2.2.0)",
|
||||||
org.eclipse.rse.subsystems.terminals.core;bundle-version="[0.1.0,0.2.0)",
|
org.eclipse.rse.subsystems.terminals.core;bundle-version="[1.0.0,2.0.0)",
|
||||||
org.eclipse.rse.core;bundle-version="[3.0.0,4.0.0)",
|
org.eclipse.rse.core;bundle-version="[3.0.0,4.0.0)",
|
||||||
org.eclipse.rse.ui;bundle-version="[3.0.0,4.0.0)"
|
org.eclipse.rse.ui;bundle-version="[3.0.0,4.0.0)"
|
||||||
Eclipse-LazyStart: true
|
Eclipse-LazyStart: true
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# NLS_MESSAGEFORMAT_NONE
|
# NLS_MESSAGEFORMAT_NONE
|
||||||
# NLS_ENCODING=UTF-8
|
# NLS_ENCODING=UTF-8
|
||||||
|
|
||||||
pluginName = RSE SSH Terminals (Incubation)
|
pluginName = RSE SSH Terminals
|
||||||
providerName = Eclipse.org
|
providerName = Eclipse.org
|
||||||
|
|
||||||
SshTerminalSubsystemName=Ssh Terminals
|
SshTerminalSubsystemName=Ssh Terminals
|
||||||
|
|
|
@ -22,6 +22,16 @@ import org.eclipse.rse.services.terminals.ITerminalService;
|
||||||
import org.eclipse.rse.subsystems.terminals.core.TerminalServiceSubSystem;
|
import org.eclipse.rse.subsystems.terminals.core.TerminalServiceSubSystem;
|
||||||
import org.eclipse.rse.subsystems.terminals.core.TerminalServiceSubSystemConfiguration;
|
import org.eclipse.rse.subsystems.terminals.core.TerminalServiceSubSystemConfiguration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An SSH Terminal Subsystem Factory.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as part
|
||||||
|
* of a work in progress. There is no guarantee that this API will work or that
|
||||||
|
* it will remain the same. Please do not use this API without consulting with
|
||||||
|
* the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a> team.
|
||||||
|
* </p>
|
||||||
|
*/
|
||||||
public class SshTerminalSubSystemConfiguration extends
|
public class SshTerminalSubSystemConfiguration extends
|
||||||
TerminalServiceSubSystemConfiguration {
|
TerminalServiceSubSystemConfiguration {
|
||||||
|
|
||||||
|
@ -47,6 +57,10 @@ public class SshTerminalSubSystemConfiguration extends
|
||||||
return subsys;
|
return subsys;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @inheritDoc
|
||||||
|
* @since 1.0
|
||||||
|
*/
|
||||||
public ITerminalService createTerminalService(IHost host) {
|
public ITerminalService createTerminalService(IHost host) {
|
||||||
SshConnectorService cserv = (SshConnectorService) getConnectorService(host);
|
SshConnectorService cserv = (SshConnectorService) getConnectorService(host);
|
||||||
return new SshTerminalService(cserv);
|
return new SshTerminalService(cserv);
|
||||||
|
|
|
@ -20,9 +20,15 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
</arguments>
|
</arguments>
|
||||||
</buildCommand>
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
</buildSpec>
|
</buildSpec>
|
||||||
<natures>
|
<natures>
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
<nature>org.eclipse.pde.PluginNature</nature>
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
|
||||||
</natures>
|
</natures>
|
||||||
</projectDescription>
|
</projectDescription>
|
||||||
|
|
|
@ -2,16 +2,16 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-SymbolicName: org.eclipse.rse.terminals.ui;singleton:=true
|
Bundle-SymbolicName: org.eclipse.rse.terminals.ui;singleton:=true
|
||||||
Bundle-Version: 0.1.100.qualifier
|
Bundle-Version: 1.0.0.qualifier
|
||||||
Bundle-Activator: org.eclipse.rse.internal.terminals.ui.Activator
|
Bundle-Activator: org.eclipse.rse.internal.terminals.ui.Activator
|
||||||
Require-Bundle: org.eclipse.core.runtime,
|
Require-Bundle: org.eclipse.core.runtime,
|
||||||
org.eclipse.core.expressions,
|
org.eclipse.core.expressions,
|
||||||
org.eclipse.ui,
|
org.eclipse.ui,
|
||||||
org.eclipse.ui.views,
|
org.eclipse.ui.views,
|
||||||
org.eclipse.rse.services;bundle-version="[3.0.0,4.0.0)",
|
org.eclipse.rse.services;bundle-version="[3.1.0,4.0.0)",
|
||||||
org.eclipse.rse.core;bundle-version="[3.0.0,4.0.0)",
|
org.eclipse.rse.core;bundle-version="[3.0.0,4.0.0)",
|
||||||
org.eclipse.rse.ui;bundle-version="[3.1.0,4.0.0)",
|
org.eclipse.rse.ui;bundle-version="[3.1.0,4.0.0)",
|
||||||
org.eclipse.rse.subsystems.terminals.core;bundle-version="[0.1.0,0.2.0)",
|
org.eclipse.rse.subsystems.terminals.core;bundle-version="[1.0.0,2.0.0)",
|
||||||
org.eclipse.tm.terminal;bundle-version="[2.0.0,2.1.0)"
|
org.eclipse.tm.terminal;bundle-version="[2.0.0,2.1.0)"
|
||||||
Bundle-ActivationPolicy: lazy
|
Bundle-ActivationPolicy: lazy
|
||||||
Eclipse-LazyStart: true
|
Eclipse-LazyStart: true
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#
|
#
|
||||||
# Do not translate any values surrounded by {}
|
# Do not translate any values surrounded by {}
|
||||||
|
|
||||||
blurb=RSE Terminals UI (Incubation)\n\
|
blurb=RSE Terminals UI\n\
|
||||||
\n\
|
\n\
|
||||||
Version: {featureVersion}\n\
|
Version: {featureVersion}\n\
|
||||||
Build id: {0}\n\
|
Build id: {0}\n\
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
# NLS_MESSAGEFORMAT_NONE
|
# NLS_MESSAGEFORMAT_NONE
|
||||||
# NLS_ENCODING=UTF-8
|
# NLS_ENCODING=UTF-8
|
||||||
|
|
||||||
pluginName = RSE Terminals UI (Incubation)
|
pluginName = RSE Terminals UI
|
||||||
providerName = Eclipse.org
|
providerName = Eclipse.org
|
||||||
|
|
||||||
terminalsView.name = Terminals
|
terminalsView.name = Terminals
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<feature
|
<feature
|
||||||
id="org.eclipse.rse.tests"
|
id="org.eclipse.rse.tests"
|
||||||
label="%featureName"
|
label="%featureName"
|
||||||
version="3.0.100.qualifier"
|
version="3.1.0.qualifier"
|
||||||
provider-name="%providerName">
|
provider-name="%providerName">
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
|
|
|
@ -20,9 +20,15 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
</arguments>
|
</arguments>
|
||||||
</buildCommand>
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
</buildSpec>
|
</buildSpec>
|
||||||
<natures>
|
<natures>
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
<nature>org.eclipse.pde.PluginNature</nature>
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
|
||||||
</natures>
|
</natures>
|
||||||
</projectDescription>
|
</projectDescription>
|
||||||
|
|
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-SymbolicName: org.eclipse.rse.tests;singleton:=true
|
Bundle-SymbolicName: org.eclipse.rse.tests;singleton:=true
|
||||||
Bundle-Version: 3.0.100.qualifier
|
Bundle-Version: 3.1.0.qualifier
|
||||||
Bundle-Activator: org.eclipse.rse.tests.RSETestsPlugin
|
Bundle-Activator: org.eclipse.rse.tests.RSETestsPlugin
|
||||||
Bundle-Vendor: %providerName
|
Bundle-Vendor: %providerName
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
|
@ -18,7 +18,7 @@ Require-Bundle: org.junit,
|
||||||
org.eclipse.rse.subsystems.files.local;bundle-version="[2.1.0,3.0.0)",
|
org.eclipse.rse.subsystems.files.local;bundle-version="[2.1.0,3.0.0)",
|
||||||
org.eclipse.rse.subsystems.processes.core;bundle-version="[3.0.0,4.0.0)",
|
org.eclipse.rse.subsystems.processes.core;bundle-version="[3.0.0,4.0.0)",
|
||||||
org.eclipse.rse.subsystems.shells.core;bundle-version="[3.0.0,4.0.0)",
|
org.eclipse.rse.subsystems.shells.core;bundle-version="[3.0.0,4.0.0)",
|
||||||
org.eclipse.rse.services;bundle-version="[3.0.0,4.0.0)",
|
org.eclipse.rse.services;bundle-version="[3.1.0,4.0.0)",
|
||||||
org.eclipse.rse.services.files.ftp;bundle-version="[3.0.0,4.0.0)",
|
org.eclipse.rse.services.files.ftp;bundle-version="[3.0.0,4.0.0)",
|
||||||
org.eclipse.rse.services.ssh;bundle-version="[2.1.0,3.0.0)",
|
org.eclipse.rse.services.ssh;bundle-version="[2.1.0,3.0.0)",
|
||||||
org.eclipse.rse.subsystems.files.ftp;bundle-version="[2.1.0,3.0.0)",
|
org.eclipse.rse.subsystems.files.ftp;bundle-version="[2.1.0,3.0.0)",
|
||||||
|
@ -26,7 +26,7 @@ Require-Bundle: org.junit,
|
||||||
org.eclipse.rse.efs,
|
org.eclipse.rse.efs,
|
||||||
org.eclipse.rse.tests.framework;bundle-version="[2.0.0,3.0.0)",
|
org.eclipse.rse.tests.framework;bundle-version="[2.0.0,3.0.0)",
|
||||||
org.apache.commons.net;bundle-version="[1.4.1,2.0.0)",
|
org.apache.commons.net;bundle-version="[1.4.1,2.0.0)",
|
||||||
org.eclipse.rse.subsystems.terminals.core;bundle-version="0.1.1"
|
org.eclipse.rse.subsystems.terminals.core;bundle-version="[1.0.0,2.0.0)"
|
||||||
Bundle-ActivationPolicy: lazy
|
Bundle-ActivationPolicy: lazy
|
||||||
Eclipse-LazyStart: true
|
Eclipse-LazyStart: true
|
||||||
Bundle-RequiredExecutionEnvironment: J2SE-1.4
|
Bundle-RequiredExecutionEnvironment: J2SE-1.4
|
||||||
|
|
Loading…
Add table
Reference in a new issue