KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ant > internal > ui > debug > IAntDebugController


1 /*******************************************************************************
2  * Copyright (c) 2004, 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.ant.internal.ui.debug;
12
13 import org.eclipse.debug.core.model.IBreakpoint;
14
15 public interface IAntDebugController {
16     
17     /**
18      * Resume the Ant build
19      */

20     public void resume();
21     
22     /**
23      * Suspend the Ant build
24      */

25     public void suspend();
26     
27      /**
28      * Step into the current Ant task
29      */

30     public void stepInto();
31     
32      /**
33      * Step over the current Ant task
34      */

35     public void stepOver();
36     
37     /**
38      * The provided breakpoint has been added or removed depending on the <code>added</code> parameter.
39      * Updates the controller for this change.
40      *
41      * @param breakpoint the breakpoint that has been added or removed
42      * @param added whether or not the breakpoint has been added
43      */

44     public void handleBreakpoint(IBreakpoint breakpoint, boolean added);
45     
46      /**
47      * Retrieve the properties of the Ant build.
48      * May occur asynchronously depending on implementation.
49      */

50     public void getProperties();
51     
52     /**
53      * Retrieve the stack frames of the Ant build.
54      * May occur asynchronously depending on implementation.
55      */

56     public void getStackFrames();
57
58     /**
59      * Some strings are escaped when marshalled for socket communication.
60      * The Ant debug controller will properly unescape these Strings if required.
61      *
62      * @param value The buffer of the string to unescape
63      * @return The unescaped string
64      */

65     public StringBuffer JavaDoc unescapeString(StringBuffer JavaDoc value);
66 }
67
Popular Tags