hep.wired.heprep.edit
Class SetProjection

java.lang.Object
  extended byjavax.swing.undo.AbstractUndoableEdit
      extended byorg.freehep.swing.undo.AbstractDoableEdit
          extended byorg.freehep.swing.undo.AnimatedEdit
              extended byhep.wired.edit.WiredEdit
                  extended byhep.wired.heprep.edit.SetProjection
All Implemented Interfaces:
org.freehep.swing.undo.DoableEdit, hep.wired.services.Edit, hep.wired.edit.GraphicsPanelEdit, org.freehep.swing.undo.LinkableEdit, java.io.Serializable, javax.swing.undo.UndoableEdit, hep.wired.util.WiredRegistry.ID

public class SetProjection
extends hep.wired.edit.WiredEdit
implements hep.wired.edit.GraphicsPanelEdit

Set a projection for the plot.

Version:
$Id: SetProjection.java 690 2005-03-16 09:07:07Z 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
SetProjection(Projection projection)
          Creates a projection edit with given projection.
 
Method Summary
 boolean addEdit(javax.swing.undo.UndoableEdit edit)
           
 hep.wired.edit.WiredEdit copy(hep.wired.services.RecordPlot plot)
           
 java.lang.String getPresentationName()
           
 boolean isSupportedBy(hep.wired.services.GraphicsPanel p)
           
protected  void redoEdit()
           
protected  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 hep.wired.util.WiredRegistry.ID
getID
 
Methods inherited from interface javax.swing.undo.UndoableEdit
canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit
 

Constructor Detail

SetProjection

public SetProjection(Projection projection)
Creates a projection edit with given projection.

Method Detail

copy

public hep.wired.edit.WiredEdit copy(hep.wired.services.RecordPlot plot)

getPresentationName

public java.lang.String getPresentationName()
Specified by:
getPresentationName in interface javax.swing.undo.UndoableEdit

isSupportedBy

public boolean isSupportedBy(hep.wired.services.GraphicsPanel p)
Specified by:
isSupportedBy in interface hep.wired.edit.GraphicsPanelEdit

addEdit

public boolean addEdit(javax.swing.undo.UndoableEdit edit)
Specified by:
addEdit in interface javax.swing.undo.UndoableEdit

redoEdit

protected void redoEdit()

undoEdit

protected void undoEdit()


Copyright © 1996-2005 WIRED - FreeHEP. All Rights Reserved.