KickJava   Java API By Example, From Geeks To Geeks.

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


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.PropertyChangeEvent JavaDoc;
23
24 /**
25  * Empty implementation of
26  * {@link DebuggerManagerListener}.
27  *
28  * @author Jan Jancura
29  */

30 public class DebuggerManagerAdapter implements LazyDebuggerManagerListener {
31
32     /**
33      * Called when set of breakpoints is initialized.
34      *
35      * @return initial set of breakpoints
36      */

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

46     public void breakpointAdded (Breakpoint breakpoint) {
47     }
48
49     /**
50      * Called when some breakpoint is removed.
51      *
52      * @param breakpoint removed breakpoint
53      */

54     public void breakpointRemoved (Breakpoint breakpoint) {
55     }
56
57     /**
58      * Called when set of watches is initialized.
59      *
60      * @return initial set of watches
61      */

62     public void initWatches () {
63     }
64
65     /**
66      * Called when some watch is added.
67      *
68      * @param watch a new watch
69      */

70     public void watchAdded (Watch watch) {
71     }
72
73     /**
74      * Called when some watch is removed.
75      *
76      * @param watch removed watch
77      */

78     public void watchRemoved (Watch watch) {
79     }
80
81     /**
82      * Called when some session is added.
83      *
84      * @param session a new session
85      */

86     public void sessionAdded (Session session) {
87     }
88
89     /**
90      * Called when some session is removed.
91      *
92      * @param session removed session
93      */

94     public void sessionRemoved (Session session) {
95     }
96
97     /**
98      * Called when some engine is added.
99      *
100      * @param engine a new engine
101      */

102     public void engineAdded (DebuggerEngine engine) {
103     }
104
105     /**
106      * Called when some engine is removed.
107      *
108      * @param engine removed engine
109      */

110     public void engineRemoved (DebuggerEngine engine) {
111     }
112     
113     public void propertyChange (PropertyChangeEvent JavaDoc evt) {
114     }
115     
116     public String JavaDoc[] getProperties () {
117         return new String JavaDoc [0];
118     }
119 }
120
Popular Tags