mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
[cleanup] move FTPSubsystemResources out of core
This commit is contained in:
parent
8d2d1249fc
commit
615e181bec
5 changed files with 46 additions and 8 deletions
|
@ -183,9 +183,6 @@ public class SystemFileResources extends NLS
|
||||||
public static String RESID_JOB_SEARCH_NAME;
|
public static String RESID_JOB_SEARCH_NAME;
|
||||||
public static String RESID_JOB_DECORATEFILES_NAME;
|
public static String RESID_JOB_DECORATEFILES_NAME;
|
||||||
|
|
||||||
public static String RESID_FTP_CONNECTORSERVICE_NAME;
|
|
||||||
public static String RESID_FTP_CONNECTORSERVICE_DESCRIPTION;
|
|
||||||
|
|
||||||
static {
|
static {
|
||||||
// load message values from bundle file
|
// load message values from bundle file
|
||||||
NLS.initializeMessages(BUNDLE_NAME, SystemFileResources.class);
|
NLS.initializeMessages(BUNDLE_NAME, SystemFileResources.class);
|
||||||
|
|
|
@ -220,6 +220,3 @@ WIDGET_BROWSE_TOOLTIP=Browse for folder path
|
||||||
|
|
||||||
RESID_JOB_SEARCH_NAME=Search
|
RESID_JOB_SEARCH_NAME=Search
|
||||||
RESID_JOB_DECORATEFILES_NAME=Decorate Files
|
RESID_JOB_DECORATEFILES_NAME=Decorate Files
|
||||||
|
|
||||||
RESID_FTP_CONNECTORSERVICE_NAME=FTP Connector Service
|
|
||||||
RESID_FTP_CONNECTORSERVICE_DESCRIPTION=The FTP Connector Service uses the FTP protocol to connect to a remote host. You must have an FTP daemon running on the host.
|
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2007 Wind River Systems, Inc. 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
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Martin Oberhuber (Wind River) - initial API and implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
|
package org.eclipse.rse.internal.subsystems.files.ftp;
|
||||||
|
|
||||||
|
import org.eclipse.osgi.util.NLS;
|
||||||
|
|
||||||
|
public class FTPSubsystemResources extends NLS {
|
||||||
|
private static final String BUNDLE_NAME = "org.eclipse.rse.internal.subsystems.files.ftp.FTPSubsystemResources"; //$NON-NLS-1$
|
||||||
|
static {
|
||||||
|
NLS.initializeMessages(BUNDLE_NAME, FTPSubsystemResources.class);
|
||||||
|
}
|
||||||
|
private FTPSubsystemResources() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String RESID_FTP_CONNECTORSERVICE_NAME;
|
||||||
|
public static String RESID_FTP_CONNECTORSERVICE_DESCRIPTION;
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
################################################################################
|
||||||
|
# Copyright (c) 2007 Wind River Systems, Inc. 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
|
||||||
|
#
|
||||||
|
# Contributors:
|
||||||
|
# Martin Oberhuber (Wind River) - initial API and implementation
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# NLS_MESSAGEFORMAT_VAR
|
||||||
|
# NLS_ENCODING=UTF-8
|
||||||
|
|
||||||
|
RESID_FTP_CONNECTORSERVICE_NAME=FTP Connector Service
|
||||||
|
RESID_FTP_CONNECTORSERVICE_DESCRIPTION=The FTP Connector Service uses the FTP protocol to connect to a remote host. You must have an FTP daemon running on the host.
|
|
@ -15,6 +15,7 @@
|
||||||
* Javier Montalvo Orus (Symbian) - Bug 161209 - Need a Log of ftp commands
|
* Javier Montalvo Orus (Symbian) - Bug 161209 - Need a Log of ftp commands
|
||||||
* Javier Montalvo Orus (Symbian) - Bug 169680 - [ftp] FTP files subsystem and service should use passive mode
|
* Javier Montalvo Orus (Symbian) - Bug 169680 - [ftp] FTP files subsystem and service should use passive mode
|
||||||
* David Dykstal (IBM) - 168977: refactoring IConnectorService and ServerLauncher hierarchies
|
* David Dykstal (IBM) - 168977: refactoring IConnectorService and ServerLauncher hierarchies
|
||||||
|
* Martin Oberhuber (WindRiver) - [cleanup] move FTPSubsystemResources out of core
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.subsystems.files.ftp.connectorservice;
|
package org.eclipse.rse.internal.subsystems.files.ftp.connectorservice;
|
||||||
|
@ -27,8 +28,8 @@ import org.eclipse.rse.core.model.IPropertySet;
|
||||||
import org.eclipse.rse.core.model.PropertyType;
|
import org.eclipse.rse.core.model.PropertyType;
|
||||||
import org.eclipse.rse.core.model.SystemSignonInformation;
|
import org.eclipse.rse.core.model.SystemSignonInformation;
|
||||||
import org.eclipse.rse.internal.services.files.ftp.FTPService;
|
import org.eclipse.rse.internal.services.files.ftp.FTPService;
|
||||||
|
import org.eclipse.rse.internal.subsystems.files.ftp.FTPSubsystemResources;
|
||||||
import org.eclipse.rse.services.files.IFileService;
|
import org.eclipse.rse.services.files.IFileService;
|
||||||
import org.eclipse.rse.subsystems.files.core.SystemFileResources;
|
|
||||||
import org.eclipse.rse.ui.subsystems.StandardConnectorService;
|
import org.eclipse.rse.ui.subsystems.StandardConnectorService;
|
||||||
import org.eclipse.ui.console.ConsolePlugin;
|
import org.eclipse.ui.console.ConsolePlugin;
|
||||||
import org.eclipse.ui.console.IConsole;
|
import org.eclipse.ui.console.IConsole;
|
||||||
|
@ -43,7 +44,7 @@ public class FTPConnectorService extends StandardConnectorService
|
||||||
|
|
||||||
public FTPConnectorService(IHost host, int port)
|
public FTPConnectorService(IHost host, int port)
|
||||||
{
|
{
|
||||||
super(SystemFileResources.RESID_FTP_CONNECTORSERVICE_NAME,SystemFileResources.RESID_FTP_CONNECTORSERVICE_DESCRIPTION, host, port);
|
super(FTPSubsystemResources.RESID_FTP_CONNECTORSERVICE_NAME,FTPSubsystemResources.RESID_FTP_CONNECTORSERVICE_DESCRIPTION, host, port);
|
||||||
_ftpService = new FTPService();
|
_ftpService = new FTPService();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue