org.gvsig.tools.undo.command.impl
Class DefaultCommandNotification

java.lang.Object
  extended by org.gvsig.tools.undo.command.impl.DefaultCommandNotification
All Implemented Interfaces:
CommandNotification

public class DefaultCommandNotification
extends Object
implements CommandNotification


Field Summary
 
Fields inherited from interface org.gvsig.tools.undo.command.CommandNotification
ADD, REDO, UNDO
 
Constructor Summary
DefaultCommandNotification(Command command, String type)
           
 
Method Summary
 Command getCommand()
          Returns the Command over which the action is executed
 String getType()
          Returns this notification's type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCommandNotification

public DefaultCommandNotification(Command command,
                                  String type)
Method Detail

getCommand

public Command getCommand()
Description copied from interface: CommandNotification
Returns the Command over which the action is executed

Specified by:
getCommand in interface CommandNotification
Returns:
Command over which the action is executed

getType

public String getType()
Description copied from interface: CommandNotification
Returns this notification's type. One of the constants defined in this interface.

Specified by:
getType in interface CommandNotification
Returns:
a String containing this notification's type.


Copyright © 2004-2011 gvSIG. All Rights Reserved.