de.sciss.common
Class BasicCompoundEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by javax.swing.undo.CompoundEdit
          extended by de.sciss.app.AbstractCompoundEdit
              extended by de.sciss.common.BasicCompoundEdit
All Implemented Interfaces:
PerformableEdit, java.io.Serializable, javax.swing.undo.UndoableEdit

public class BasicCompoundEdit
extends AbstractCompoundEdit

This subclass of SyncCompoundEdit is the most basic extension of the abstract class which simply puts empty bodies for the abstract methods.

Version:
0.70, 01-May-06
Author:
Hanns Holger Rutz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.undo.CompoundEdit
edits
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
BasicCompoundEdit()
          Creates a CompountEdit object
BasicCompoundEdit(java.lang.String presentationName)
          Creates a CompountEdit object with a given name
 
Method Summary
protected  void cancelDone()
          Does nothing
 boolean isSignificant()
           
protected  void redoDone()
          Does nothing
 void setSignificant(boolean b)
           
protected  void undoDone()
          Does nothing
 
Methods inherited from class de.sciss.app.AbstractCompoundEdit
addPerform, cancel, debugDump, getPresentationName, getRedoPresentationName, getResourceString, getUndoPresentationName, perform, redo, undo
 
Methods inherited from class javax.swing.undo.CompoundEdit
addEdit, canRedo, canUndo, die, end, isInProgress, 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
 
Methods inherited from interface javax.swing.undo.UndoableEdit
addEdit, canRedo, canUndo, die, replaceEdit
 

Constructor Detail

BasicCompoundEdit

public BasicCompoundEdit()
Creates a CompountEdit object


BasicCompoundEdit

public BasicCompoundEdit(java.lang.String presentationName)
Creates a CompountEdit object with a given name

Parameters:
presentationName - text describing the compound edit
Method Detail

isSignificant

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

setSignificant

public void setSignificant(boolean b)

undoDone

protected void undoDone()
Does nothing

Specified by:
undoDone in class AbstractCompoundEdit

redoDone

protected void redoDone()
Does nothing

Specified by:
redoDone in class AbstractCompoundEdit

cancelDone

protected void cancelDone()
Does nothing

Specified by:
cancelDone in class AbstractCompoundEdit