Enable GWT plugins to go to and refresh screens

Change-Id: I9b8f63845c5b5e605ce108357a08abb616d80537
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2013-12-05 20:40:53 +01:00
parent 37226c6e8b
commit 6349374ca2

View File

@@ -26,4 +26,9 @@ import com.google.gwt.core.client.EntryPoint;
* </ol>
*/
public abstract class Plugin implements EntryPoint {
public native static void go(String t)
/*-{ $wnd.Gerrit.go(t) }-*/;
public native static void refresh()
/*-{ $wnd.Gerrit.refresh() }-*/;
}