org.embl.ebi.escience.scuflui.graph.model
Class ScuflModelReconciler

java.lang.Object
  extended by org.embl.ebi.escience.scuflui.graph.model.ScuflModelReconciler
All Implemented Interfaces:
ScuflModelEventListener

public class ScuflModelReconciler
extends java.lang.Object
implements ScuflModelEventListener

The reconciler listens to scufl model changes, it manages the received change notifications in a queue folding neighboring or overlapping changes together. Then passes on the changes after having waited for further changes for the configured duration of time.

Version:
$Revision: 1.6 $
Author:
Kevin Glover

Constructor Summary
ScuflModelReconciler(ScuflGraphModel model)
           
 
Method Summary
 void detachFromModel()
           
 void receiveModelEvent(ScuflModelEvent event)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScuflModelReconciler

public ScuflModelReconciler(ScuflGraphModel model)
Parameters:
model -
Method Detail

receiveModelEvent

public void receiveModelEvent(ScuflModelEvent event)
Specified by:
receiveModelEvent in interface ScuflModelEventListener

detachFromModel

public void detachFromModel()