public class RepositoryViewLabelDecorator
extends org.eclipse.jface.viewers.LabelProvider
implements org.eclipse.jface.viewers.ILightweightLabelDecorator, org.eclipse.emf.emfstore.client.observer.ESLoginObserver, org.eclipse.emf.emfstore.client.observer.ESLogoutObserver
ServerInfo
object according to its
login state.ILightweightLabelDecorator
Constructor and Description |
---|
RepositoryViewLabelDecorator() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(org.eclipse.jface.viewers.ILabelProviderListener listener) |
void |
decorate(Object element,
org.eclipse.jface.viewers.IDecoration decoration) |
void |
dispose() |
boolean |
isLabelProperty(Object element,
String property) |
void |
loginCompleted(org.eclipse.emf.emfstore.client.ESUsersession session) |
void |
logoutCompleted(org.eclipse.emf.emfstore.client.ESUsersession session) |
void |
removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener) |
public void decorate(Object element, org.eclipse.jface.viewers.IDecoration decoration)
decorate
in interface org.eclipse.jface.viewers.ILightweightLabelDecorator
public void addListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
addListener
in interface org.eclipse.jface.viewers.IBaseLabelProvider
addListener
in class org.eclipse.jface.viewers.BaseLabelProvider
BaseLabelProvider.addListener(org.eclipse.jface.viewers.ILabelProviderListener)
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IBaseLabelProvider
dispose
in class org.eclipse.jface.viewers.BaseLabelProvider
BaseLabelProvider.dispose()
public boolean isLabelProperty(Object element, String property)
isLabelProperty
in interface org.eclipse.jface.viewers.IBaseLabelProvider
isLabelProperty
in class org.eclipse.jface.viewers.BaseLabelProvider
public void removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
removeListener
in interface org.eclipse.jface.viewers.IBaseLabelProvider
removeListener
in class org.eclipse.jface.viewers.BaseLabelProvider
BaseLabelProvider.removeListener(org.eclipse.jface.viewers.ILabelProviderListener)
public void loginCompleted(org.eclipse.emf.emfstore.client.ESUsersession session)
loginCompleted
in interface org.eclipse.emf.emfstore.client.observer.ESLoginObserver
public void logoutCompleted(org.eclipse.emf.emfstore.client.ESUsersession session)
logoutCompleted
in interface org.eclipse.emf.emfstore.client.observer.ESLogoutObserver
Copyright © 2018. All rights reserved.