Subversion Repository Public Repository

litesoft

Diff Revisions 727 vs 728 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/pavsupport/PlaceActivityManager.java

Diff revisions: vs.
  @@ -85,31 +85,15 @@
85 85 return mActivityHelper.getCurrentPlace();
86 86 }
87 87
88 - @Override
89 - public int depth()
90 - {
91 - return mHistorian.depth();
92 - }
93 -
94 - /**
95 - * @return true if the call to goBack() is expected to succeed..
96 - */
97 - @Override
98 - public boolean backable()
99 - {
100 - return mHistorian.backable();
101 - }
102 -
103 88 /**
104 89 * Request a change to the previous place on the browser's history stack.
105 - * If there is no previous place on the browser's history stack, false will
106 - * be returned. Otherwise, the location changes and a
107 - * {@link PlaceChangeEvent} is posted announcing the previous place.
90 + * If there is a previous place on the browser's history stack, the location
91 + * changes and a {@link PlaceChangeEvent} is posted announcing the previous place.
108 92 */
109 93 @Override
110 - public boolean goBack()
94 + public void goBack()
111 95 {
112 - return mHistorian.back();
96 + mHistorian.back();
113 97 }
114 98
115 99 /**
  @@ -123,7 +107,7 @@
123 107 * @return null if going to pNewPlace, !null means NOT going and why
124 108 */
125 109 @Override
126 - public GoToPlace goTo( Place pNewPlace )
110 + public GoToPlace goForwardTo( Place pNewPlace )
127 111 {
128 112 Place zCurrentPlace = mActivityHelper.getCurrentPlace();
129 113 pNewPlace = UtilsCommon.deNull( pNewPlace, zCurrentPlace );
  @@ -241,27 +225,15 @@
241 225 }
242 226
243 227 @Override
244 - public int depth()
245 - {
246 - return PlaceActivityManager.this.depth();
247 - }
248 -
249 - @Override
250 - public boolean backable()
251 - {
252 - return PlaceActivityManager.this.backable();
253 - }
254 -
255 - @Override
256 - public boolean goBack()
228 + public void goBack()
257 229 {
258 - return PlaceActivityManager.this.goBack();
230 + PlaceActivityManager.this.goBack();
259 231 }
260 232
261 233 @Override
262 - public GoToPlace goTo( Place pNewPlace )
234 + public GoToPlace goForwardTo( Place pNewPlace )
263 235 {
264 - return PlaceActivityManager.this.goTo( pNewPlace );
236 + return PlaceActivityManager.this.goForwardTo( pNewPlace );
265 237 }
266 238 }
267 239 }