|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2000, 2005 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2011 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 28-39
Link Here
|
| 28 |
import org.eclipse.debug.core.DebugException; |
28 |
import org.eclipse.debug.core.DebugException; |
| 29 |
import org.eclipse.debug.core.DebugPlugin; |
29 |
import org.eclipse.debug.core.DebugPlugin; |
| 30 |
import org.eclipse.debug.core.IBreakpointManager; |
30 |
import org.eclipse.debug.core.IBreakpointManager; |
| 31 |
import org.eclipse.debug.internal.core.BreakpointManager; |
|
|
| 32 |
import org.eclipse.debug.internal.core.DebugCoreMessages; |
31 |
import org.eclipse.debug.internal.core.DebugCoreMessages; |
| 33 |
|
32 |
|
| 34 |
/** |
33 |
/** |
| 35 |
* Abstract implementation of a breakpoint. This class is |
34 |
* Abstract implementation of a breakpoint. This class is |
| 36 |
* intended to be subclassed by implementations |
35 |
* intended to be sub-classed by implementations |
| 37 |
* of breakpoints. |
36 |
* of breakpoints. |
| 38 |
* |
37 |
* |
| 39 |
* @see IBreakpoint |
38 |
* @see IBreakpoint |
|
Lines 46-61
Link Here
|
| 46 |
* Underlying marker. |
45 |
* Underlying marker. |
| 47 |
*/ |
46 |
*/ |
| 48 |
private IMarker fMarker= null; |
47 |
private IMarker fMarker= null; |
| 49 |
|
|
|
| 50 |
/** |
| 51 |
* Default constructor used to ensure that breakpoint manager is initialized. |
| 52 |
*/ |
| 53 |
public Breakpoint() { |
| 54 |
// making sure that the BreakpointManager is correctly initialized |
| 55 |
// before any breakpoint marker related operation (see bug 54993) |
| 56 |
((BreakpointManager)DebugPlugin.getDefault().getBreakpointManager()).ensureBreakpointsInitialized(); |
| 57 |
} |
| 58 |
|
| 59 |
|
48 |
|
| 60 |
/** |
49 |
/** |
| 61 |
* @see IBreakpoint#setMarker(IMarker) |
50 |
* @see IBreakpoint#setMarker(IMarker) |