diff --git a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/IRemoteSystemEnvVar.java b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/IRemoteSystemEnvVar.java index 7dee38bcdc0..bf776b5faac 100644 --- a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/IRemoteSystemEnvVar.java +++ b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/IRemoteSystemEnvVar.java @@ -12,26 +12,13 @@ * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * * Contributors: - * {Name} (company) - description of contribution. + * David McKnight (IBM) - [208813] removing deprecated APIs *******************************************************************************/ package org.eclipse.rse.core.subsystems; -// - -/** - * @lastgen interface RemoteSystemEnvVar {} - */ - public interface IRemoteSystemEnvVar { - /** - * - * - * @generated - */ - String copyright = "(c) Copyright IBM Corporation 2002, 2004."; //$NON-NLS-1$ - /** * @generated This field/method will be replaced during code generation * @return The value of the Name attribute @@ -58,19 +45,4 @@ public interface IRemoteSystemEnvVar { */ void setValue(String value); - /** - * @generated This field/method will be replaced during code generation - * @return The value of the AdditionalAttributes attribute - * Additional attributes that may need to be persisted per environment variable. - * @deprecated - */ - String getAdditionalAttributes(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the AdditionalAttributes attribute - * @deprecated - */ - void setAdditionalAttributes(String value); - } diff --git a/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/internal/subsystems/shells/subsystems/RemoteSystemEnvVar.java b/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/internal/subsystems/shells/subsystems/RemoteSystemEnvVar.java index 3d74ef42db2..722f7216e1b 100644 --- a/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/internal/subsystems/shells/subsystems/RemoteSystemEnvVar.java +++ b/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/internal/subsystems/shells/subsystems/RemoteSystemEnvVar.java @@ -12,7 +12,7 @@ * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * * Contributors: - * {Name} (company) - description of contribution. + * David McKnight (IBM) - [208813] removing deprecated APIs *******************************************************************************/ package org.eclipse.rse.internal.subsystems.shells.subsystems; @@ -28,9 +28,6 @@ import org.eclipse.rse.core.subsystems.IRemoteSystemEnvVar; /** * Encapsulation of environment variable properties set uniquely per connection. */ -/** - * @lastgen class RemoteSystemEnvVarImpl Impl implements RemoteSystemEnvVar {} - */ public class RemoteSystemEnvVar implements IRemoteSystemEnvVar { /** @@ -70,14 +67,8 @@ public class RemoteSystemEnvVar implements IRemoteSystemEnvVar * @generated This field/method will be replaced during code generation. */ protected String value = VALUE_EDEFAULT; - /** - * The default value of the '{@link #getAdditionalAttributes() Additional Attributes}' attribute. - * - * - * @see #getAdditionalAttributes() - * @generated - * @ordered - */ + + protected static final String ADDITIONAL_ATTRIBUTES_EDEFAULT = null; /** @@ -126,24 +117,6 @@ public class RemoteSystemEnvVar implements IRemoteSystemEnvVar value = newValue; } - /** - * @generated This field/method will be replaced during code generation - * Additional attributes that may need to be persisted per environment variable. - * @deprecated - */ - public String getAdditionalAttributes() - { - return additionalAttributes; - } - - /** - * @generated This field/method will be replaced during code generation. - * @deprecated - */ - public void setAdditionalAttributes(String newAdditionalAttributes) - { - additionalAttributes = newAdditionalAttributes; - } /** * @generated This field/method will be replaced during code generation. diff --git a/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/subsystems/shells/core/subsystems/IRemoteCmdSubSystem.java b/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/subsystems/shells/core/subsystems/IRemoteCmdSubSystem.java index d903124b7b3..39db33c7d54 100644 --- a/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/subsystems/shells/core/subsystems/IRemoteCmdSubSystem.java +++ b/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/subsystems/shells/core/subsystems/IRemoteCmdSubSystem.java @@ -12,6 +12,7 @@ * * Contributors: * Martin Oberhuber (Wind River) - [186128] Move IProgressMonitor last in all API + * David McKnight (IBM) - [208813] removing deprecated APIs ********************************************************************************/ package org.eclipse.rse.subsystems.shells.core.subsystems; @@ -70,15 +71,6 @@ public interface IRemoteCmdSubSystem extends ISubSystem{ */ public IRemoteCommandShell runShell(Object context, IProgressMonitor monitor) throws Exception; - /** - * Send a command as input to a running command shell. - * @param input the command to invoke in the shell. - * @param commandObject the shell or command to send the invocation to. - * - * @deprecated use sendCommandToShell(IProgressMonitor, String input, Object commmandObject) - */ - public void sendCommandToShell(String input, Object commandObject) throws Exception; - /** * Send a command as input to a running command shell. * @param input the command to invoke in the shell. diff --git a/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/subsystems/shells/core/subsystems/RemoteCmdSubSystem.java b/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/subsystems/shells/core/subsystems/RemoteCmdSubSystem.java index def0641c819..43b88e4fefd 100644 --- a/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/subsystems/shells/core/subsystems/RemoteCmdSubSystem.java +++ b/rse/plugins/org.eclipse.rse.subsystems.shells.core/src/org/eclipse/rse/subsystems/shells/core/subsystems/RemoteCmdSubSystem.java @@ -852,48 +852,7 @@ public abstract class RemoteCmdSubSystem extends SubSystem implements IRemoteCmd return runCommand(command, context, true, monitor); } - /** - * Send a command as input to a running command shell. - * - * @param input the command to invoke in the shell. - * @param commandObject the shell or command to send the invocation to. - * - * @deprecated use {@link #sendCommandToShell(String, Object, IProgressMonitor)} - */ - public void sendCommandToShell(String input, Object commandObject) throws Exception - { - boolean ok = true; - if (!isConnected()) - ok = promptForPassword(); - if (ok) - { - Display display = Display.getCurrent(); - if (display != null) - { - internalSendCommandToShell(input, commandObject, new NullProgressMonitor()); - } - else - { - try - { - SendCommandToShellJob job = new SendCommandToShellJob(input, commandObject); - - scheduleJob(job, null); - } - catch (InterruptedException exc) - { - if (shell == null) - throw exc; - else - showOperationCancelledMessage(shell); - } - } - } - else - SystemBasePlugin.logDebugMessage(this.getClass().getName(), - "in SubSystemImpl.sendCommandToShell: isConnected() returning false!"); //$NON-NLS-1$ - - } + /** * Send a command as input to a running command shell.