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.command;
10:
11: import net.refractions.udig.project.internal.render.ViewportModel;
12:
13: /**
14: * All implementations of NavCommand are used to manipulate the viewport model of the map.
15: * In addition they are send to the Navigation Command Stack rather than the normal command stack
16: * for execution.
17: *
18: * @author Jesse
19: * @since 0.5
20: */
21: public interface NavCommand extends UndoableMapCommand, MapCommand {
22:
23: /**
24: * Set the viewport model that the command operates on.
25: *
26: * @param model
27: * @see ViewportModel
28: */
29: public void setViewportModel(ViewportModel model);
30: }
|