cdt/cdt_6_0_x/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/breakpoints/PDALineBreakpoint.java
changeset 114 ecab18a5e4de
parent 37 c2bce6dd59e7
equal deleted inserted replaced
113:667ad333ca58 114:ecab18a5e4de
    28  * This class is identical to the corresponding in PDA debugger implemented in 
    28  * This class is identical to the corresponding in PDA debugger implemented in 
    29  * org.eclipse.debug.examples.
    29  * org.eclipse.debug.examples.
    30  * </p>
    30  * </p>
    31  */
    31  */
    32 public class PDALineBreakpoint extends LineBreakpoint {
    32 public class PDALineBreakpoint extends LineBreakpoint {
       
    33 	
       
    34 	public static final String INSTALLED = "INSTALLED";
    33 	
    35 	
    34 	/**
    36 	/**
    35 	 * Default constructor is required for the breakpoint manager
    37 	 * Default constructor is required for the breakpoint manager
    36 	 * to re-create persisted breakpoints. After instantiating a breakpoint,
    38 	 * to re-create persisted breakpoints. After instantiating a breakpoint,
    37 	 * the <code>setMarker(...)</code> method is called to restore
    39 	 * the <code>setMarker(...)</code> method is called to restore
    77 	 * @return whether this breakpoint is a run-to-line breakpoint
    79 	 * @return whether this breakpoint is a run-to-line breakpoint
    78 	 */
    80 	 */
    79 	public boolean isRunToLineBreakpoint() {
    81 	public boolean isRunToLineBreakpoint() {
    80 		return false;
    82 		return false;
    81 	}
    83 	}
       
    84 	
       
    85 	public void setInstalled(boolean installed) throws CoreException {
       
    86 		setAttribute(INSTALLED, installed);
       
    87 	}
       
    88     
       
    89 	public boolean getInstalled() throws CoreException {
       
    90 		return ensureMarker().getAttribute(INSTALLED, false);
       
    91 	}
    82     
    92     
    83 }
    93 }