KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > core > IDebugEventSetListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.debug.core;
12
13
14 /**
15  * A debug event set listener registers with the debug plug-in
16  * to receive event notification from programs being run or debugged.
17  * <p>
18  * When more than one event is reported, each event has occurred at the
19  * same location in a target program. For example, a breakpoint may
20  * reside at the same location at which a step request completes. In
21  * this case the breakpoint event and step end event are reported together
22  * in the same event set.
23  * </p>
24  * <p>
25  * Clients may implement this interface.
26  * </p>
27  * @see DebugEvent
28  * @since 2.0
29  */

30 public interface IDebugEventSetListener {
31     /**
32      * Notifies this listener of the given debug events.
33      * All of the events in the given event collection occurred
34      * at the same location the program be run or debugged.
35      *
36      * @param events the debug events
37      */

38     public void handleDebugEvents(DebugEvent[] events);
39 }
40
Popular Tags