org.eclipse.gmf.runtime.lite.validation
Class ValidationStateEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.gmf.runtime.lite.validation.ValidationStateEvent
All Implemented Interfaces:
Serializable

public class ValidationStateEvent
extends EventObject

Event that describes the change in a validation state.

See Also:
IValidationStateListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ValidationStateEvent(ValidationState state, Map<org.eclipse.emf.common.util.URI,Collection<ViolationDescriptor>> oldViolations, Map<org.eclipse.emf.common.util.URI,Collection<ViolationDescriptor>> newViolations)
           
 
Method Summary
 Collection<ViolationDescriptor> getNewViolations(org.eclipse.emf.common.util.URI uri)
           
 Collection<ViolationDescriptor> getOldViolations(org.eclipse.emf.common.util.URI uri)
           
 ValidationState getSourceValidationState()
           
 Iterable<org.eclipse.emf.common.util.URI> getViolationKeys()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationStateEvent

public ValidationStateEvent(ValidationState state,
                            Map<org.eclipse.emf.common.util.URI,Collection<ViolationDescriptor>> oldViolations,
                            Map<org.eclipse.emf.common.util.URI,Collection<ViolationDescriptor>> newViolations)
Method Detail

getSourceValidationState

public ValidationState getSourceValidationState()

getOldViolations

public Collection<ViolationDescriptor> getOldViolations(org.eclipse.emf.common.util.URI uri)

getNewViolations

public Collection<ViolationDescriptor> getNewViolations(org.eclipse.emf.common.util.URI uri)

getViolationKeys

public Iterable<org.eclipse.emf.common.util.URI> getViolationKeys()


Copyright © 2012. All Rights Reserved.