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
public class CDOViewEventProducer extends org.eclipse.net4j.util.container.SelfAttachingContainerListener.Delegating
Producesevents
for calls to variousview object handler
andtransaction handler
methods and delivers these events to adelegate
listener
.- Since:
- 4.5
- Author:
- Eike Stepper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CDOViewEventProducer.CDOAttachingObjectEvent
static class
CDOViewEventProducer.CDOCommittedTransactionEvent
Anevent
fired from aview event producer
whenCDOTransactionHandler2.committedTransaction()
was called.static class
CDOViewEventProducer.CDOCommittingTransactionEvent
Anevent
fired from aview event producer
whenCDOTransactionHandler2.committingTransaction()
was called.static class
CDOViewEventProducer.CDODetachingObjectEvent
static class
CDOViewEventProducer.CDOModifyingObjectEvent
static class
CDOViewEventProducer.CDOObjectStateChangedEvent
static class
CDOViewEventProducer.CDORolledBackTransactionEvent
Anevent
fired from aview event producer
whenCDOTransactionHandler2.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 void
attach(java.lang.Object element)
void
detach(java.lang.Object element)
protected boolean
produceObjectModificationEvents()
protected boolean
produceObjectStateChangedEvents()
protected boolean
produceTransactionDemarcationEvents()
-
Methods inherited from class org.eclipse.net4j.util.container.SelfAttachingContainerListener.Delegating
notifyContainerEvent, notifyOtherEvent
-
-
-
-
Method Detail
-
attach
public void attach(java.lang.Object element)
- Overrides:
attach
in classorg.eclipse.net4j.util.container.SelfAttachingContainerListener
-
detach
public void detach(java.lang.Object element)
- Overrides:
detach
in classorg.eclipse.net4j.util.container.SelfAttachingContainerListener
-
produceObjectStateChangedEvents
protected boolean produceObjectStateChangedEvents()
-
produceObjectModificationEvents
protected boolean produceObjectModificationEvents()
-
produceTransactionDemarcationEvents
protected boolean produceTransactionDemarcationEvents()
-
-