|
Eclipse JDT Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface IBuffer.ITextEditCapability
Implementors of IBuffer can additionally implement IBuffer.ITextEditCapability.
This adds the capability to apply text edits to the buffer and will be used by
ICompilationUnit.applyTextEdit(TextEdit, IProgressMonitor).
This interface may be implemented by clients.
| Method Summary | |
|---|---|
UndoEdit |
applyTextEdit(TextEdit edit,
IProgressMonitor monitor)
Applies a text edit to this underlying buffer. |
| Method Detail |
|---|
UndoEdit applyTextEdit(TextEdit edit,
IProgressMonitor monitor)
throws JavaModelException
edit - the edit to applymonitor - the progress monitor to use or null if no progress should be reported
JavaModelException - if this edit can not be applied to the buffer. Reasons include:
IJavaModelStatusConstants.BAD_TEXT_EDIT_LOCATION)}.
|
Eclipse JDT 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) 2000, 2010 IBM Corporation and others. All rights reserved.