org.gvsig.tools.undo.command
Interface CommandNotification

All Known Implementing Classes:
DefaultCommandNotification

public interface CommandNotification

This interface represents a notification used by the commands record to indicate an action over a command.


Field Summary
static String ADD
          The command has been added to the command record
static String REDO
          The command has been redone
static String UNDO
          The command has been undone
 
Method Summary
 Command getCommand()
          Returns the Command over which the action is executed
 String getType()
          Returns this notification's type.
 

Field Detail

ADD

static final String ADD
The command has been added to the command record

See Also:
Constant Field Values

UNDO

static final String UNDO
The command has been undone

See Also:
Constant Field Values

REDO

static final String REDO
The command has been redone

See Also:
Constant Field Values
Method Detail

getCommand

Command getCommand()
Returns the Command over which the action is executed

Returns:
Command over which the action is executed

getType

String getType()
Returns this notification's type. One of the constants defined in this interface.

Returns:
a String containing this notification's type.


Copyright © 2004-2011 gvSIG. All Rights Reserved.