cib.cad.kernel.cmds
Class AttriRestore

java.lang.Object
  extended by cib.cad.kernel.cmds.AttriRestore
All Implemented Interfaces:
Cmd

public class AttriRestore
extends java.lang.Object
implements Cmd

Restores the default attributes and layer previously saved by command AttriSave.

Version:
$Revision: 1717 $, $Author: svn-firmenich $, $Date: 2012-02-29 14:42:17 +0100 (Wed, 29. Feb 2012) $
Author:
Berthold Firmenich

Constructor Summary
AttriRestore()
           
 
Method Summary
 boolean changesState()
          Returns the change status of this.
 void doCmd(java.lang.Object context)
          Does the command.
 boolean isUndoable()
          Returns the undoable status of this.
 void redoCmd(java.lang.Object context)
          Redoes the undone command.
 java.lang.String toString()
           
 void undoCmd(java.lang.Object context)
          Undoes the done command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttriRestore

public AttriRestore()
Method Detail

doCmd

public void doCmd(java.lang.Object context)
           throws CmdAbortedException
Description copied from interface: Cmd
Does the command.

Specified by:
doCmd in interface Cmd
Parameters:
context - an application specific context object
Throws:
CmdAbortedException

undoCmd

public void undoCmd(java.lang.Object context)
Description copied from interface: Cmd
Undoes the done command. Should not contain any user interaction code.

Specified by:
undoCmd in interface Cmd
Parameters:
context - an application specific context object

redoCmd

public void redoCmd(java.lang.Object context)
Description copied from interface: Cmd
Redoes the undone command. Should not contain any user interaction code.

Specified by:
redoCmd in interface Cmd
Parameters:
context - an application specific context object

changesState

public boolean changesState()
Description copied from interface: Cmd
Returns the change status of this.

Specified by:
changesState in interface Cmd
Returns:
true if this changes the state

isUndoable

public boolean isUndoable()
Description copied from interface: Cmd
Returns the undoable status of this.

Specified by:
isUndoable in interface Cmd
Returns:
true if this is undoable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object