|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.debug.ui.actions.ExportBreakpointsOperation
public class ExportBreakpointsOperation
Exports breakpoints to a file or string buffer.
This class may be instantiated.
| Constructor Summary | |
|---|---|
ExportBreakpointsOperation(IBreakpoint[] breakpoints)
Constructs an operation to export breakpoints to a string buffer. |
|
ExportBreakpointsOperation(IBreakpoint[] breakpoints,
java.lang.String fileName)
Constructs an operation to export breakpoints to a file. |
|
| Method Summary | |
|---|---|
java.lang.StringBuffer |
getBuffer()
Returns a string buffer containing a memento of the exported breakpoints or null if the operation was configured to export to a file. |
void |
run(IProgressMonitor monitor)
Runs this operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExportBreakpointsOperation(IBreakpoint[] breakpoints,
java.lang.String fileName)
breakpoints - the breakpoints to exportfileName - absolute path of file to export breakpoints to - the file
will be overwritten if it already existspublic ExportBreakpointsOperation(IBreakpoint[] breakpoints)
getBuffer().
breakpoints - the breakpoints to export| Method Detail |
|---|
public void run(IProgressMonitor monitor)
throws java.lang.reflect.InvocationTargetException
IRunnableWithProgressIRunnableContext's run method,
which supplies the progress monitor.
A request to cancel the operation should be honored and acknowledged
by throwing InterruptedException.
run in interface IRunnableWithProgressmonitor - the progress monitor to use to display progress and receive
requests for cancelation
java.lang.reflect.InvocationTargetException - if the run method must propagate a checked exception,
it should wrap it inside an InvocationTargetException; runtime exceptions are automatically
wrapped in an InvocationTargetException by the calling contextIRunnableContext.run(boolean, boolean, org.eclipse.jface.operation.IRunnableWithProgress)public java.lang.StringBuffer getBuffer()
null if the operation was configured to export to a file.
The memento can be used to import breakpoints into the workspace using an
ImportBreakpointsOperation.
null if the operation was configured to export to a file
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.