Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / feature / CommandNotification.java @ 24496

History | View | Annotate | Download (823 Bytes)

1
package org.gvsig.fmap.dal.feature;
2

    
3
/**
4
 * This interface represents a notification used by 
5
 * the commands record to indicate an action over a command.
6
 *
7
 */
8
public interface CommandNotification {
9

    
10
        /** The command has been added to the command record */
11
        public static final String ADD = "add_Command";
12
        /** The command has been undone */
13
        public static final String UNDO = "undo_Command";
14
        /** The command has been redone */ 
15
        public static final String REDO = "redo_Command";
16

    
17
        /**
18
         * Returns the Command over which the action is executed
19
         * @return Command over which the action is executed
20
         */
21
        public Command getCommand();
22

    
23
        /**
24
         * Returns this notification's type. One of the constants defined in this interface.
25
         *
26
         * @return a String containing this notification's type.
27
         */
28
        public String getType();
29

    
30
}