Package org.eclipse.emf.cdo.common.util
Class CDOCommonEventAdapter
java.lang.Object
org.eclipse.net4j.util.container.ContainerEventAdapter<Object>
org.eclipse.emf.cdo.common.util.CDOCommonEventAdapter
- All Implemented Interfaces:
EventListener
,org.eclipse.net4j.util.event.IListener
public class CDOCommonEventAdapter
extends org.eclipse.net4j.util.container.ContainerEventAdapter<Object>
A convenience adapter for common CDO
events
.- Since:
- 3.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.IListener
org.eclipse.net4j.util.event.IListener.NotifierAware
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
notifyOtherEvent
(org.eclipse.net4j.util.event.IEvent event) protected void
protected void
onPassiveUpdatesEnabled
(boolean oldEnabled, boolean newEnabled) protected void
onPassiveUpdatesMode
(CDOCommonSession.Options.PassiveUpdateMode oldMode, CDOCommonSession.Options.PassiveUpdateMode newMode) protected void
protected void
onViewClosed
(CDOCommonView element) protected void
onViewOpened
(CDOCommonView view) Methods inherited from class org.eclipse.net4j.util.container.ContainerEventAdapter
isWaitForActive, notifyContainerEvent, notifyEvent, notifyLifecycleEvent, onAboutToActivate, onAboutToDeactivate, onActivated, onDeactivated
-
Constructor Details
-
CDOCommonEventAdapter
public CDOCommonEventAdapter()
-
-
Method Details
-
notifyOtherEvent
protected void notifyOtherEvent(org.eclipse.net4j.util.event.IEvent event) - Overrides:
notifyOtherEvent
in classorg.eclipse.net4j.util.container.ContainerEventAdapter<Object>
-
onAdded
protected void onAdded(org.eclipse.net4j.util.container.IContainer<Object> container, Object element) - Overrides:
onAdded
in classorg.eclipse.net4j.util.container.ContainerEventAdapter<Object>
-
onRemoved
protected void onRemoved(org.eclipse.net4j.util.container.IContainer<Object> container, Object element) - Overrides:
onRemoved
in classorg.eclipse.net4j.util.container.ContainerEventAdapter<Object>
-
onViewOpened
-
onViewClosed
-
onPassiveUpdatesEnabled
protected void onPassiveUpdatesEnabled(boolean oldEnabled, boolean newEnabled) -
onPassiveUpdatesMode
protected void onPassiveUpdatesMode(CDOCommonSession.Options.PassiveUpdateMode oldMode, CDOCommonSession.Options.PassiveUpdateMode newMode)
-