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 class
Auser info storage
that persists the local user info in the file "${user.home}/.eclipse/org.eclipse.emf.cdo.ui/user.properties" .static final class
Auser info storage
that persists the local user info in the EclipseIPreferenceStore
of the "org.eclipse.emf.cdo.ui" bundle.final class
static interface
Provides 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.DeferrableActivation
Nested 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 TypeMethodDescriptionvoid
changeLocalUser
(String firstName, String lastName, String displayName) protected void
protected void
static UserInfo.Manager
static UserInfo.Manager
getRemoteUser
(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, toString
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener