org.topbraidcomposer.gef.graph.snapshots
Class GraphSnapshotManager

java.lang.Object
  extended by org.topbraidcomposer.gef.snapshots.SnapshotManager
      extended by org.topbraidcomposer.gef.graph.snapshots.GraphSnapshotManager

public class GraphSnapshotManager
extends SnapshotManager


Constructor Summary
GraphSnapshotManager(GraphViewer viewer, AbstractGEFPage page, java.util.Collection initialSnapshots, org.eclipse.jface.action.IToolBarManager toolBarManager)
           
 
Method Summary
protected  boolean canCreateSnapshot()
           
protected  ISnapshot createSnapshot(java.lang.String name)
           
protected  java.lang.String getSuggestedSnapshotName()
           
protected  void removeSnapshot(ISnapshot snapshot)
           
 
Methods inherited from class org.topbraidcomposer.gef.snapshots.SnapshotManager
addSnapshot, deleteSnapshot, getUniqueName, getViewer, postRestore, restoreSnapshot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphSnapshotManager

public GraphSnapshotManager(GraphViewer viewer,
                            AbstractGEFPage page,
                            java.util.Collection initialSnapshots,
                            org.eclipse.jface.action.IToolBarManager toolBarManager)
Method Detail

canCreateSnapshot

protected boolean canCreateSnapshot()
Overrides:
canCreateSnapshot in class SnapshotManager

createSnapshot

protected ISnapshot createSnapshot(java.lang.String name)
Specified by:
createSnapshot in class SnapshotManager

getSuggestedSnapshotName

protected java.lang.String getSuggestedSnapshotName()
Specified by:
getSuggestedSnapshotName in class SnapshotManager

removeSnapshot

protected void removeSnapshot(ISnapshot snapshot)
Specified by:
removeSnapshot in class SnapshotManager