1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 18:56:02 +02:00

[179937] Mark IRemoteCmdSubsystem#getShellEncoding() deprecated

This commit is contained in:
Martin Oberhuber 2007-05-18 11:36:21 +00:00
parent b4d23ea0c6
commit 07eaaaeb0f
2 changed files with 7 additions and 1 deletions

View file

@ -19,6 +19,7 @@ package org.eclipse.rse.subsystems.shells.core.subsystems;
import java.util.List; import java.util.List;
import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.rse.core.model.IHost;
import org.eclipse.rse.core.subsystems.IRemoteSystemEnvVar; import org.eclipse.rse.core.subsystems.IRemoteSystemEnvVar;
import org.eclipse.rse.core.subsystems.ISubSystem; import org.eclipse.rse.core.subsystems.ISubSystem;
import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Shell;
@ -142,7 +143,9 @@ public interface IRemoteCmdSubSystem extends ISubSystem{
/** /**
* Returns the shell encoding to assume when reading IO from a remote shell * Returns the shell encoding to assume when reading IO from a remote shell.
*
* @deprecated use {@link IHost#getDefaultEncoding(boolean)} instead
*/ */
public String getShellEncoding(); public String getShellEncoding();

View file

@ -93,6 +93,9 @@ public abstract class RemoteCmdSubSystem extends SubSystem implements IRemoteCmd
return null; return null;
} }
/**
* @deprecated use {@link IHost#setDefaultEncoding(String, boolean)} instead
*/
public void setShellEncoding(String encoding) public void setShellEncoding(String encoding)
{ {
IPropertySet set = getPropertySet("Remote"); //$NON-NLS-1$ IPropertySet set = getPropertySet("Remote"); //$NON-NLS-1$