Package org.eclipse.emf.cdo.ui
Class UserInfo.Manager
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.emf.cdo.ui.UserInfo.Manager
- All Implemented Interfaces:
org.eclipse.net4j.util.event.INotifier,org.eclipse.net4j.util.event.INotifier.INotifier2,org.eclipse.net4j.util.lifecycle.IDeactivateable,org.eclipse.net4j.util.lifecycle.ILifecycle,org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
- Enclosing class:
- UserInfo
public static final class UserInfo.Manager
extends org.eclipse.net4j.util.lifecycle.Lifecycle
Manages the
user info of the local user and maintains a user info cache for
remote users. Missing remote user infos are automatically requested
from the respective remote sessions.- Author:
- Eike Stepper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAuser info storagethat persists the local user info in the file "${user.home}/.eclipse/org.eclipse.emf.cdo.ui/user.properties" .static final classAuser info storagethat persists the local user info in the EclipseIPreferenceStoreof the "org.eclipse.emf.cdo.ui" bundle.final classstatic interfaceProvides a method to load the user info object for thelocal user.Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivationNested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Field Summary
Fields inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
USE_LABEL -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeLocalUser(String firstName, String lastName, String displayName) protected voidprotected voidstatic UserInfo.Managerstatic UserInfo.ManagergetRemoteUser(CDORemoteSession remoteSession) Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toStringMethods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener