Statistics
| Revision:

svn-gvsig-desktop / branches / v10 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / edition / commands / CommandEvent.java @ 20100

History | View | Annotate | Download (582 Bytes)

1
package com.iver.cit.gvsig.fmap.edition.commands;
2

    
3
import com.iver.cit.gvsig.fmap.FMapEvent;
4

    
5
/**
6
 * <p>Event produced when a new command is invoked.</p>
7
 */
8
public class CommandEvent extends FMapEvent{
9
        /**
10
         * <p>Event produced when a new command is invoked.</p>
11
         */
12
        private Command command;
13

    
14
        /**
15
         * <p>Creates a new command event.</p>
16
         * 
17
         * @param command the new comman
18
         */
19
        public CommandEvent(Command command){
20
                this.command=command;
21
        }
22

    
23
        /**
24
         * <p>Gets the new command.</p>
25
         * 
26
         * @return the new command
27
         */
28
        public Command getCommand(){
29
                return command;
30
        }
31
}