UML Modeling Layer

com.ibm.xtools.uml.msl.internal.resources
Class StereotypeResourceSetListenerImpl

java.lang.Object
  extended by org.eclipse.emf.transaction.ResourceSetListenerImpl
      extended by com.ibm.xtools.uml.msl.internal.resources.StereotypeResourceSetListenerImpl
All Implemented Interfaces:
EventListener, ResourceSetListener

public class StereotypeResourceSetListenerImpl
extends ResourceSetListenerImpl

ResourceSetListener to translate indirect stereotype application events to the proper notifier.


Method Summary
static StereotypeResourceSetListenerImpl getInstance()
           
 boolean isPrecommitOnly()
           
 Command transactionAboutToCommit(ResourceSetChangeEvent event)
           
 
Methods inherited from class org.eclipse.emf.transaction.ResourceSetListenerImpl
getFilter, isAggregatePrecommitListener, isPostcommitOnly, resourceSetChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final StereotypeResourceSetListenerImpl getInstance()
Returns:
The singleton manager instance

isPrecommitOnly

public boolean isPrecommitOnly()
Specified by:
isPrecommitOnly in interface ResourceSetListener
Overrides:
isPrecommitOnly in class ResourceSetListenerImpl

transactionAboutToCommit

public Command transactionAboutToCommit(ResourceSetChangeEvent event)
                                 throws RollbackException
Specified by:
transactionAboutToCommit in interface ResourceSetListener
Overrides:
transactionAboutToCommit in class ResourceSetListenerImpl
Throws:
RollbackException

UML Modeling Layer

© Copyright IBM Corp. 2009. All rights reserved.