hep.wired.edit
Class NoOperation

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by org.freehep.swing.undo.AbstractDoableEdit
          extended by org.freehep.swing.undo.AnimatedEdit
              extended by hep.wired.edit.WiredEdit
                  extended by hep.wired.edit.NoOperation
All Implemented Interfaces:
Edit, WiredRegistry.ID, Serializable, UndoableEdit, org.freehep.swing.undo.DoableEdit, org.freehep.swing.undo.LinkableEdit

public class NoOperation
extends WiredEdit

No Operation Edit, useful to fill a compound edit.

Version:
$Id: NoOperation.java 8598 2006-08-14 20:38:02Z duns $
Author:
Mark Donszelmann
See Also:
Serialized Form

Field Summary
 
Fields inherited from class hep.wired.edit.WiredEdit
format
 
Fields inherited from class org.freehep.swing.undo.AbstractDoableEdit
firstTimeDone
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
NoOperation()
          Creates a dummy operation, which can be used as placeholder.
 
Method Summary
 boolean addEdit(UndoableEdit edit)
           
 WiredEdit copy(RecordPlot plot)
          Creates a copy of the edit which is attached to the plot, and thus can be (re/un)done.
 String getPresentationName()
           
 void redoEdit()
           
 void undoEdit()
           
 
Methods inherited from class hep.wired.edit.WiredEdit
endAnimation, getID, getRecordPlot, setRecordPlot, showAnimation, startAnimation, toString
 
Methods inherited from class org.freehep.swing.undo.AnimatedEdit
createTransformedShape, getFrames, getNextEdit, getParent, getPreviousEdit, redo, setNextEdit, setParent, setPreviousEdit, undo
 
Methods inherited from class org.freehep.swing.undo.AbstractDoableEdit
canRedo, canUndo
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
die, getRedoPresentationName, getUndoPresentationName, isSignificant, 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
canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit
 

Constructor Detail

NoOperation

public NoOperation()
Creates a dummy operation, which can be used as placeholder.

Method Detail

copy

public WiredEdit copy(RecordPlot plot)
Description copied from class: WiredEdit
Creates a copy of the edit which is attached to the plot, and thus can be (re/un)done.

Specified by:
copy in class WiredEdit

getPresentationName

public String getPresentationName()
Specified by:
getPresentationName in interface UndoableEdit
Overrides:
getPresentationName in class AbstractUndoableEdit

addEdit

public boolean addEdit(UndoableEdit edit)
Specified by:
addEdit in interface UndoableEdit
Overrides:
addEdit in class AbstractUndoableEdit

redoEdit

public void redoEdit()
Specified by:
redoEdit in class org.freehep.swing.undo.AnimatedEdit

undoEdit

public void undoEdit()
Specified by:
undoEdit in class org.freehep.swing.undo.AnimatedEdit


Copyright © 1996-2013 FreeHEP. All Rights Reserved.