KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > core > model > ILineBreakpoint


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.model;
12
13  
14 import org.eclipse.core.runtime.CoreException;
15
16 /**
17  * A breakpoint that can be located at a specific line of source code.
18  */

19 public interface ILineBreakpoint extends IBreakpoint {
20
21 /**
22  * Returns the line number in the original source that corresponds
23  * to the location of this breakpoint, or -1 if the attribute is not
24  * present.
25  *
26  * @return this breakpoint's line number, or -1 if unknown
27  * @exception CoreException if a <code>CoreException</code> is thrown
28  * while accessing the underlying <code>IMarker.LINE_NUMBER</code> marker attribute
29  */

30 public int getLineNumber() throws CoreException;
31 /**
32  * Returns starting source index in the original source that corresponds
33  * to the location of this breakpoint, or -1 if the attribute is not present.
34  *
35  * @return this breakpoint's char start value, or -1 if unknown
36  * @exception CoreException if a <code>CoreException</code> is thrown
37  * while accessing the underlying <code>IMarker.CHAR_START</code> marker attribute
38  */

39 public int getCharStart() throws CoreException;
40 /**
41  * Returns ending source index in the original source that corresponds
42  * to the location of this breakpoint, or -1 if the attribute is not present.
43  *
44  * @return this breakpoint's char end value, or -1 if unknown
45  * @exception CoreException if a <code>CoreException</code> is thrown
46  * while accessing the underlying <code>IMarker.CHAR_END</code> marker attribute
47  */

48 public int getCharEnd() throws CoreException;
49 }
50
51
Popular Tags