org.topbraid.core.change
Class ChangeEngineAdapter

java.lang.Object
  extended by org.topbraid.core.change.ChangeEngineAdapter
All Implemented Interfaces:
IChangeEngineListener

public class ChangeEngineAdapter
extends java.lang.Object
implements IChangeEngineListener

An empty implementation of IChangeEngineListener.

Author:
Holger Knublauch

Constructor Summary
ChangeEngineAdapter()
           
 
Method Summary
 void changeOperationPerformed(ChangeOperation operation, boolean undone)
          Notifies the receiver that changes to one or more Graphs have been performed.
 void graphChangePerformed()
          Notifies the receiver that a global change to the current model has been performed.
 void graphDirty(com.hp.hpl.jena.graph.Graph graph)
          Called when a Graph has been set to dirty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeEngineAdapter

public ChangeEngineAdapter()
Method Detail

changeOperationPerformed

public void changeOperationPerformed(ChangeOperation operation,
                                     boolean undone)
Description copied from interface: IChangeEngineListener
Notifies the receiver that changes to one or more Graphs have been performed.

Specified by:
changeOperationPerformed in interface IChangeEngineListener
Parameters:
operation - the ModelOperation that was executed, redone or undone
undone - true if the operation has been undone

graphChangePerformed

public void graphChangePerformed()
Description copied from interface: IChangeEngineListener
Notifies the receiver that a global change to the current model has been performed. This is typically called when new sub-Graphs have been added or removed, allowing the receiver to do a complete refresh.

Specified by:
graphChangePerformed in interface IChangeEngineListener

graphDirty

public void graphDirty(com.hp.hpl.jena.graph.Graph graph)
Description copied from interface: IChangeEngineListener
Called when a Graph has been set to dirty.

Specified by:
graphDirty in interface IChangeEngineListener
Parameters:
graph - the Graph that has changed