Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package org.litesoft.GWT.client.pavsupport;

import com.google.gwt.place.shared.*;

public interface PlaceChangeListener {
    enum Source {
        Forward, // The Place Change is the result of calling PlaceChanger.goForwardTo( pNewPlace ).
        Back, // The Place Change is the result of calling PlaceChanger.goBack().
        Unexpected // The Place Change does not appear to be the result of calling a PlaceChanger method (such as a deep link).
    }

    /**
     * This method is called whenever the PAM changes its CurrentPlace.
     *
     * @param pSource        the "source" if know of the of the pNewPlace (derived from the PlaceChanger method call).
     * @param pPreviousPlace the previous CurrentPlace (this could be Place.NOWHERE).
     * @param pNewPlace      the "new" CurrentPlace.
     */
    void placeChange( Source pSource, Place pPreviousPlace, Place pNewPlace );
}

Commits for litesoft/trunk/Java/GWT/Client/src/org/litesoft/GWT/client/pavsupport/PlaceChangeListener.java

Diff revisions: vs.
Revision Author Commited Message
948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

734 GeorgeS picture GeorgeS Sat 23 Jun, 2012 15:05:22 +0000