com.partnersoft.gadgets
Class CogSetObjectsCommand

java.lang.Object
  extended by com.partnersoft.gadgets.CogSetObjectsCommand
All Implemented Interfaces:
UndoableCommand

public class CogSetObjectsCommand
extends java.lang.Object
implements UndoableCommand

An undoable/redoable command to set multiple properties in a Cog structure.

Author:
Paul Reavis Copyright 2003 Partner Software, Inc.

Constructor Summary
CogSetObjectsCommand(Cog cog, Naming newValues)
           
 
Method Summary
 void redo()
          Execute the command, saving any state necessary to undo it.
 void undo()
          Undo the command, saving any state necessary to redo it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CogSetObjectsCommand

public CogSetObjectsCommand(Cog cog,
                            Naming newValues)
Method Detail

redo

public void redo()
Execute the command, saving any state necessary to undo it.

Specified by:
redo in interface UndoableCommand

undo

public void undo()
Undo the command, saving any state necessary to redo it.

Specified by:
undo in interface UndoableCommand