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.ResourceSetListenerpublic boolean isAggregatePrecommitListener()
isAggregatePrecommitListener in interface org.eclipse.emf.transaction.ResourceSetListenerpublic boolean isPostcommitOnly()
isPostcommitOnly in interface org.eclipse.emf.transaction.ResourceSetListenerpublic boolean isPrecommitOnly()
isPrecommitOnly in interface org.eclipse.emf.transaction.ResourceSetListenerpublic void resourceSetChanged(org.eclipse.emf.transaction.ResourceSetChangeEvent event)
resourceSetChanged in interface org.eclipse.emf.transaction.ResourceSetListenerpublic 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.ResourceSetListenerorg.eclipse.emf.transaction.RollbackExceptionpublic boolean stopListening()