org.eclipse.emf.cdo.common.util
Class CDOCommonEventAdapter

java.lang.Object
  extended by org.eclipse.net4j.util.container.ContainerEventAdapter<Object>
      extended by org.eclipse.emf.cdo.common.util.CDOCommonEventAdapter
All Implemented Interfaces:
EventListener, IListener

public class CDOCommonEventAdapter
extends ContainerEventAdapter<Object>

A convenience adapter for common CDO events.

Since:
3.0

Constructor Summary
CDOCommonEventAdapter()
           
 
Method Summary
protected  void notifyOtherEvent(IEvent event)
           
protected  void onAdded(IContainer<Object> container, Object element)
           
protected  void onPassiveUpdatesEnabled(boolean oldEnabled, boolean newEnabled)
           
protected  void onPassiveUpdatesMode(CDOCommonSession.Options.PassiveUpdateMode oldMode, CDOCommonSession.Options.PassiveUpdateMode newMode)
           
protected  void onRemoved(IContainer<Object> container, Object element)
           
protected  void onViewClosed(CDOCommonView element)
           
protected  void onViewOpened(CDOCommonView view)
           
 
Methods inherited from class org.eclipse.net4j.util.container.ContainerEventAdapter
isWaitForActive, notifyContainerEvent, notifyEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDOCommonEventAdapter

public CDOCommonEventAdapter()
Method Detail

notifyOtherEvent

protected void notifyOtherEvent(IEvent event)
Overrides:
notifyOtherEvent in class ContainerEventAdapter<Object>

onAdded

protected void onAdded(IContainer<Object> container,
                       Object element)
Overrides:
onAdded in class ContainerEventAdapter<Object>

onRemoved

protected void onRemoved(IContainer<Object> container,
                         Object element)
Overrides:
onRemoved in class ContainerEventAdapter<Object>

onViewOpened

protected void onViewOpened(CDOCommonView view)

onViewClosed

protected void onViewClosed(CDOCommonView element)

onPassiveUpdatesEnabled

protected void onPassiveUpdatesEnabled(boolean oldEnabled,
                                       boolean newEnabled)

onPassiveUpdatesMode

protected void onPassiveUpdatesMode(CDOCommonSession.Options.PassiveUpdateMode oldMode,
                                    CDOCommonSession.Options.PassiveUpdateMode newMode)


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.