|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.cmd.buffer.Edit
public abstract class Edit
The Edit class contains the method
applyEdit to apply an edit (single or compound)
to a document. IDE Addins can provide a class, which implements
this interface, to do all the inserts and removes for a single
undoable (or non-undoable) edit, and use the
EditProcessor to apply the edit so that any
notifications and undos are handled properly.
EditProcessor| Constructor Summary | |
|---|---|
Edit()
|
|
| Method Summary | |
|---|---|
abstract void |
applyEdit(TextBuffer textBuffer)
Applies the edits the first time through in proper sequence. |
abstract java.lang.String |
getUndoName()
Fetches the human-readable (translateable) name for this undo, typically displayed in the Edit->Undo menu item. |
abstract boolean |
isUndoable()
Fetches whether this edit should be undoable or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Edit()
| Method Detail |
|---|
public abstract void applyEdit(TextBuffer textBuffer)
textBuffer - the text buffer to apply the edit to, this is
associated with the document passed to the EditProcessorpublic abstract boolean isUndoable()
public abstract java.lang.String getUndoName()
return - the undo name
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||