Construct a new document context.
Readonly
sessionThe client session object associated with the context.
Protected
translatorReadonly
urlThe url resolver for the context.
Protected
canWhether the document can be saved via the Contents API.
Test whether the context is disposed.
Whether the context is ready.
Configurable margin used to detect document modification conflicts, in milliseconds
Configurable margin used to detect document modification conflicts, in milliseconds
The current local path associated with the document. If the document is in the default notebook file browser, this is the same as the path.
The current path associated with the document.
A signal emitted on the start and end of a saving operation.
Add a sibling widget to the document manager.
The widget to add to the document manager.
The desired options for adding the sibling.
A disposable used to remove the sibling if desired.
It is assumed that the widget has the same model and context as the original widget.
Create a checkpoint for the file.
List available checkpoints for a file.
An implementation of a document context.
This class is typically instantiated by the document manager.