Search in sources :

Example 1 with GoogleSignOnAction

use of org.geosdi.geoplatform.gui.client.action.GoogleSignOnAction in project geo-platform by geosdi.

the class OAuth2WidgetUI method addGoogleLoginAction.

private void addGoogleLoginAction() {
    MenuActionRegistar menuRegistar = BasicGinInjector.MainInjector.getInstance().getMenuActionRegistar();
    menuRegistar.put("googleSignOnButton", new MenuActionCreator() {

        @Override
        public MenuAction createAction() {
            return new GoogleSignOnAction();
        }
    });
}
Also used : MenuAction(org.geosdi.geoplatform.gui.action.menu.MenuAction) MenuActionCreator(org.geosdi.geoplatform.gui.action.menu.MenuActionCreator) MenuActionRegistar(org.geosdi.geoplatform.gui.action.menu.MenuActionRegistar) GoogleSignOnAction(org.geosdi.geoplatform.gui.client.action.GoogleSignOnAction)

Aggregations

MenuAction (org.geosdi.geoplatform.gui.action.menu.MenuAction)1 MenuActionCreator (org.geosdi.geoplatform.gui.action.menu.MenuActionCreator)1 MenuActionRegistar (org.geosdi.geoplatform.gui.action.menu.MenuActionRegistar)1 GoogleSignOnAction (org.geosdi.geoplatform.gui.client.action.GoogleSignOnAction)1