org.topbraid.core.change
Interface IChangeEngineListener

All Known Implementing Classes:
AbstractPredicateTreeView, ArbiTreeView, BasketView, ChangeEngineAdapter, ConstructedGraphTableViewer, DomainView, GraphEditorPage, ImportsView, InferencesExplanationsView, InferencesView, InheritanceView, InstancesView, NestedForm, PropertiesTreeView, ResourceEditor, ResourceFormPage, ResourceLabelManagerImpl, RulesView, SelectedResourceNavigator, SortedRowWidget, StatementTableViewer, SubClassesTreeView, TBCSession, WorkspaceStatementTableViewer

public interface IChangeEngineListener

An interface for objects that wish to be notified after an operation has been performed. The events are dispatched indendently of whether the operation was performed, undone or redone.

Author:
Holger Knublauch

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.
 

Method Detail

changeOperationPerformed

void changeOperationPerformed(ChangeOperation operation,
                              boolean undone)
Notifies the receiver that changes to one or more Graphs have been performed.

Parameters:
operation - the ModelOperation that was executed, redone or undone
undone - true if the operation has been undone

graphChangePerformed

void graphChangePerformed()
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.


graphDirty

void graphDirty(com.hp.hpl.jena.graph.Graph graph)
Called when a Graph has been set to dirty.

Parameters:
graph - the Graph that has changed