litesoft
@ 965
litesoft / trunk / GWT_Sandbox / FormEngine / src / com / temp / foundation / client / pavment / PlaceChanger.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
package com.temp.foundation.client.pavment; import com.google.gwt.place.shared.*; import com.google.gwt.user.client.*; import com.temp.foundation.client.util.*; public interface PlaceChanger extends CurrentPlaceAccessor { enum GoToPlace { AlreadyThere, NoActivity, CurrentActivityRejectedLeaving } /** * Request a change to a new place. It is not a given that we'll actually get * there. First a {@link PlaceChangeRequestEvent} will be posted to the * event bus. If any receivers post a warning message to that event, it will * be presented to the user via {@link WindowClose#confirm(String)} (which is * typically a call to {@link Window#confirm(String)}). If she cancels, the * current location will not change. Otherwise, the location changes and a * {@link PlaceChangeEvent} is posted announcing the new place. * * @param pNewPlace a {@link Place} instance * * @return null if going to pNewPlace, !null means NOT going and why */ public GoToPlace goTo( Place pNewPlace ); } |
Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/foundation/client/pavment/PlaceChanger.java
Revision | Author | Commited | Message |
---|---|---|---|
965 | GeorgeS | Fri 01 Aug, 2014 03:20:35 +0000 | ! |