|Constructor and Description|
Constructs an operation to export breakpoints to a string buffer.
Constructs an operation to export breakpoints to a file.
|Modifier and Type||Method and Description|
Returns a string buffer containing a memento of the exported breakpoints or
Runs this operation.
public ExportBreakpointsOperation(IBreakpoint breakpoints, String fileName)
breakpoints- the breakpoints to export
fileName- absolute path of file to export breakpoints to - the file will be overwritten if it already exists
public void run(IProgressMonitor monitor) throws InvocationTargetException
runmethod, which supplies the progress monitor. A request to cancel the operation should be honored and acknowledged by throwing
monitor- the progress monitor to use to display progress and receive requests for cancelation
InvocationTargetException- if the run method must propagate a checked exception, it should wrap it inside an
InvocationTargetException; runtime exceptions are automatically wrapped in an
InvocationTargetExceptionby the calling context
IRunnableContext.run(boolean, boolean, org.eclipse.jface.operation.IRunnableWithProgress)
public StringBuffer getBuffer()
nullif the operation was configured to export to a file. The memento can be used to import breakpoints into the workspace using an
nullif the operation was configured to export to a file
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.