net.sourceforge.fluxion.runcible.graph.command
Class RenameNodeCommand

java.lang.Object
  extended by net.sourceforge.fluxion.runcible.graph.command.RenameNodeCommand
All Implemented Interfaces:
ChangeCommand

public class RenameNodeCommand
extends java.lang.Object
implements ChangeCommand

Javadocs go here.

Version:
1.0
Author:
Tony Burdett

Constructor Summary
RenameNodeCommand(Graph graph, Node renaming, java.lang.String newName)
           
 
Method Summary
 void execute()
          Execute this command
 void undo()
          Undo this command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenameNodeCommand

public RenameNodeCommand(Graph graph,
                         Node renaming,
                         java.lang.String newName)
Method Detail

execute

public void execute()
Description copied from interface: ChangeCommand
Execute this command

Specified by:
execute in interface ChangeCommand

undo

public void undo()
Description copied from interface: ChangeCommand
Undo this command

Specified by:
undo in interface ChangeCommand


Copyright © 2010. All Rights Reserved.