org.topbraidcomposer.gef.diagram.snapshots
Class DiagramSnapshots
java.lang.Object
org.topbraidcomposer.gef.diagram.snapshots.DiagramSnapshots
- All Implemented Interfaces:
- IGraphRegistryListener, IIOParticipant
public class DiagramSnapshots
- extends java.lang.Object
- implements IGraphRegistryListener, IIOParticipant
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiagramSnapshots
public DiagramSnapshots()
addSnapshot
public static void addSnapshot(ISnapshot snapshot)
getSnapshots
public static java.util.List getSnapshots(com.hp.hpl.jena.rdf.model.Model baseModel)
graphDirtyStateChanged
public void graphDirtyStateChanged(java.net.URI uri)
- Specified by:
graphDirtyStateChanged in interface IGraphRegistryListener
graphRegistered
public void graphRegistered(java.net.URI uri)
- Specified by:
graphRegistered in interface IGraphRegistryListener
graphSourceChanged
public void graphSourceChanged(java.net.URI uri,
java.lang.Object oldSource)
- Specified by:
graphSourceChanged in interface IGraphRegistryListener
graphUnregistered
public void graphUnregistered(java.net.URI uri,
com.hp.hpl.jena.graph.Graph graph,
java.lang.Object source)
- Specified by:
graphUnregistered in interface IGraphRegistryListener
graphSaved
public void graphSaved(ISession session,
com.hp.hpl.jena.rdf.model.Model model)
- Description copied from interface:
IIOParticipant
- Called after a model has been saved from within a given session.
Plug-ins can use this call to save depending files etc.
- Specified by:
graphSaved in interface IIOParticipant
- Parameters:
session - the ISession that saved the modelmodel - the Model that was saved
removeSnapshot
public static void removeSnapshot(ISnapshot snapshot)