Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerProcess.java')
-rw-r--r--plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerProcess.java68
1 files changed, 0 insertions, 68 deletions
diff --git a/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerProcess.java b/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerProcess.java
deleted file mode 100644
index fc76ce13a..000000000
--- a/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerProcess.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 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
- *
- * Contributors:
- * IBM Corporation - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.server.ui.internal.actions;
-
-import org.eclipse.debug.core.DebugException;
-import org.eclipse.debug.core.ILaunch;
-import org.eclipse.debug.core.model.IProcess;
-import org.eclipse.debug.core.model.IStreamsProxy;
-import org.eclipse.wst.server.ui.internal.Messages;
-/**
- * Dummy IProcess so that a Run on Server launch can be terminated.
- */
-public class RunOnServerProcess implements IProcess {
- protected ILaunch launch;
- protected boolean isTerminated;
-
- public RunOnServerProcess(ILaunch launch) {
- this.launch = launch;
- }
-
- public String getAttribute(String arg0) {
- return null;
- }
-
- public int getExitValue() throws DebugException {
- return 0;
- }
-
- public String getLabel() {
- return Messages.processName;
- }
-
- public ILaunch getLaunch() {
- return launch;
- }
-
- public IStreamsProxy getStreamsProxy() {
- return null;
- }
-
- public void setAttribute(String arg0, String arg1) {
- // ignore
- }
-
- public Object getAdapter(Class arg0) {
- return null;
- }
-
- public boolean canTerminate() {
- return true;
- }
-
- public boolean isTerminated() {
- return isTerminated;
- }
-
- public void terminate() throws DebugException {
- isTerminated = true;
- }
-} \ No newline at end of file

Back to the top