svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libTools / src / org / gvsig / tools / undo / command / impl / DefaultCommandNotification.java @ 24961
History | View | Annotate | Download (514 Bytes)
1 |
package org.gvsig.tools.undo.command.impl; |
---|---|
2 |
|
3 |
import org.gvsig.tools.undo.command.Command; |
4 |
import org.gvsig.tools.undo.command.CommandNotification; |
5 |
|
6 |
public class DefaultCommandNotification implements CommandNotification { |
7 |
private Command command;
|
8 |
private String type; |
9 |
|
10 |
public DefaultCommandNotification(Command command, String type) { |
11 |
this.command=command;
|
12 |
this.type=type;
|
13 |
} |
14 |
|
15 |
public Command getCommand() {
|
16 |
return this.command; |
17 |
} |
18 |
|
19 |
public String getType() { |
20 |
return this.type; |
21 |
} |
22 |
} |