|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--harmonic.mz.data.ModelNode
|
+--harmonic.mz.undo.UndoRecord
|
+--harmonic.mz.undo.GeometryUndo
This is a subclass of UndoRecord for restoring entire geometries. It usually a pretty bad idea to use this. Normally undos that store some higher level data (the user fields) should be used. No extention module written by the creator the this application uses this undo class.
| Field Summary |
| Fields inherited from class harmonic.mz.undo.UndoRecord |
undo |
| Fields inherited from class harmonic.mz.data.ModelNode |
_fileRoot_, _thread_, ATTRIB_CONTROL_WIDGET, ATTRIB_LISTABLE, ATTRIB_PRESENTABLE, ATTRIB_PRIVATE, ATTRIB_REMOVEABLE, ATTRIB_RENAMEABLE, ATTRIB_SHOW_CONTEXT_MENU, ATTRIB_TYPE_FILTER, ATTRIB_USERGROUP, ATTRIB_VALUE_GROUP, ATTRIB_VE_LISTENER, bCustomCS, bDebug, bValid, name |
| Constructor Summary | |
GeometryUndo(FunctionStarter action,
harmonic.viewer3D.PaintStruct p)
Constructs a GeometryUndo |
|
GeometryUndo(FunctionStarter action,
harmonic.viewer3D.PaintStruct[] painters)
Constructs a GeometryUndo |
|
GeometryUndo(java.lang.String name,
harmonic.viewer3D.PaintStruct p)
Constructs a GeometryUndo |
|
GeometryUndo(java.lang.String name,
harmonic.viewer3D.PaintStruct[] painters)
Constructs a GeometryUndo |
|
| Method Summary | |
UndoRecord |
makeRedo()
Creates a GeometryUndo for doing the redo. |
void |
undo()
Undoes any changes to the geometry by replacing the geometry with a copy taken at the time of the creation of the GeometryUndo |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GeometryUndo(FunctionStarter action,
harmonic.viewer3D.PaintStruct[] painters)
action - Action causing change, used for undo namepainters - Painters owning geometries to store
public GeometryUndo(FunctionStarter action,
harmonic.viewer3D.PaintStruct p)
action - Action causing change, used for undo name
public GeometryUndo(java.lang.String name,
harmonic.viewer3D.PaintStruct[] painters)
name - Undo namepainters - Painters owning geometries to store
public GeometryUndo(java.lang.String name,
harmonic.viewer3D.PaintStruct p)
name - Undo name| Method Detail |
public void undo()
undo in class UndoRecordpublic UndoRecord makeRedo()
makeRedo in class UndoRecord
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||