Package org.eclipse.emf.cdo.view
Class CDOViewEventProducer
- java.lang.Object
-
- org.eclipse.net4j.util.container.SelfAttachingContainerListener
-
- org.eclipse.net4j.util.container.SelfAttachingContainerListener.Delegating
-
- org.eclipse.emf.cdo.view.CDOViewEventProducer
-
- All Implemented Interfaces:
java.util.EventListener,org.eclipse.net4j.util.event.IListener,org.eclipse.net4j.util.event.IListener.NotifierAware
public class CDOViewEventProducer extends org.eclipse.net4j.util.container.SelfAttachingContainerListener.DelegatingProduceseventsfor calls to variousview object handlerandtransaction handlermethods and delivers these events to adelegatelistener.- Since:
- 4.5
- Author:
- Eike Stepper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCDOViewEventProducer.CDOAttachingObjectEventstatic classCDOViewEventProducer.CDOCommittedTransactionEventAneventfired from aview event producerwhenCDOTransactionHandler2.committedTransaction()was called.static classCDOViewEventProducer.CDOCommittingTransactionEventAneventfired from aview event producerwhenCDOTransactionHandler2.committingTransaction()was called.static classCDOViewEventProducer.CDODetachingObjectEventstatic classCDOViewEventProducer.CDOModifyingObjectEventstatic classCDOViewEventProducer.CDOObjectStateChangedEventstatic classCDOViewEventProducer.CDORolledBackTransactionEventAneventfired from aview event producerwhenCDOTransactionHandler2.rolledBackTransaction()was called.
-
Constructor Summary
Constructors Constructor Description CDOViewEventProducer(org.eclipse.net4j.util.event.IListener delegate)CDOViewEventProducer(org.eclipse.net4j.util.event.IListener delegate, boolean delegateContainerEvents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattach(java.lang.Object element)voiddetach(java.lang.Object element)protected booleanproduceObjectModificationEvents()protected booleanproduceObjectStateChangedEvents()protected booleanproduceTransactionDemarcationEvents()-
Methods inherited from class org.eclipse.net4j.util.container.SelfAttachingContainerListener.Delegating
notifyContainerEvent, notifyOtherEvent
-
-
-
-
Method Detail
-
attach
public void attach(java.lang.Object element)
- Overrides:
attachin classorg.eclipse.net4j.util.container.SelfAttachingContainerListener
-
detach
public void detach(java.lang.Object element)
- Overrides:
detachin classorg.eclipse.net4j.util.container.SelfAttachingContainerListener
-
produceObjectStateChangedEvents
protected boolean produceObjectStateChangedEvents()
-
produceObjectModificationEvents
protected boolean produceObjectModificationEvents()
-
produceTransactionDemarcationEvents
protected boolean produceTransactionDemarcationEvents()
-
-