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: /**
12: * API comment me Provides ...TODO summary sentence
13: * <p>
14: * TODO Description
15: * </p>
16: * <p>
17: * Responsibilities:
18: * <ul>
19: * <li>
20: * <li>
21: * </ul>
22: * </p>
23: * <p>
24: * Example Use:
25: *
26: * <pre><code>
27: *
28: * NavCommandStack x = new NavCommandStack( ... );
29: * TODO code example
30: *
31: * </code></pre>
32: *
33: * </p>
34: * API access the stack elements?
35: *
36: * @author Jesse
37: * @since 0.3
38: */
39: public interface NavCommandStack {
40: /**
41: * @return <code>true</code> if there is a position in the command stack that the viewport can
42: * return to.
43: */
44: public boolean hasBackHistory();
45:
46: /**
47: * @return <code>true</code> if the backHistory method has been called and no new nav commands
48: * have occurred;
49: */
50: public boolean hasForwardHistory();
51:
52: }
|