public final class GoogleSessionProvider
extends org.eclipse.ui.AbstractSourceProvider
Modifier and Type | Field and Description |
---|---|
private boolean |
logged
Boolean flag that indicates if user is logged or not.
|
private static java.lang.String |
LOGGED
Identifier of the source.
|
Constructor and Description |
---|
GoogleSessionProvider() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
static GoogleSessionProvider |
get()
Static method that allows to retrieve easily the provider instance.
|
java.util.Map<?,?> |
getCurrentState() |
java.lang.String[] |
getProvidedSourceNames() |
boolean |
isLogged()
Indicates if the user is logged into a google account or not.
|
protected void |
setLogged(boolean logged)
Sets the
logged property of this provider. |
private static final java.lang.String LOGGED
private boolean logged
protected void setLogged(boolean logged)
logged
property of this provider.logged
- The new value of the logged
property.public boolean isLogged()
public void dispose()
public java.util.Map<?,?> getCurrentState()
public java.lang.String[] getProvidedSourceNames()
public static GoogleSessionProvider get()