diff options
author | Darin Wright | 2003-09-25 03:43:46 +0000 |
---|---|---|
committer | Darin Wright | 2003-09-25 03:43:46 +0000 |
commit | 2d37580db9aca95ff9d2b3d7f1432ddecb02df14 (patch) | |
tree | 133c1fa446c45a1dc05ecc892e48a23fc542bfe8 /org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console | |
parent | 5964b1217a484e4c7e6303131c0f3650c4e4b23e (diff) | |
download | eclipse.platform.debug-2d37580db9aca95ff9d2b3d7f1432ddecb02df14.tar.gz eclipse.platform.debug-2d37580db9aca95ff9d2b3d7f1432ddecb02df14.tar.xz eclipse.platform.debug-2d37580db9aca95ff9d2b3d7f1432ddecb02df14.zip |
bug 43197 - Race condition between console line tracker and debug terminate event
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTracker.java | 6 | ||||
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTrackerExtension.java | 29 |
2 files changed, 29 insertions, 6 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTracker.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTracker.java index 310aac3e2..b05ebec90 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTracker.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTracker.java @@ -62,12 +62,6 @@ public interface IConsoleLineTracker { public void lineAppended(IRegion line); /** - * Notification that the input to the console has been closed. No - * more lines will be appended after this method is called. - */ - public void consoleClosed(); - - /** * Disposes this console line tracker. */ public void dispose(); diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTrackerExtension.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTrackerExtension.java new file mode 100644 index 000000000..26ee75fdd --- /dev/null +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTrackerExtension.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.debug.ui.console; + +/** + * An extension to the console line tracker interface that console line + * trackers may implement to be notified when output the console is complete. + * <p> + * Clients may implement this interface. + * </p> + * @since 3.0 + */ +public interface IConsoleLineTrackerExtension extends IConsoleLineTracker { + + /** + * Notification that all output streams connected to the console have been + * closed. No more lines will be appended after this method is called. + */ + public void consoleClosed(); + +} |