Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/internal/shells/ui/actions/SystemTerminateRemoveShellAction.java')
-rw-r--r--rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/internal/shells/ui/actions/SystemTerminateRemoveShellAction.java59
1 files changed, 0 insertions, 59 deletions
diff --git a/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/internal/shells/ui/actions/SystemTerminateRemoveShellAction.java b/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/internal/shells/ui/actions/SystemTerminateRemoveShellAction.java
deleted file mode 100644
index 8b3176a3d..000000000
--- a/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/internal/shells/ui/actions/SystemTerminateRemoveShellAction.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/********************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- *
- * Initial Contributors:
- * The following IBM employees contributed to the Remote System Explorer
- * component that contains this file: David McKnight, Kushal Munir,
- * Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson,
- * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
- *
- * Contributors:
- * Martin Oberhuber (Wind River) - [174945] Remove obsolete icons from rse.shells.ui
- ********************************************************************************/
-
-package org.eclipse.rse.internal.shells.ui.actions;
-
-import org.eclipse.rse.internal.shells.ui.ShellResources;
-import org.eclipse.rse.internal.shells.ui.ShellsUIPlugin;
-import org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCmdSubSystem;
-import org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCommandShell;
-import org.eclipse.swt.widgets.Shell;
-
-
-
-public class SystemTerminateRemoveShellAction extends SystemTerminateShellAction
-{
- public SystemTerminateRemoveShellAction(Shell parent)
- {
- super(ShellResources.ACTION_CANCEL_REMOVE_SHELL_LABEL,
- ShellResources.ACTION_CANCEL_REMOVE_SHELL_TOOLTIP,
- ShellsUIPlugin.getDefault().getImageDescriptor(ShellsUIPlugin.ICON_SYSTEM_REMOVE_SHELL_ID),
- parent);
- }
-
- protected boolean isApplicable(IRemoteCommandShell cmdShell)
- {
- return true;
- }
-
-
- public void cancel(IRemoteCommandShell command)
- {
- try
- {
- IRemoteCmdSubSystem cmdSubSystem = command.getCommandSubSystem();
- if (cmdSubSystem != null)
- {
- cmdSubSystem.removeShell(command);
- }
- }
- catch (Exception e)
- {
- // RSEUIPlugin.getDefault().logInfo("Exception invoking command " + cmd + " on " + sysConn.getAliasName());
- }
- }
-
-} \ No newline at end of file

Back to the top