diff options
Diffstat (limited to 'bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command')
3 files changed, 0 insertions, 130 deletions
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/NullStatusMonitor.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/NullStatusMonitor.java deleted file mode 100644 index c0454d107..000000000 --- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/NullStatusMonitor.java +++ /dev/null @@ -1,61 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2004 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.jst.ws.internal.command; - -import java.util.Vector; -import org.eclipse.core.runtime.IStatus; - -/** -* A NullStatusRenderer throws away IStatus information. -*/ -public class NullStatusMonitor implements StatusMonitor -{ - - // Copyright - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002."; - - protected boolean result; - - /** - * Default constructor. - */ - public NullStatusMonitor () {} - /** - * Does nothing. - */ - public int reportStatus(IStatus status, Vector options) { return 0; } - public boolean reportStatus(IStatus status) - { - switch (status.getSeverity()) - { - case IStatus.ERROR: - case IStatus.WARNING: - result = false; - break; - case IStatus.INFO: - default: //IStatus.OK - result = true; - break; - } - return result; - } - public void dumpSavedStatus() { } - public boolean canContinue() - { - return result; - } - - public void reset () { - result = true; - } -} - diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusMonitor.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusMonitor.java deleted file mode 100644 index de0758f77..000000000 --- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusMonitor.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2004 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.jst.ws.internal.command; - -import java.util.Vector; -import org.eclipse.core.runtime.IStatus; - -/** -* A StatusMonitor reports IStatus information to a display system. -*/ -public interface StatusMonitor -{ - - // Copyright - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002."; - - /** - * reports the contents of the given status object. - * Subclasses must implement this method to report - * IStatus information to a given display system, - * such as SWT, the command line, or a trace file. - */ - public int reportStatus(IStatus status, Vector options); - public boolean reportStatus(IStatus status); - public void dumpSavedStatus(); - public boolean canContinue(); - public void reset(); -} diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusRenderer.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusRenderer.java deleted file mode 100644 index 0cff3a6b8..000000000 --- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusRenderer.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2004 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.jst.ws.internal.command; - -import org.eclipse.core.runtime.IStatus; - -/** -* A StatusRenderer renders IStatus information to a display system. -*/ -public interface StatusRenderer -{ - - // Copyright - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002."; - - /** - * Renders the contents of the given status object. - * Subclasses must implement this method to render - * IStatus information to a given display system, - * such as SWT, the command line, or a trace file. - */ - public void render ( IStatus status ); -} |