public class SetProjection extends WiredEdit implements GraphicsPanelEdit
RedoName, UndoName
Constructor and Description |
---|
SetProjection(Projection projection)
Creates a projection edit with given projection.
|
Modifier and Type | Method and Description |
---|---|
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() |
boolean |
isSupportedBy(GraphicsPanel p)
Returns true if this edit is supported by the given graphics panel.
|
protected void |
redoEdit() |
protected void |
undoEdit() |
endAnimation, getID, getRecordPlot, setRecordPlot, showAnimation, startAnimation, toString
createTransformedShape, getFrames, getNextEdit, getParent, getPreviousEdit, redo, setNextEdit, setParent, setPreviousEdit, undo
die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getID
canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit
public SetProjection(Projection projection)
public WiredEdit copy(RecordPlot plot)
WiredEdit
public String getPresentationName()
getPresentationName
in interface UndoableEdit
getPresentationName
in class AbstractUndoableEdit
public boolean isSupportedBy(GraphicsPanel p)
GraphicsPanelEdit
isSupportedBy
in interface GraphicsPanelEdit
p
- panel by which this edit will be handled.public boolean addEdit(UndoableEdit edit)
addEdit
in interface UndoableEdit
addEdit
in class AbstractUndoableEdit
protected void redoEdit()
redoEdit
in class org.freehep.swing.undo.AnimatedEdit
protected void undoEdit()
undoEdit
in class org.freehep.swing.undo.AnimatedEdit
Copyright © 1996-2014 FreeHEP. All Rights Reserved.