diff options
Diffstat (limited to 'org.eclipse.debug.core/core/org/eclipse/debug/core/model/LineBreakpoint.java')
-rw-r--r-- | org.eclipse.debug.core/core/org/eclipse/debug/core/model/LineBreakpoint.java | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LineBreakpoint.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LineBreakpoint.java deleted file mode 100644 index c43f3555f..000000000 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LineBreakpoint.java +++ /dev/null @@ -1,62 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.debug.core.model; - - -import org.eclipse.core.resources.IMarker; -import org.eclipse.core.runtime.CoreException; - - -/** - * Abstract implementation of a line breakpoint. This class is - * intended to be subclassed by debug model specific implementations - * of line breakpoints. - * - * @see ILineBreakpoint - */ - -public abstract class LineBreakpoint extends Breakpoint implements ILineBreakpoint { - - - /** - * @see ILineBreakpoint#getLineNumber() - */ - public int getLineNumber() throws CoreException { - IMarker m = getMarker(); - if (m != null) { - return m.getAttribute(IMarker.LINE_NUMBER, -1); - } - return -1; - } - - /** - * @see ILineBreakpoint#getCharStart() - */ - public int getCharStart() throws CoreException { - IMarker m = getMarker(); - if (m != null) { - return m.getAttribute(IMarker.CHAR_START, -1); - } - return -1; - } - - /** - * @see ILineBreakpoint#getCharEnd() - */ - public int getCharEnd() throws CoreException { - IMarker m = getMarker(); - if (m != null) { - return m.getAttribute(IMarker.CHAR_END, -1); - } - return -1; - } -} - |