Class DomainModelChangeListener
java.lang.Object
org.eclipse.graphiti.ui.internal.editor.DomainModelChangeListener
- All Implemented Interfaces:
EventListener,org.eclipse.emf.transaction.ResourceSetListener
public class DomainModelChangeListener
extends Object
implements org.eclipse.emf.transaction.ResourceSetListener
Listener for BO changes in an EMF model linked to a diagram.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.transaction.ResourceSetListener
org.eclipse.emf.transaction.ResourceSetListener.Internal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.transaction.NotificationFilterbooleanbooleanbooleanvoidresourceSetChanged(org.eclipse.emf.transaction.ResourceSetChangeEvent event) org.eclipse.emf.common.command.CommandtransactionAboutToCommit(org.eclipse.emf.transaction.ResourceSetChangeEvent event)
-
Constructor Details
-
DomainModelChangeListener
-
-
Method Details
-
getFilter
public org.eclipse.emf.transaction.NotificationFilter getFilter()- Specified by:
getFilterin interfaceorg.eclipse.emf.transaction.ResourceSetListener
-
isAggregatePrecommitListener
public boolean isAggregatePrecommitListener()- Specified by:
isAggregatePrecommitListenerin interfaceorg.eclipse.emf.transaction.ResourceSetListener
-
isPostcommitOnly
public boolean isPostcommitOnly()- Specified by:
isPostcommitOnlyin interfaceorg.eclipse.emf.transaction.ResourceSetListener
-
isPrecommitOnly
public boolean isPrecommitOnly()- Specified by:
isPrecommitOnlyin interfaceorg.eclipse.emf.transaction.ResourceSetListener
-
resourceSetChanged
public void resourceSetChanged(org.eclipse.emf.transaction.ResourceSetChangeEvent event) - Specified by:
resourceSetChangedin interfaceorg.eclipse.emf.transaction.ResourceSetListener
-
transactionAboutToCommit
public org.eclipse.emf.common.command.Command transactionAboutToCommit(org.eclipse.emf.transaction.ResourceSetChangeEvent event) throws org.eclipse.emf.transaction.RollbackException - Specified by:
transactionAboutToCommitin interfaceorg.eclipse.emf.transaction.ResourceSetListener- Throws:
org.eclipse.emf.transaction.RollbackException
-