KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > compiler > IDebugRequestor


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.jdt.internal.compiler;
12
13 public interface IDebugRequestor {
14
15     /*
16      * Debug callback method allowing to take into account a new compilation result.
17      * Any side-effect performed on the actual result might interfere with the
18      * original compiler requestor, and should be prohibited.
19      */

20     void acceptDebugResult(CompilationResult result);
21
22     /*
23      * Answers true when in active mode
24      */

25     boolean isActive();
26     
27     /*
28      * Activate debug callbacks
29      */

30     void activate();
31
32     /*
33      * Deactivate debug callbacks
34      */

35     void deactivate();
36     
37     /*
38      * Reset debug requestor after compilation has finished
39      */

40     void reset();
41 }
42
43
Popular Tags