org.netbeans.modules.xml.xam
Class AbstractModel.ModelUndoableEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by javax.swing.undo.CompoundEdit
          extended by org.netbeans.modules.xml.xam.AbstractModel.ModelUndoableEdit
All Implemented Interfaces:
java.io.Serializable, javax.swing.undo.UndoableEdit
Direct Known Subclasses:
BpelModelImpl.BpelModelUndoableEdit
Enclosing class:
AbstractModel<T extends Component<T>>

protected class AbstractModel.ModelUndoableEdit
extends javax.swing.undo.CompoundEdit

See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Fields inherited from class javax.swing.undo.CompoundEdit
edits
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
protected AbstractModel.ModelUndoableEdit()
           
 
Method Summary
 boolean addEdit(javax.swing.undo.UndoableEdit anEdit)
           
 void justUndo()
           
 void redo()
           
 void undo()
           
 
Methods inherited from class javax.swing.undo.CompoundEdit
canRedo, canUndo, die, end, getPresentationName, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, lastEdit, toString
 
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
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

AbstractModel.ModelUndoableEdit

protected AbstractModel.ModelUndoableEdit()
Method Detail

addEdit

public boolean addEdit(javax.swing.undo.UndoableEdit anEdit)
Specified by:
addEdit in interface javax.swing.undo.UndoableEdit
Overrides:
addEdit in class javax.swing.undo.CompoundEdit

redo

public void redo()
          throws javax.swing.undo.CannotRedoException
Specified by:
redo in interface javax.swing.undo.UndoableEdit
Overrides:
redo in class javax.swing.undo.CompoundEdit
Throws:
javax.swing.undo.CannotRedoException

undo

public void undo()
          throws javax.swing.undo.CannotUndoException
Specified by:
undo in interface javax.swing.undo.UndoableEdit
Overrides:
undo in class javax.swing.undo.CompoundEdit
Throws:
javax.swing.undo.CannotUndoException

justUndo

public void justUndo()