Construct a new document context.
Private
_conflictPrivate
_contentsPrivate
_dialogsPrivate
_disposedPrivate
_factoryPrivate
_filePrivate
_isPrivate
_isPrivate
_isPrivate
_lastPrivate
_linePrivate
_managerPrivate
_modelPrivate
_openerOptional
options: IOpenOptionsPrivate
_pathPrivate
_pathPrivate
_populatedPrivate
_readyPrivate
_savePrivate
_transReadonly
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.
Private
_createPrivate
_finishPrivate
_handleHandle a save/load error with a dialog.
Private
_maybePrivate
_maybePrivate
_maybePrivate
_onHandle a change on the contents manager.
Private
_onHandle a change to a session property.
Private
_populatePrivate
_raisePrivate
_renamePrivate
_revertPrivate
_savePrivate
_updatePrivate
_updateAdd 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.