net.officefloor.eclipse.common.commands
Class ChangeCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by net.officefloor.eclipse.common.commands.OfficeFloorCommand
          extended by net.officefloor.eclipse.common.commands.ChangeCommand

public class ChangeCommand
extends OfficeFloorCommand

OfficeFloorCommand for a Change.

Author:
Daniel Sagenschneider

Constructor Summary
ChangeCommand(Change<?> change)
          Initialise.
 
Method Summary
protected  void doCommand()
          Provides implementation of executing the Command.
protected  void undoCommand()
          Provides implementation of undoing the Command.
 
Methods inherited from class net.officefloor.eclipse.common.commands.OfficeFloorCommand
execute, undo
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeCommand

public ChangeCommand(Change<?> change)
Initialise.

Parameters:
change - Change.
Method Detail

doCommand

protected void doCommand()
Description copied from class: OfficeFloorCommand
Provides implementation of executing the Command.

Specified by:
doCommand in class OfficeFloorCommand

undoCommand

protected void undoCommand()
Description copied from class: OfficeFloorCommand
Provides implementation of undoing the Command.

Specified by:
undoCommand in class OfficeFloorCommand


Copyright © 2005-2013. All Rights Reserved.