1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 16:55:38 +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-Activator: org.eclipse.rse.examples.daytime.Activator
Bundle-Vendor: %providerName Bundle-Vendor: %providerName
Bundle-Localization: plugin Bundle-Localization: plugin
Require-Bundle: org.eclipse.rse.subsystems.files.ftp, Require-Bundle: org.eclipse.rse.ui,
org.eclipse.rse.ui,
org.eclipse.rse.services, org.eclipse.rse.services,
org.eclipse.rse.core, org.eclipse.rse.core,
org.eclipse.ui, org.eclipse.ui,

View file

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

View file

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

View file

@ -18,7 +18,7 @@ to import the example archive.
__Usage:__ __Usage:__
The daytime service must be enabled on the remote system (see below). 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. * Select the Daytime Subsystem and choose Contextmenu > Connect.
* Enter any username and password (this is not checked). * Enter any username and password (this is not checked).
* Select the Daytime Subsystem and choose Refresh, or Contextmenu > Monitor. * Select the Daytime Subsystem and choose Refresh, or Contextmenu > Monitor.