public class DiagramChangeListener
extends java.lang.Object
implements org.eclipse.emf.transaction.ResourceSetListener
ResourceSet
provided by the DiagramEditorInternal
.Constructor and Description |
---|
DiagramChangeListener(DiagramBehavior diagramBehavior) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.transaction.NotificationFilter |
getFilter() |
boolean |
isAggregatePrecommitListener() |
boolean |
isPostcommitOnly() |
boolean |
isPrecommitOnly() |
void |
resourceSetChanged(org.eclipse.emf.transaction.ResourceSetChangeEvent event) |
boolean |
stopListening() |
org.eclipse.emf.common.command.Command |
transactionAboutToCommit(org.eclipse.emf.transaction.ResourceSetChangeEvent event) |
public DiagramChangeListener(DiagramBehavior diagramBehavior)
public org.eclipse.emf.transaction.NotificationFilter getFilter()
getFilter
in interface org.eclipse.emf.transaction.ResourceSetListener
public boolean isAggregatePrecommitListener()
isAggregatePrecommitListener
in interface org.eclipse.emf.transaction.ResourceSetListener
public boolean isPostcommitOnly()
isPostcommitOnly
in interface org.eclipse.emf.transaction.ResourceSetListener
public boolean isPrecommitOnly()
isPrecommitOnly
in interface org.eclipse.emf.transaction.ResourceSetListener
public void resourceSetChanged(org.eclipse.emf.transaction.ResourceSetChangeEvent event)
resourceSetChanged
in interface org.eclipse.emf.transaction.ResourceSetListener
public org.eclipse.emf.common.command.Command transactionAboutToCommit(org.eclipse.emf.transaction.ResourceSetChangeEvent event) throws org.eclipse.emf.transaction.RollbackException
transactionAboutToCommit
in interface org.eclipse.emf.transaction.ResourceSetListener
org.eclipse.emf.transaction.RollbackException
public boolean stopListening()