forked from Coded/SIPRP
git-svn-id: https://svn.coded.pt/svn/SIPRP@1120 bb69d46d-e84e-40c8-a05a-06db0d633741
parent
dcdc6dc4b6
commit
1aab5577ae
@ -0,0 +1,27 @@
|
||||
package com.evolute.siprp.client.panels.apps;
|
||||
|
||||
import com.evolute.siprp.client.panels.utils.NavigationConstants;
|
||||
import com.evolute.siprp.client.panels.utils.PageNavigation;
|
||||
import com.google.gwt.event.dom.client.ClickEvent;
|
||||
import com.google.gwt.event.dom.client.ClickHandler;
|
||||
import com.google.gwt.user.client.ui.Anchor;
|
||||
|
||||
public class AnchorSair extends Anchor implements ClickHandler
|
||||
{
|
||||
|
||||
public AnchorSair()
|
||||
{
|
||||
super();
|
||||
|
||||
this.setText( "sair>>" );
|
||||
this.addClickHandler( this );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onClick( ClickEvent event )
|
||||
{
|
||||
PageNavigation.getProvider().setUserLogged( null );
|
||||
PageNavigation.goPage( NavigationConstants.LOGIN_PANEL );
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in new issue