01: /*
02: * uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004,
03: * Refractions Research Inc. This library is free software; you can redistribute it and/or modify it
04: * under the terms of the GNU Lesser General Public License as published by the Free Software
05: * Foundation; version 2.1 of the License. This library is distributed in the hope that it will be
06: * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
07: * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
08: */
09: package net.refractions.udig.project.internal.commands.edit;
10:
11: import net.refractions.udig.project.IMap;
12: import net.refractions.udig.project.command.Command;
13: import net.refractions.udig.project.command.EditCommand;
14: import net.refractions.udig.project.internal.Map;
15:
16: /**
17: * TODO Purpose of net.refractions.udig.project.internal.commands.edit
18: * <p>
19: * </p>
20: *
21: * @author Jesse
22: * @since 1.0.0
23: */
24: public abstract class AbstractEditCommand implements EditCommand {
25:
26: /** The current map */
27: protected Map map;
28:
29: /**
30: * @see net.refractions.udig.project.command.MapCommand#setMap(IMap)
31: * @uml.property name="map"
32: */
33: public void setMap(IMap map) {
34: this .map = (Map) map;
35: }
36:
37: /**
38: * @see net.refractions.udig.project.command.MapCommand#getMap()
39: * @uml.property name="map"
40: */
41: public Map getMap() {
42: return map;
43: }
44:
45: public Command copy() {
46: return null;
47: }
48: }
|