ptolemy.vergil.gt
Class MatchResultViewer.UndoChangeModelAction

java.lang.Object
  extended by ptolemy.vergil.gt.MatchResultViewer.UndoChangeModelAction
All Implemented Interfaces:
UndoAction
Enclosing class:
MatchResultViewer

private class MatchResultViewer.UndoChangeModelAction
extends java.lang.Object
implements UndoAction


Field Summary
private  CompositeEntity _model
           
private  int _position
           
 
Constructor Summary
MatchResultViewer.UndoChangeModelAction(CompositeEntity model, int position)
           
 
Method Summary
 void execute()
          Execute the undo or redo action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_model

private CompositeEntity _model

_position

private int _position
Constructor Detail

MatchResultViewer.UndoChangeModelAction

MatchResultViewer.UndoChangeModelAction(CompositeEntity model,
                                        int position)
Method Detail

execute

public void execute()
             throws java.lang.Exception
Description copied from interface: UndoAction
Execute the undo or redo action.

Specified by:
execute in interface UndoAction
Throws:
java.lang.Exception - If something goes wrong.