|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
javax.swing.undo.UndoManager
jcreek.cke.browser.CreekUndoManager
Our specialized undo manager that adds functionality to remove undoable edits that are associated with a specific Creek document.
Field Summary |
Fields inherited from class javax.swing.undo.CompoundEdit |
edits |
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
RedoName, UndoName |
Constructor Summary | |
CreekUndoManager()
Creates a new CreekUndoManager object. |
Method Summary | |
void |
reattachEdits(CreekDocument oldDoc,
CreekDocument newDoc)
Tell the edits associated with the old document that they should reattach themselves to the new document. |
void |
trimEdits(CreekDocument doc)
Removes all edits associated with the given document. |
Methods inherited from class javax.swing.undo.UndoManager |
addEdit, canRedo, canUndo, canUndoOrRedo, discardAllEdits, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redo, redoTo, setLimit, toString, trimEdits, trimForLimit, undo, undoableEditHappened, undoOrRedo, undoTo |
Methods inherited from class javax.swing.undo.CompoundEdit |
die, getPresentationName, isInProgress, isSignificant, lastEdit |
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
replaceEdit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CreekUndoManager()
Method Detail |
public void reattachEdits(CreekDocument oldDoc, CreekDocument newDoc)
oldDoc
- previous documentnewDoc
- new documentpublic void trimEdits(CreekDocument doc)
doc
- document for which all edits should be removed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |