org.semanticweb.owlapi.model
Class EDTChangeBroadcastStrategy

java.lang.Object
  extended by org.semanticweb.owlapi.model.EDTChangeBroadcastStrategy
All Implemented Interfaces:
OWLOntologyChangeBroadcastStrategy

public class EDTChangeBroadcastStrategy
extends java.lang.Object
implements OWLOntologyChangeBroadcastStrategy

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 14-Mar-2009

A change broadcast strategy which broadcasts all ontology changes in the Swing Even Dispatch Thread (EDT).


Constructor Summary
EDTChangeBroadcastStrategy()
           
 
Method Summary
 void broadcastChanges(OWLOntologyChangeListener listener, java.util.List<? extends OWLOntologyChange> changes)
          Broadcasts the list of changes to the specified listeners.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EDTChangeBroadcastStrategy

public EDTChangeBroadcastStrategy()
Method Detail

broadcastChanges

public void broadcastChanges(OWLOntologyChangeListener listener,
                             java.util.List<? extends OWLOntologyChange> changes)
                      throws java.lang.Exception
Description copied from interface: OWLOntologyChangeBroadcastStrategy
Broadcasts the list of changes to the specified listeners.

Specified by:
broadcastChanges in interface OWLOntologyChangeBroadcastStrategy
Parameters:
listener - The listeners that the changes should be broadcast to
changes - The changes to be broadcast.
Throws:
OWLException
java.lang.Exception