1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 01:45:33 +02:00

Avoid dependency from daytime example to FTP plugin

This commit is contained in:
Martin Oberhuber 2006-09-21 21:46:28 +00:00
parent 73b3ab6e1d
commit 904823c2ea
4 changed files with 11 additions and 10 deletions

View file

@ -6,8 +6,7 @@ Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.rse.examples.daytime.Activator
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.eclipse.rse.subsystems.files.ftp,
org.eclipse.rse.ui,
Require-Bundle: org.eclipse.rse.ui,
org.eclipse.rse.services,
org.eclipse.rse.core,
org.eclipse.ui,

View file

@ -12,7 +12,7 @@
pluginName = RSE Daytime
providerName = Eclipse.org
FTPDaytimeSystemDescription=FTP and Daytime Connection Type
DaytimeSystemDescription=Daytime System Type
Files=Files
FilesDescription=Files via FTP

View file

@ -11,19 +11,20 @@ Martin Oberhuber (Wind River) - initial API and implementation
-->
<?eclipse version="3.1"?>
<plugin>
<!-- Register a System that will only show FTP and Daytime subsystems -->
<!-- Register a System that will only show Daytime subsystems -->
<extension point="org.eclipse.rse.core.systemTypes">
<systemType id="org.eclipse.rse.examples.daytime.systemtype.ftp"
name="FTP-Daytime"
description="%FTPDaytimeSystemDescription"
<systemType id="org.eclipse.rse.examples.daytime.systemtype"
name="Daytime"
description="%DaytimeSystemDescription"
icon="icons/full/obj16/daytime_obj.gif"
iconLive="icons/full/obj16/daytimelive_obj.gif"/>
</extension>
<!-- Instantiate the FTP subsystem by referencing it from the external implementation -->
<!-- Disabled to avoid hard dependency to the FTP plugin
<extension
point="org.eclipse.rse.ui.subsystemConfigurations">
<configuration
systemTypes="FTP-Daytime"
systemTypes="Daytime"
name="%Files"
description="%FilesDescription"
iconlive="icons/full/obj16/systemfileslive_obj.gif"
@ -35,11 +36,12 @@ Martin Oberhuber (Wind River) - initial API and implementation
id="ftp.files">
</configuration>
</extension>
-->
<!-- Instantiate the Daytime subsystem from our own plugin -->
<extension
point="org.eclipse.rse.ui.subsystemConfigurations">
<configuration
systemTypes="FTP-Daytime;Unix"
systemTypes="Daytime;Unix"
name="%DaytimeSubsystemName"
description="%DaytimeDescription"
iconlive="icons/full/obj16/daytimelive_obj.gif"

View file

@ -18,7 +18,7 @@ to import the example archive.
__Usage:__
The daytime service must be enabled on the remote system (see below).
* Start RSE, create a new system of type "FTP-Daytime".
* Start RSE, create a new system of type "Daytime".
* Select the Daytime Subsystem and choose Contextmenu > Connect.
* Enter any username and password (this is not checked).
* Select the Daytime Subsystem and choose Refresh, or Contextmenu > Monitor.