litesoft
Diff Revisions
716
vs
717
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/pavsupport/PlaceActivityManager.java
|
@@ -86,6 +86,18 @@ |
86 |
86 |
|
} |
87 |
87 |
|
|
88 |
88 |
|
/** |
|
89 |
+ |
* Request a change to the previous place on the browser's history stack. |
|
90 |
+ |
* If there is no previous place on the browser's history stack, the behavior |
|
91 |
+ |
* is unspecified. Otherwise, the location changes and a |
|
92 |
+ |
* {@link PlaceChangeEvent} is posted announcing the previous place. |
|
93 |
+ |
*/ |
|
94 |
+ |
@Override |
|
95 |
+ |
public void goBack() |
|
96 |
+ |
{ |
|
97 |
+ |
mHistorian.back(); |
|
98 |
+ |
} |
|
99 |
+ |
|
|
100 |
+ |
/** |
89 |
101 |
|
* Request a change to a new place. It is not a given that we'll actually get |
90 |
102 |
|
* there. If there is an ActivityFactory for the Place, and the user does not |
91 |
103 |
|
* reject leaving the current Place, then the URL is adjusted to have the user |
|
@@ -213,6 +225,12 @@ |
213 |
225 |
|
} |
214 |
226 |
|
|
215 |
227 |
|
@Override |
|
228 |
+ |
public void goBack() |
|
229 |
+ |
{ |
|
230 |
+ |
PlaceActivityManager.this.goBack(); |
|
231 |
+ |
} |
|
232 |
+ |
|
|
233 |
+ |
@Override |
216 |
234 |
|
public GoToPlace goTo( Place pNewPlace ) |
217 |
235 |
|
{ |
218 |
236 |
|
return PlaceActivityManager.this.goTo( pNewPlace ); |