KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > api > debugger > DebuggerManagerListener


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.api.debugger;
21
22 import java.beans.PropertyChangeListener JavaDoc;
23
24 /**
25  * This listener notifies about changes in the
26  * {@link org.netbeans.api.debugger.DebuggerManager} - breakpoints, watches
27  * and sessions.
28  *
29  * @author Jan Jancura
30  */

31 public interface DebuggerManagerListener extends PropertyChangeListener JavaDoc {
32
33     /**
34      * Called when set of breakpoints is initialized.
35      *
36      * @return initial set of breakpoints
37      */

38     public Breakpoint[] initBreakpoints ();
39
40     /**
41      * Called when some breakpoint is added.
42      *
43      * @param breakpoint a new breakpoint
44      */

45     public void breakpointAdded (Breakpoint breakpoint);
46
47     /**
48      * Called when some breakpoint is removed.
49      *
50      * @param breakpoint removed breakpoint
51      */

52     public void breakpointRemoved (Breakpoint breakpoint);
53
54     /**
55      * Called when set of watches is initialized.
56      */

57     public void initWatches ();
58
59     /**
60      * Called when some watch is added.
61      *
62      * @param watch a new watch
63      */

64     public void watchAdded (Watch watch);
65
66     /**
67      * Called when some watch is removed.
68      *
69      * @param watch removed watch
70      */

71     public void watchRemoved (Watch watch);
72
73     /**
74      * Called when some session is added.
75      *
76      * @param session a new session
77      */

78     public void sessionAdded (Session session);
79
80     /**
81      * Called when some session is removed.
82      *
83      * @param session removed session
84      */

85     public void sessionRemoved (Session session);
86
87     /**
88      * Called when some engine is added.
89      *
90      * @param engine a new engine
91      */

92     public void engineAdded (DebuggerEngine engine);
93
94     /**
95      * Called when some engine is removed.
96      *
97      * @param engine removed engine
98      */

99     public void engineRemoved (DebuggerEngine engine);
100 }
101
Popular Tags